mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-06-05 20:15:31 -04:00
b2416ff0db
- Replace single `<ViewTransition>` wrapper in layout with `FadeTransition` and `DirectionalTransition` components applied per page - Add `components/page-transition.tsx` with reusable transition wrappers - Expand view transition CSS with named classes: fade, slide, nav-forward/back, morph, text-morph, scale — all driven by CSS custom property durations - Use React `<ViewTransition name=... share="text-morph">` for shared note title element between list and detail views - Wrap comments suspense boundary with enter/exit slide transitions - Add `persistent-nav` and `persistent-footer` view-transition-name groups to keep chrome static during navigation - Fix reduced-motion override to target delay and duration instead of `animation: none` - Add tracking-tight and letter-spacing tweaks to home page typography
28 lines
691 B
TypeScript
28 lines
691 B
TypeScript
import Link from "next/link";
|
|
|
|
import siteConfig from "@/lib/config/site";
|
|
|
|
const Footer = () => (
|
|
<footer
|
|
style={{ viewTransitionName: "persistent-footer" }}
|
|
className="text-muted-foreground border-border mt-8 w-full border-t py-6 text-xs leading-loose"
|
|
>
|
|
All content is licensed under{" "}
|
|
<Link href="/license" className="underline underline-offset-4">
|
|
{siteConfig.license}
|
|
</Link>
|
|
. View source on{" "}
|
|
<a
|
|
href={`https://github.com/${process.env.NEXT_PUBLIC_GITHUB_REPO}`}
|
|
target="_blank"
|
|
rel="noopener noreferrer"
|
|
className="underline underline-offset-4"
|
|
>
|
|
GitHub
|
|
</a>
|
|
.
|
|
</footer>
|
|
);
|
|
|
|
export { Footer };
|