13vaults/layouts/basic.tsx

65 lines
4.0 KiB
XML

import Link from "next/link";
export default function BasicLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<div className="min-h-screen flex flex-col">
<header>
<div className="bg-neutral-800 px-8 py-2 text-white">
<div className="mx-auto flex xl:max-w-7xl max-w-6xl items-center justify-center">
<h1 className="font-display text-3xl font-black">
<Link href="/">
<span className="sr-only">13 Vaults</span>
<svg
xmlns="http://www.w3.org/2000/svg"
fill="currentColor"
className="h-6 sm:hidden"
viewBox="0 0 60 34"
>
<path
fillRule="evenodd"
d="M3.7 30.7V16.9l1-3-2.8.7H0v-5l9.5-1.3.3 1.9-.3 3.1.5 13.9-.5 3.5H3.7Zm16.7.3a27.2 27.2 0 0 1-3.6-.3L13 29l-.4-6.8 2 1.8 6.2 1.8c1.2 0 2-.2 2.6-.6.5-.5.8-1 .8-1.6 0-.6-.2-1-.6-1.2-.4-.3-1-.4-2-.4h-3.8l-4-5h7.5c.7 0 1.2-.2 1.6-.5.5-.3.7-.7.7-1.3 0-.6-.2-1-.6-1.3a3 3 0 0 0-1.7-.5 13.8 13.8 0 0 0-5.5 1.1l-1.9.7-2.6-5.8 2.6.5a16 16 0 0 1 4.6-1.5c1-.2 2.2-.3 3.5-.3 2.3 0 4 .5 5.3 1.6 1.2 1 1.8 2.5 1.8 4.4a5 5 0 0 1-.7 2.7 6 6 0 0 1-1.4 1.7 5.2 5.2 0 0 1 3 5c.1 5-3.1 7.6-9.5 7.6Zm17.9 3-7.8-22.6.4-3.3-1.7-3.2L26 0l11.4 4.9 6 21.6.4 2.6.5-2.6 6-21.6L47 1.6h9.8L60 5l-3 6.5L49.5 34H38.3Z"
/>
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
fill="currentColor"
className="hidden h-6 sm:block"
viewBox="0 0 152 34"
>
<path
fillRule="evenodd"
d="m56 30.7 1.3-4.6-1.5-4.3h3.6l3-8.3-3-2.2h12.3l4.8 12.3h1l1.1 7.1h-6l-1.4-4h-7.6l-1.2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2-.4-.3-1-.4-2-.4h-3.8l-4-5h7.5c.7 0 1.2-.2 1.6-.5.5-.3.7-.7.7-1.3 0-.6-.2-1-.6-1.3a3 3 0 0 0-1.7-.5 13.8 13.8 0 0 0-5.5 1.1l-1.9.7-2.6-5.8 2.6.5a16 16 0 0 1 4.6-1.5c1-.2 2.2-.3 3.5-.3 2.3 0 4 .5 5.3 1.6 1.2 1 1.8 2.5 1.8 4.4a5 5 0 0 1-.7 2.7 6 6 0 0 1-1.4 1.7 5.2 5.2 0 0 1 3 5c.1 5-3.1 7.6-9.5 7.6Zm17.9 3-7.8-22.6.4-3.3-1.7-3.2L26 0l11.4 4.9 6 21.6.4 2.6.5-2.6 6-21.6L47 1.6h9.8L60 5l-3 6.5L49.5 34H38.3Z"
/>
</svg>
</Link>
</h1>
</div>
</div>
</header>
<div className="flex-1">{children}</div>
<footer>
<div className="bg-sky-600 p-8 text-white">
<div className="mx-auto xl:max-w-7xl max-w-6xl">
<h1 className="text-xl font-black">13 Vaults</h1>
<div>Cool footer content</div>
</div>
</div>
<div className="bg-rose-600 p-8 text-white">
<div className="mx-auto xl:max-w-7xl max-w-6xl">
<h1 className="text-xl font-black">13 Vaults</h1>
<div>Cool footer content</div>
</div>
</div>
</footer>
</div>
);
}