themes-y2k/blocks/glitter_divider.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

7 lines
655 B
Plaintext

<hr class="border-0 my-6" role="separator" data-block-key="y2k:glitter_divider" data-variant="{{ variant|default:"sparkle" }}">
<div class="flex items-center justify-center gap-2 -mt-4 mb-4 text-accent" aria-hidden="true">
<span class="y2k-sparkle">{% if variant == "hearts" %}&lt;3{% elif variant == "chrome" %}~{% else %}*{% endif %}</span>
<span class="y2k-sparkle" style="animation-delay: 200ms">{% if variant == "hearts" %}&lt;3{% elif variant == "chrome" %}~{% else %}*{% endif %}</span>
<span class="y2k-sparkle" style="animation-delay: 400ms">{% if variant == "hearts" %}&lt;3{% elif variant == "chrome" %}~{% else %}*{% endif %}</span>
</div>