feat: some shit?
Some checks failed
Deploy to SFTP Server / build (push) Failing after 50m12s

This commit is contained in:
2024-04-07 00:29:52 +02:00
parent 96c053d5ff
commit f76477db98
11 changed files with 57 additions and 46 deletions

View File

@@ -2,10 +2,12 @@
import LanguagePicker from "../components/LanguagePicker.astro";
import { AstroFont } from "astro-font";
import Nav from "../components/Nav.astro";
import { useTranslations } from "@i18n/utils";
interface Props {
title: string;
width?: "full" | "compact";
}
const t = useTranslations(Astro.url);
const { title, width = "compact" } = Astro.props;
---
@@ -123,8 +125,14 @@ const { title, width = "compact" } = Astro.props;
<main id="main-content" class="flex flex-col mt-4xl gap-y-2xl">
<slot />
</main>
<footer class="px-4">
<footer class="px-4 flex gap-8 mb-4">
<LanguagePicker />
<a
href="https://git.max-richter.dev/max/website"
class="flex gap-2 items-center"
>
<span class="i-tabler-brand-git"></span>{t("website-source")}
</a>
</footer>
<style>
.layout-compact {