This commit is contained in:
Blboun3
2024-04-03 15:55:35 +02:00
parent ea0de50abe
commit 0fe4b9b5cf
4 changed files with 35 additions and 23 deletions

View File

@ -4,15 +4,17 @@ import Navbar from "../components/Navbar.astro";
import "../style/index.css";
---
<!DOCTYPE html>
<html lang={lang} data-theme={themeOverride ? themeOverride : undefined}>
<html lang={lang} data-theme={themeOverride ? themeOverride : undefined} class="overflow-hidden">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content={description}>
<title>{title}</title>
</head>
<body class="bg-bkg h-dvh w-full">
<body class="bg-bkg h-dvh w-full overflow-hidden">
<!--<Navbar /> -->
<slot/>
<div class="snap-mandatory snap-y">
<slot />
</div>
</body>
</html>

View File

@ -0,0 +1,3 @@
<div class="snap-center w-screen h-screen">
<slot />
</div>