Files
sweet/www/routes/recipes/_layout.tsx
T
Josh CollinsworthandMarvin Hagemeister e8d1a68b58 www: refresh home page (#2418)
Overhauls the Fresh homepage with a new design, new demos, and new
sections highlighting Fresh's capabilities.

---------

Co-authored-by: Marvin Hagemeister <marvin@deno.com>
2024-05-17 16:08:55 +02:00

23 lines
599 B
TypeScript

import { PageProps } from "$fresh/server.ts";
import { Head } from "$fresh/runtime.ts";
import Header from "$fresh/www/components/Header.tsx";
export default function Layout({ Component, state }: PageProps) {
return (
<>
<Head>
<meta name="robots" content="noindex" />
</Head>
<Header active="" title="" />
<div class="w-full max-w-screen-xl px-4">
<Component />
<p class="mt-16">
This route is used only for demo purposes;{" "}
<a href="/" class="underline">see the home page</a>.
</p>
</div>
</>
);
}