themes-y2k/blocks/marquee.ninjatpl
Alex Dunmow a86a54639a feat: convert to codeless .bnp — templates + manifest, Go/templ deleted (WO-WZ-021)
Convert the Y2K theme from a Go+templ wasm plugin to a fully codeless .bnp:
blocks/blocks.yaml + .ninjatpl, page/system templates, template overrides,
email wrapper, master pages and CSS declared in manifest.yaml. All *.go, *.templ,
*_templ.go, go.mod and go.sum deleted; schemas moved schemas/ -> blocks/.

Static parity proven 48/48 identical against the templ baseline (10 blocks x
full+empty+variant branches, 4 overrides incl. heading L1-6, email full+empty).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-04 15:10:52 +08:00

6 lines
1.3 KiB
Plaintext

<div class="y2k-marquee y2k-chrome-bg" data-block-key="y2k:marquee" data-direction="{{ direction|default:"left" }}" tabindex="0" aria-label="ticker">
<div class="y2k-marquee-track py-2 px-4 text-sm uppercase tracking-wider text-foreground" data-speed="{{ speed|default:"medium" }}">
{% if items %}{% for item in items %}<span class="inline-flex items-center gap-2"><span class="text-accent">*</span>{{ item }}</span>{% endfor %}{% for item in items %}<span class="inline-flex items-center gap-2" aria-hidden="true"><span class="text-accent">*</span>{{ item }}</span>{% endfor %}{% else %}<span class="inline-flex items-center gap-2"><span class="text-accent">*</span>now playing</span><span class="inline-flex items-center gap-2"><span class="text-accent">*</span>new drop friday</span><span class="inline-flex items-center gap-2"><span class="text-accent">*</span>subscribe to the zine</span><span class="inline-flex items-center gap-2" aria-hidden="true"><span class="text-accent">*</span>now playing</span><span class="inline-flex items-center gap-2" aria-hidden="true"><span class="text-accent">*</span>new drop friday</span><span class="inline-flex items-center gap-2" aria-hidden="true"><span class="text-accent">*</span>subscribe to the zine</span>{% endif %}
</div>
</div>