fix layout imports

This commit is contained in:
chark1es 2024-12-21 03:23:34 -08:00
parent 24b796b330
commit a83d1cd200

View file

@ -1,5 +1,5 @@
--- ---
import Navbar from "../components/Navbar.astro"; import Navbar from "../components/core/Navbar.astro";
--- ---
<!doctype html> <!doctype html>
@ -12,23 +12,23 @@ import Navbar from "../components/Navbar.astro";
<title>Astro Basics</title> <title>Astro Basics</title>
</head> </head>
<Navbar />
<body class="bg-bg_primary relative"> <body class="bg-bg_primary relative">
<!-- Gradient overlay --> <Navbar />
<div <div
class="fixed top-0 left-0 w-full h-full bg-gradient-radial from-top_gradient/80 to-transparent pointer-events-none z-[-10]" class="fixed top-0 left-0 w-full h-full bg-gradient-radial from-top_gradient/80 to-transparent pointer-events-none z-[-10]"
> >
</div> </div>
<main class="w-[98%] mx-auto">
<slot /> <slot />
</main>
</body> </body>
</html>
<style> <style>
html, html,
body { body {
margin: 0; margin: 0;
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
</style> </style>
</html>