1import type { ReactNode } from "react";
2import { Link } from "waku";
3
4// Global stylesheet — Tailwind CSS v4, compiled by the @tailwindcss/vite
5// plugin registered in waku.config.ts.
6import "../styles.css";
7
8export default function Layout({ children }: { children: ReactNode }) {
9 return (
10 <div className="mx-auto max-w-2xl p-8">
11 <nav className="mb-6 flex gap-4 font-medium underline">
12 <Link to="/">Home</Link> <Link to="/about">About</Link>
13 </nav>
14 {children}
15 </div>
16 );
17}
18
19export const getConfig = async () => ({ render: "static" }) as const;