themes-pastel-dream/blocks/affirmation.ninjatpl
Alex Dunmow 5dfc1cd4be 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:27:47 +08:00

11 lines
966 B
Plaintext

<section class="relative py-16 overflow-hidden animate-pastel-shimmer" style="background-image: linear-gradient(90deg, hsl(var(--background)) 0%, {% if palette == "mint" %}hsl(var(--secondary) / 0.55){% elif palette == "butter" %}hsl(var(--accent) / 0.55){% elif palette == "sky" %}hsl(var(--secondary) / 0.40){% else %}hsl(var(--primary) / 0.35){% endif %} 50%, hsl(var(--background)) 100%);" data-block="pastel-dream:affirmation" data-palette="{% if palette == "mint" or palette == "butter" or palette == "sky" %}{{ palette }}{% else %}blush{% endif %}">
<div class="relative z-10 max-w-3xl mx-auto px-6 text-center">
<p class="font-display text-3xl md:text-4xl leading-snug" style="color: hsl(var(--foreground));">
&ldquo;{{ quote|default:"You are doing enough." }}&rdquo;
</p>
{% if author %}<p class="font-body mt-4 text-sm uppercase tracking-[0.2em]" style="color: hsl(var(--muted-foreground));">
{{ author }}
</p>{% endif %}
</div>
</section>