- Article title no longer rendered twice: seed article pages drop the duplicate level-1 heading block; the article template's page <h1> is the sole title. - Home dead gap resolved: landing sections divided by a hard 4px rule. The CMS wraps each block in its own <div data-block-id>, so the divider adjacency now targets the block wrappers ([data-block-id]+[data-block-id] .bru-section), not the (non-sibling) sections; landing section padding reduced 4rem->3rem. - SVG geometry guard completed: explicit width/height on every <use> icon SVG, including the 5 testimonial star ratings the earlier regex missed (the ">=" in their class conditional). - Seed quality: HARDSET site title hardset; article expanded to ~9 hard-edged paragraphs to kill the below-article void. - Fresh 2880x1800 light+dark captures for home/about/article; preview = home-light. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
26 lines
2.5 KiB
Plaintext
26 lines
2.5 KiB
Plaintext
{# brutalist pricing override — bordered tier slabs, highlighted tier gets accent band. Fields: heading, intro, currency, billingNote, tiers[] (highlighted, badge, name, price, period, description, features[], ctaUrl, ctaLabel). #}
|
|
<section class="bru-section bg-background text-foreground{% if class %} {{ class }}{% endif %}">
|
|
<div class="bru-wrap">
|
|
{% if heading %}<h2 class="bru-kicker text-center" style="font-size:clamp(1.75rem,4vw,3rem)">{{ heading }}</h2>{% endif %}
|
|
{% if intro %}<p class="mx-auto mt-4 text-center text-lg text-muted-foreground" style="max-width:44rem">{{ intro }}</p>{% endif %}
|
|
<div class="mt-12 grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3">
|
|
{% for tier in tiers %}
|
|
<div class="relative flex flex-col p-6 {% if tier.highlighted %}bru-slab bru-shadow{% else %}bru-slab bru-shadow-sm{% endif %}"{% if tier.highlighted %} style="background:hsl(var(--accent));color:hsl(var(--accent-foreground))"{% endif %}>
|
|
{% if tier.badge %}<span class="bru-tag absolute -top-4 left-6">{{ tier.badge }}</span>{% endif %}
|
|
<h3 class="bru-kicker" style="font-size:1.25rem">{{ tier.name }}</h3>
|
|
<p class="mt-4 flex items-baseline gap-1">
|
|
<span class="bru-index" style="font-size:2.75rem;line-height:1">{% if currency %}{{ currency }}{% else %}${% endif %}{{ tier.price }}</span>
|
|
{% if tier.period %}<span class="bru-meta {% if tier.highlighted %}opacity-80{% else %}text-muted-foreground{% endif %}">{{ tier.period }}</span>{% endif %}
|
|
</p>
|
|
{% if tier.description %}<p class="mt-3 text-sm {% if tier.highlighted %}opacity-90{% else %}text-muted-foreground{% endif %}">{{ tier.description }}</p>{% endif %}
|
|
{% if tier.features %}<ul class="mt-6 flex-1 space-y-3 text-sm">
|
|
{% for feature in tier.features %}<li class="flex items-start gap-2"><svg width="16" height="16" class="mt-0.5 h-4 w-4 shrink-0 {% if tier.highlighted %}text-accent-foreground{% else %}text-accent{% endif %}" aria-hidden="true"><use href="/icons/lucide.svg#check"></use></svg><span>{{ feature }}</span></li>{% endfor %}
|
|
</ul>{% endif %}
|
|
{% if tier.ctaUrl and tier.ctaLabel %}<a href="{{ tier.ctaUrl }}" class="bru-btn mt-8 w-full justify-center {% if tier.highlighted %}bru-btn-ghost{% else %}bru-btn-solid{% endif %}">{{ tier.ctaLabel }}</a>{% endif %}
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
{% if billingNote %}<p class="mt-8 text-center bru-meta text-muted-foreground">{{ billingNote }}</p>{% endif %}
|
|
</div>
|
|
</section>
|