Finalized
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
---
|
||||
import { ClientRouter } from "astro:transitions";
|
||||
import NavigationBar from "../components/NavigationBar";
|
||||
import ScrollUpButton from "../components/ScrollUpButton";
|
||||
const currentPath = Astro.url.pathname;
|
||||
import '../styles/global.css';
|
||||
---
|
||||
@@ -12,12 +14,13 @@ import '../styles/global.css';
|
||||
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
|
||||
<meta name="generator" content={Astro.generator} />
|
||||
<title>Atridad Lahiji</title>
|
||||
<ClientRouter />
|
||||
</head>
|
||||
<body class="flex flex-col min-h-screen">
|
||||
<main class="flex-grow flex flex-col gap-4 items-center justify-center">
|
||||
<slot />
|
||||
</main>
|
||||
<NavigationBar currentPath={currentPath} />
|
||||
<!-- <ScrollUpButton /> -->
|
||||
<NavigationBar client:load currentPath={currentPath} />
|
||||
<ScrollUpButton client:load />
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user