themes-corporate-modernist/blocks/case_study_card.ninjatpl
Alex Dunmow 3207394c38 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:26:48 +08:00

2 lines
775 B
Plaintext

<article class="cm-card cm-card-accent" data-block="corporate-modernist:case_study_card">{% if client %}<div class="cm-stat-label" style="margin: 0 0 0.75rem 0;">{{ client }}</div>{% endif %}{% if metric %}<div class="cm-metric" data-figure>{{ metric }}</div>{% else %}<div class="cm-metric" data-figure>—</div>{% endif %}{% if label %}<div class="cm-stat-label" style="margin-top: 0.5rem;">{{ label }}</div>{% endif %}{% if summary %}<p class="cm-text" style="margin: 1.25rem 0 0 0;">{{ summary }}</p>{% endif %}{% if href.label or href.text or href.href or href.url %}<div style="margin-top: 1.5rem;"><a class="cm-btn-outline" href="{{ href.href|default:href.url|default:"#" }}">{{ href.label|default:href.text|default:"Read case study" }}</a></div>{% endif %}</article>