We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ba8388 commit 42983deCopy full SHA for 42983de
src/layouts/BaseLayout.astro
@@ -3,6 +3,7 @@ import "@fontsource-variable/jetbrains-mono";
3
import "./app.css";
4
import Footer from "~/components/Footer.astro";
5
import Navbar from "~/components/Navbar";
6
+import { ClientRouter } from "astro:transitions";
7
8
interface Props {
9
title?: string;
@@ -25,10 +26,11 @@ const {
25
26
<title>{title}</title>
27
<meta name="description" content={description} />
28
<slot name="head" />
29
+ <ClientRouter />
30
</head>
31
<body>
- <Navbar client:idle />
32
+ <Navbar client:load />
33
<slot />
- <Footer />
34
+ <Footer transition:persist="footer" />
35
</body>
36
</html>
0 commit comments