Alex Dunmow 4aeddfe352 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:32:18 +08:00

2 lines
766 B
Plaintext

<a href="{{ url|default:href|default:"#" }}" data-variant="{{ variant|default:"primary" }}" class="earthen-button inline-flex items-center justify-center px-6 py-3 rounded-lg font-semibold transition-colors focus:outline-none" style="{% if variant == "secondary" %}background-color: hsl(var(--secondary)); color: hsl(var(--secondary-foreground)); border: 1px solid hsl(var(--border));{% elif variant == "ghost" %}background-color: transparent; color: hsl(var(--primary)); border: 1.5px dashed hsl(var(--primary) / 0.6);{% elif variant == "destructive" %}background-color: hsl(var(--destructive)); color: hsl(var(--destructive-foreground));{% else %}background-color: hsl(var(--accent)); color: hsl(var(--accent-foreground));{% endif %}">{{ label|default:text }}</a>