From 315fc1564d49d8f6b9d534d2f06bd63467437b08 Mon Sep 17 00:00:00 2001 From: Julien Oculi Date: Tue, 13 Feb 2024 14:04:10 +0100 Subject: [PATCH] feat: :children_crossing: use fresh partial to add spa like navigation --- routes/_app.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/routes/_app.tsx b/routes/_app.tsx index 985eb4c..d332e75 100644 --- a/routes/_app.tsx +++ b/routes/_app.tsx @@ -1,4 +1,4 @@ -import { asset, Head } from '$fresh/runtime.ts' +import { asset, Head, Partial } from '$fresh/runtime.ts' import { type PageProps } from '$fresh/server.ts' import { Footer } from '../components/Footer.tsx' import { Header } from '../components/Header.tsx' @@ -31,8 +31,10 @@ export default function App({ Component }: PageProps) {
-
- +
+ + +