T45c Site · Home: a full-screen hero, five live features beside their miniatures, counts on the beat, the chapters as a city, a closing call; smooth scroll, reveals from scroll, a fade between routes; the OG image from the new hero

This commit is contained in:
ZacharyZhang-NY committed 2026-10-01 08:38:05 -04:00
1 parent 7fd05df4dc
commit b47f2267e4
10 files changed
+355 -49

No files matched your search

+10
View File
@@ -1,6 +1,10 @@
import { Link, Outlet } from "@tanstack/react-router";
import Lenis from "lenis";
import "lenis/dist/lenis.css";
import { useEffect } from "react";
import { REPO } from "./data";
import { Icon } from "./icons";
import { useStill } from "./iso/Iso";
import { setSound, useSound } from "./iso/marimba";
import { setMode, useMode } from "./theme";
@@ -53,6 +57,12 @@ function Footer() {
}
export function Shell() {
const still = useStill();
useEffect(() => {
if (still) return;
const lenis = new Lenis({ autoRaf: true });
return () => lenis.destroy();
}, [still]);
return (
<>
<a className="skip" href="#main">