Remaped imports to prepare for new content handling

This commit is contained in:
Kevin FEDYNA
2025-01-15 11:20:48 +01:00
parent 55cf175181
commit ed2997d51f
16 changed files with 74 additions and 17 deletions
+4 -7
View File
@@ -1,8 +1,7 @@
import { FreshContext } from "$fresh/server.ts";
import { Partial } from "$fresh/runtime.ts";
import { State } from "./_middleware.ts";
import Header from "./(_components)/Header.tsx";
import Footer from "./(_components)/Footer.tsx";
import { State } from "$root/routes/_middleware.ts";
import Header from "$root/routes/(_components)/Header.tsx";
import Footer from "$root/routes/(_components)/Footer.tsx";
// deno-lint-ignore require-await
export default async function App(
@@ -24,9 +23,7 @@ export default async function App(
<body f-client-nav>
<Header link={link} />
<section>
<Partial name="body">
<context.Component />
</Partial>
<context.Component />
</section>
<Footer />
</body>