- hero: read styled-text fields as `field|get:"text"|default:field` so the home hero renders (bare-string seed values were hard-erroring the block to empty output — the "weird af header" root cause; page jumped navbar→audio). - light-mode: add a background-token radial scrim behind the hero headline (lightens the centre in light, darkens in dark) for legible text over the mesh. - seed media: ship 6 licensed stock images; wire 4 as Records cover art (chrome-liquid-metal/holographic-foil/abstract-neon/cassette) + the waveform now-playing cover (neon-rave) + a chrome image on About. - waveform: replace the "No audio source set yet." placeholder with a deliberate "SIDE A // live to tape" mono transport readout. - fonts: @font-face Orbitron/Inter/Share Tech Mono from /templates/y2k/fonts/* + typography refs in all presets (bundled fonts were inert dead code). - article: expand tracking-to-tape to 10 band-journal paragraphs (kills the ~350px blog dead space). - SVG geometry guard: explicit width/height on every sprite <use> icon + replace ::icon:: shortcodes with sized <svg> (Tailwind JIT balloon guard). - capture Wave B screenshots (home/about/article × light+dark, 2880×1800); preview.png = dark home (dark-canonical theme). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
17 lines
2.3 KiB
Plaintext
17 lines
2.3 KiB
Plaintext
{# cta y2k override: scanline overlay, glitch heading, clip-cut rgb-split CTAs. All field reads preserved. #}
|
|
<section class="relative overflow-hidden py-16 md:py-24 bg-background text-foreground{% if class %} {{ class }}{% endif %}">
|
|
<div aria-hidden="true" class="scanlines pointer-events-none absolute inset-0"></div>
|
|
<div class="relative z-10 mx-auto max-w-6xl px-4">
|
|
<div class="hud-frame {% if background == "band" %}clip-cut rounded-md bg-primary px-6 py-14 text-center text-primary-foreground md:px-12{% elif background == "card" %}rounded-md border border-primary/50 bg-card px-6 py-14 text-center text-card-foreground neon-edge-magenta md:px-12{% else %}flex flex-col items-center gap-8 rounded-md border border-primary/30 bg-muted px-6 py-12 text-foreground md:flex-row md:justify-between md:px-12 md:text-left{% endif %}">
|
|
<div class="{% if background != "split" %}mx-auto max-w-2xl{% endif %}">
|
|
{% if heading %}<h2 class="y2k-display glitch text-3xl font-semibold tracking-tight md:text-4xl" data-text="{{ heading }}">{{ heading }}</h2>{% endif %}
|
|
{% if text %}<p class="mt-3 text-lg {% if background == "band" %}text-primary-foreground/80{% else %}text-muted-foreground{% endif %}">{{ text }}</p>{% endif %}
|
|
</div>
|
|
<div class="flex flex-wrap items-center justify-center gap-3 {% if background != "split" %}mt-8{% else %}shrink-0{% endif %}">
|
|
{% if primaryUrl and primaryLabel %}<a href="{{ primaryUrl }}" class="y2k-mono clip-cut rgb-split inline-flex items-center gap-2 rounded-md px-6 py-3 font-semibold uppercase tracking-wider transition-opacity hover:opacity-90 {% if background == "band" %}bg-background text-foreground{% else %}bg-primary text-primary-foreground{% endif %}">{{ primaryLabel }}<svg width="16" height="16" class="h-4 w-4" aria-hidden="true"><use href="/icons/lucide.svg#arrow-right"></use></svg></a>{% endif %}
|
|
{% if secondaryUrl and secondaryLabel %}<a href="{{ secondaryUrl }}" class="y2k-mono inline-flex items-center rounded-md border px-6 py-3 font-semibold uppercase tracking-wider transition-colors {% if background == "band" %}border-primary-foreground/40 text-primary-foreground hover:bg-primary-foreground/10{% else %}border-accent/60 text-accent hover:bg-accent/10{% endif %}">{{ secondaryLabel }}</a>{% endif %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|