- Updated BackgroundImage.astro to format props for better readability. - Adjusted FightTable.svelte to remove unnecessary trailing commas. - Modified GroupTable.svelte to fix sorting syntax. - Cleaned up LanguageWarning.astro by standardizing import statements. - Enhanced Login.svelte for better formatting and readability. - Simplified Navbar.svelte by merging multi-line attributes into single lines. - Streamlined PostComponent.astro by condensing Image component props. - Improved SearchComponent.svelte for consistent spacing and formatting. - Refined TagComponent.astro for better readability and structure. - Updated PageLayout.astro to simplify div structure. - Enhanced downloads.astro for improved readability and consistency. - Cleaned up index.astro in help directory for better formatting. - Refactored index.astro in main pages for improved readability. - Standardized login.astro for better formatting. - Cleaned up not-found.astro for consistent import formatting. - Enhanced [...schem].astro for better readability. - Refactored [mode].astro for consistent import formatting. - Improved [...gamemode].astro for better readability. - Cleaned up [mode].astro in regeln directory for consistent formatting. - Refactored index.astro in regeln directory for improved readability. - Enhanced fight.astro for consistent import formatting.
32 lines
956 B
Plaintext
32 lines
956 B
Plaintext
---
|
|
import NavbarLayout from "./NavbarLayout.astro";
|
|
import BackgroundImage from "../components/BackgroundImage.astro";
|
|
|
|
const { title, description, wide = false } = Astro.props;
|
|
---
|
|
|
|
<NavbarLayout title={title} description={description}>
|
|
<slot name="head" slot="head" />
|
|
<div class="h-screen w-screen fixed -z-10">
|
|
<BackgroundImage />
|
|
</div>
|
|
<div class="sw-page-content" style={wide ? "width: clamp(80%, 75em, 100%);" : "width: min(100%, 75em);"}>
|
|
<slot />
|
|
</div>
|
|
</NavbarLayout>
|
|
|
|
<style>
|
|
.sw-page-content {
|
|
margin: 0 auto;
|
|
padding: 3.5rem 2rem 2rem;
|
|
position: relative;
|
|
color: #f5f5f5;
|
|
background: rgba(8, 8, 8, 0.88);
|
|
backdrop-filter: blur(24px);
|
|
border-left: 1px solid rgba(255, 255, 255, 0.04);
|
|
border-right: 1px solid rgba(255, 255, 255, 0.04);
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.04);
|
|
min-height: 60vh;
|
|
}
|
|
</style>
|