Alex Dunmow 1a6cc30202 feat: convert to codeless .bnp — templates + manifest, Go/templ deleted (WO-WZ-021)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-04 15:30:42 +08:00

2 lines
461 B
Plaintext

{% if url %}<a href="{{ url }}" class="kraft-tag {% if variant == "secondary" %}bg-secondary text-secondary-foreground{% elif variant == "destructive" %}bg-destructive text-destructive-foreground{% endif %}">{{ text }}</a>{% else %}<button type="button" class="kraft-tag {% if variant == "secondary" %}bg-secondary text-secondary-foreground{% elif variant == "destructive" %}bg-destructive text-destructive-foreground{% endif %}">{{ text }}</button>{% endif %}