1import type { ReactNode } from "react";
2import { Link } from "waku";
3import { NavCounter } from "../components/NavCounter.tsx";
4
5export default function Layout({ children }: { children: ReactNode }) {
6 return (
7 <div>
8 <nav>
9 <Link to="/">Home</Link> <Link to="/about">About</Link>
10 <NavCounter />
11 </nav>
12 <span data-testid="layout-marker">LAYOUT_MARKER</span>
13 {children}
14 </div>
15 );
16}
17
18export const getConfig = async () => ({ render: "static" }) as const;