aktueller stand

This commit is contained in:
torbinus
2026-09-17 16:02:51 +02:00
parent 7e51514383
commit 065cb8b64f
295 changed files with 642342 additions and 1059 deletions
+60
View File
@@ -0,0 +1,60 @@
---
interface Props {
label: string;
title: string;
lede?: string;
/** Optional photo used as a full-bleed backdrop instead of the textured
* cream ground. */
image?: string;
imageAlt?: string;
}
const { label, title, lede, image, imageAlt = "" } = Astro.props;
const dark = Boolean(image);
---
<!--
Shared page header. Subpages previously opened directly on a section
heading, which made every one of them start at the same visual altitude as
its own body copy. This gives each page one clear entry point.
-->
<section
class:list={[
"brand-section relative overflow-hidden",
dark ? "bg-brand-ink" : "honeycomb-bg",
]}
>
{image ? (
<img
src={image}
alt={imageAlt}
class="absolute inset-0 h-full w-full object-cover opacity-45"
aria-hidden={imageAlt === "" ? "true" : undefined}
/>
) : null}
{image ? (
<div
class="absolute inset-0 bg-gradient-to-r from-brand-ink via-brand-ink/80 to-brand-ink/40"
aria-hidden="true"
>
</div>
) : null}
<div class="relative mx-auto max-w-[84rem] px-[var(--gutter)] pt-36 pb-16 sm:pt-44 sm:pb-24">
<span class:list={["reveal section-label", dark && "section-label-light"]}>{label}</span>
<h1
class:list={["reveal mt-6 max-w-[16ch]", dark ? "text-white" : "text-brand-ink"]}
style="--delay: 0.08s"
>
{title}
</h1>
{lede && (
<p
class:list={["reveal lede mt-7", dark ? "text-white/70" : "text-brand-text"]}
style="--delay: 0.16s"
>
{lede}
</p>
)}
</div>
</section>