done language switching

This commit is contained in:
2024-04-07 11:11:04 +02:00
parent 00daf4222a
commit d5026cfc05
28 changed files with 1650 additions and 96 deletions

View File

@ -2,6 +2,7 @@
const { title, description, lang, themeOverride } = Astro.props;
import Navbar from "../components/Navbar.astro";
import "../style/index.css";
import "../style/globals.css";
---
<!doctype html>
@ -10,10 +11,11 @@ import "../style/index.css";
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content={description} />
<link rel="shortcut icon" href="/favicon.svg">
<title>{title}</title>
</head>
<body class="bg-bkg" >
<!--<Navbar /> -->
<Navbar />
<div class="bg-bkg h-dvh w-full overflow-y-scroll snap-mandatory snap-y scroll-smooth">
<slot />
</div>

View File

@ -1,7 +1,7 @@
<div class="snap-start w-screen h-screen overflow-clip">
<div class="snap-start w-screen h-screen overflow-clip pt-10">
<div class="bg-bkg h-full w-full sm:grid sm:grid-cols-6 lg:grid-cols-12">
<div
class="sm:col-start-2 sm:col-end-6 lg:col-start-3 lg:col-end-11 h-full p-2 sm:p-6"
class="sm:col-start-2 sm:col-end-6 lg:col-start-3 lg:col-end-11 2xl:col-start-4 2xl:col-end-10 h-full p-2 sm:p-6"
>
<slot />
</div>