main
Elias Almqvist 8 months ago
parent bae9d2d415
commit a09f0a0ca6
No known key found for this signature in database
GPG Key ID: E31A99CE3E75A158
  1. 6
      src/app/page.tsx
  2. 8
      src/components/age.tsx

@ -42,10 +42,10 @@ export default function Home() {
<ILink href="https://rembr.co" target="_blank"> <ILink href="https://rembr.co" target="_blank">
ingenuity ingenuity
</ILink> </ILink>
. Most of my projects are open-source, and if you are . Some of my projects are open-source (FOSS), and if you are
interested, you can find all of my projects on my{" "} interested, you can find them on my{" "}
<ILink href="https://git.wych.dev/elal" target="_blank"> <ILink href="https://git.wych.dev/elal" target="_blank">
git-server self-hosted git-server
</ILink>{" "} </ILink>{" "}
or{" "} or{" "}
<ILink href="https://github.com/almqv" target="_blank"> <ILink href="https://github.com/almqv" target="_blank">

@ -58,12 +58,18 @@ const FormatBigNumber: React.FC<FormatBigNumberProps> = ({
const formattedBase = base.toFixed(precision); const formattedBase = base.toFixed(precision);
const suffix = suffixes[exponent]; const suffix = suffixes[exponent];
if (base) {
return ( return (
<span className={cn("inline-flex flex-row space-x-0.5 mr-0.5", className)}> <span
className={cn("inline-flex flex-row space-x-0.5 mr-0.5 pointer-events-none", className)}
>
<span className="inline-block">{formattedBase}</span> <span className="inline-block">{formattedBase}</span>
<span className="inline-block">{suffix}</span> <span className="inline-block">{suffix}</span>
</span> </span>
); );
} else {
return null;
}
}; };
type AgeHCyclesDisplayProps = { type AgeHCyclesDisplayProps = {

Loading…
Cancel
Save