style: Improve code formatting and readability across multiple components
All checks were successful
SteamWarCI Build successful

This commit is contained in:
2025-05-07 14:33:48 +02:00
parent b3598e1ee1
commit 6377799e1b
7 changed files with 169 additions and 141 deletions

View File

@@ -2,16 +2,16 @@
import NavbarLayout from "./NavbarLayout.astro";
import BackgroundImage from "../components/BackgroundImage.astro";
const {title, description} = Astro.props;
const { title, description } = Astro.props;
---
<NavbarLayout title={title} description={description}>
<slot name="head" slot="head"/>
<slot name="head" slot="head" />
<div class="h-screen w-screen fixed -z-10">
<BackgroundImage />
</div>
<div class="mx-auto bg-gray-100 p-8 rounded-b-md shadow-md pt-14 relative
dark:text-white dark:bg-neutral-900" style="width: min(100%, 75em);">
<slot/>
<div class="mx-auto p-8 rounded-b-md border-x-gray-100 shadow-md pt-14 relative
text-white backdrop-blur-3xl" style="width: min(100%, 75em);">
<slot />
</div>
</NavbarLayout>
</NavbarLayout>