diff --git a/src/app/page.tsx b/src/app/page.tsx
index a18ab64..5d77dfd 100644
--- a/src/app/page.tsx
+++ b/src/app/page.tsx
@@ -1,6 +1,7 @@
import ThingCurve from "@/components/3d/curves/thing";
import RenderedSection from "@/components/3d/renderedsection";
import AgeHCyclesDisplay from "@/components/age";
+import ExternalNav from "@/components/externalnav";
import fonts from "@/components/fonts";
import ILink from "@/components/ilink";
import {
@@ -14,12 +15,12 @@ import { cn } from "@/lib/utils";
export default function Home() {
return (
- <>
+
@@ -30,12 +31,13 @@ export default function Home() {
{
}{" "}
- hydrogen-line-cycles old{" "}
- human- founder, engineer, and
- hacker with a passion for CS, physics, and mathematics.
+ hydrogen-line-cycles {" "}
+ (± 2 MHz) {" "}
+ old human- founder, engineer,
+ and hacker with a passion for CS, physics, and mathematics.
Currently working on{" "}
@@ -54,10 +56,12 @@ export default function Home() {
.
- {/* */}
+
+
+
- >
+
);
}
diff --git a/src/components/3d/curves/thing.ts b/src/components/3d/curves/thing.ts
index fc53530..720f0f1 100644
--- a/src/components/3d/curves/thing.ts
+++ b/src/components/3d/curves/thing.ts
@@ -72,7 +72,7 @@ const ThingCurve = {
},
particles: {
max: maxParticles,
- size: 0.1,
+ size: 0.07,
color: "#888",
darkcolor: "#444",
opacity: 0.4,
diff --git a/src/components/3d/renderedsection.tsx b/src/components/3d/renderedsection.tsx
index ead6b4c..93be404 100644
--- a/src/components/3d/renderedsection.tsx
+++ b/src/components/3d/renderedsection.tsx
@@ -20,7 +20,7 @@ const RenderedSection: React.FC<
...props
}) => {
return (
-
+
diff --git a/src/components/age.tsx b/src/components/age.tsx
index 67b1bae..c75c630 100644
--- a/src/components/age.tsx
+++ b/src/components/age.tsx
@@ -28,28 +28,52 @@ const FormatBigNumber: React.FC
= ({
}) => {
const suffixes = [
"",
- "K",
- "M",
- "Bn",
- "T",
- "Q",
- "Qt",
- "Sx",
- "Sp",
- "O",
- "N",
- "D",
- "Ud",
- "Dd",
- "Td",
- "Qad",
- "Qid",
- "Sd",
- "Sed",
- "Od",
- "Nod",
- "Vg",
+ "thousand",
+ "million",
+ "billion",
+ "trillion",
+ "quadrillion",
+ "quintillion",
+ "sextillion",
+ "septillion",
+ "octillion",
+ "nonillion",
+ "decillion",
+ "undecillion",
+ "duodecillion",
+ "tredecillion",
+ "quattuordecillion",
+ "quindecillion",
+ "sexdecillion",
+ "septendecillion",
+ "octodecillion",
+ "novemdecillion",
+ "vigintillion",
];
+ // const suffixes = [
+ // "",
+ // "K",
+ // "M",
+ // "Bn",
+ // "T",
+ // "Q",
+ // "Qt",
+ // "Sx",
+ // "Sp",
+ // "O",
+ // "N",
+ // "D",
+ // "Ud",
+ // "Dd",
+ // "Td",
+ // "Qad",
+ // "Qid",
+ // "Sd",
+ // "Sed",
+ // "Od",
+ // "Nod",
+ // "Vg",
+ // ];
let exponent = Math.floor(Math.log10(num) / 3);
exponent = Math.min(exponent, suffixes.length - 1);
@@ -61,7 +85,10 @@ const FormatBigNumber: React.FC = ({
if (base) {
return (
{formattedBase}
{suffix}
@@ -86,7 +113,7 @@ const AgeHCyclesDisplay: React.FC = ({
useEffect(() => {
const interval = setInterval(() => {
setCycles(secondsToHydrogenLineCycles(getAge()));
- }, 40);
+ }, 400);
return () => clearInterval(interval);
});
diff --git a/src/components/externalnav.tsx b/src/components/externalnav.tsx
new file mode 100644
index 0000000..658e195
--- /dev/null
+++ b/src/components/externalnav.tsx
@@ -0,0 +1,32 @@
+import Link from "next/link";
+import NavLinks from "./navlinks";
+import { Button } from "./ui/button";
+import { cn } from "@/lib/utils";
+
+type ExternalNavProps = {
+ className?: string;
+};
+
+const ExternalNav: React.FC = ({ className }) => (
+
+ {NavLinks.map((link, index) => (
+
+
+
+
+
+
+
+ ))}
+
+);
+
+export default ExternalNav;
diff --git a/src/components/layout/header.tsx b/src/components/layout/header.tsx
index 5045d06..fb1689c 100644
--- a/src/components/layout/header.tsx
+++ b/src/components/layout/header.tsx
@@ -7,6 +7,7 @@ import NavLinks from "../navlinks";
import NavCommand from "./nav";
import Logo from "@/components/logo";
+import ExternalNav from "../externalnav";
const Header = () => (
@@ -22,25 +23,7 @@ const Header = () => (
-
- {NavLinks.map((link, index) => (
-
-
-
-
-
-
-
- ))}
-
+
diff --git a/src/components/layout/index.tsx b/src/components/layout/index.tsx
index 5f04fd9..806dec6 100644
--- a/src/components/layout/index.tsx
+++ b/src/components/layout/index.tsx
@@ -5,7 +5,7 @@ const Layout = ({ children }: { children: React.ReactNode }) => {
return (
<>
-
+
{children}