t3-code-android-nightly/.repos/alchemy-effect/examples/cloudflare-website-vinext/app/layout.tsx
Julius Marminge 6f9cea00ae
chore(refs): sync Effect and Alchemy references to 4.0.1 and beta.80 (#16170)
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-05 13:22:30 -07:00

35 lines
748 B
TypeScript

import Link from "next/link";
import "./globals.css";
export const metadata = {
title: "vinext on Cloudflare",
};
const pageLinks = [
["/", "Home"],
["/static", "Static"],
["/isr", "Cached"],
["/use-cache", "use cache"],
["/notes", "Notes"],
] as const;
export default function RootLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<html lang="en">
<body className="bg-slate-50 p-8 text-slate-900">
<nav className="mb-8 flex flex-wrap gap-x-4 gap-y-2 text-sm">
{pageLinks.map(([href, label]) => (
<Link key={href} className="underline" href={href}>
{label}
</Link>
))}
</nav>
{children}
</body>
</html>
);
}