Got the homepage sorted
This commit is contained in:
26
src/layouts/Layout.astro
Normal file
26
src/layouts/Layout.astro
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
import NavigationBar from "../components/NavigationBar";
|
||||
const currentPath = Astro.url.pathname;
|
||||
---
|
||||
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
|
||||
<meta name="generator" content={Astro.generator} />
|
||||
<title>Atridad Lahiji</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
</body>
|
||||
<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 /> -->
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user