martials.no/src/layouts/Layout.astro
Martin Berg Alstad cb00252364
All checks were successful
Build and deploy website / build (push) Successful in 33s
🎨 Format files, Added codeberg to links,lighter colour for linkcards
2025-02-15 14:59:32 +01:00

32 lines
829 B
Plaintext

---
import Navbar from "@/components/Navbar.astro"
import Footer from "@/components/Footer.astro"
import { languageTag } from "@/paraglide/runtime"
interface Props {
title: string
class?: string
}
const { title, class: clazz } = Astro.props
---
<!doctype html>
<html lang={languageTag()} dir={"ltr"}>
<head>
<meta charset="UTF-8" />
<meta name="description" content="Astro description" />
<meta name="viewport" content="width=device-width" />
<link rel="sitemap" href="/sitemap-index.xml" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="generator" content={Astro.generator} />
<title>{title}</title>
</head>
<body class="flex flex-col h-screen">
<Navbar />
<main class:list={["grow", clazz]}>
<slot />
</main>
<Footer />
</body>
</html>