major: import Fresh 2.0 code (#2449)

🎉
This commit is contained in:
Marvin Hagemeister
2024-05-24 09:40:08 +02:00
committed by GitHub
parent 990357629e
commit 287929e4d2
958 changed files with 15794 additions and 28287 deletions
+2 -6
View File
@@ -1,13 +1,9 @@
import { PageProps } from "$fresh/server.ts";
import { Head } from "$fresh/runtime.ts";
import Header from "$fresh/www/components/Header.tsx";
import type { PageProps } from "@fresh/core";
import Header from "../../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">