- seed: real Rootline Trust content — no 'example figures' placeholder copy; home composed as split hero (hands-soil image) + stats + feature-grid + botanical divider + field note + newsletter; About gap filled with fern image + impact report between story and pull-quote; first article expanded to ~10 field-notes paragraphs with inline forest image; 6 Pixabay images seeded via seed/media (id+file+alt) - article.ninjatpl: header slot now full-bleed (was max-w-3xl wrapped — the boxed-header artifact bracketing the nav with vertical rules) - landing.ninjatpl: main slot full-bleed so composed sections span the page - SVG geometry guard: every <use>-icon svg now carries explicit width/height matching its size class (18 files) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
16 lines
2.4 KiB
Plaintext
16 lines
2.4 KiB
Plaintext
{# cta override — earthen: soft organic panel, moss band / cream card / oat split, terracotta primary button. Field reads, the background control flow and arrow <use> preserved verbatim from the builtin; only classes/style/fonts reskinned. #}
|
|
<section data-block-override="earthen:cta" class="py-12 md:py-20 bg-background text-foreground{% if class %} {{ class }}{% endif %}">
|
|
<div class="mx-auto max-w-6xl px-4">
|
|
<div class="{% if background == "band" %}earthen-blob-soft px-6 py-14 text-center md:px-12{% elif background == "card" %}earthen-panel earthen-blob-soft px-6 py-14 text-center md:px-12{% else %}earthen-blob-soft flex flex-col items-center gap-8 px-6 py-12 md:flex-row md:justify-between md:px-12 md:text-left{% endif %}"{% if background == "band" %} style="background-color:hsl(var(--primary));color:hsl(var(--primary-foreground));"{% elif background == "split" %} style="background-color:hsl(var(--muted));color:hsl(var(--foreground));"{% endif %}>
|
|
<div class="{% if background != "split" %}mx-auto max-w-2xl{% endif %}">
|
|
{% if heading %}<h2 class="text-3xl md:text-4xl font-semibold tracking-tight" style="font-family:var(--font-heading, 'Fraunces', 'Playfair Display', Georgia, serif)">{{ heading }}</h2>{% endif %}
|
|
{% if text %}<p class="mt-3 text-lg {% if background == "band" %}text-primary-foreground/80{% else %}text-muted-foreground{% endif %}" style="font-family:var(--font-body, 'Work Sans', ui-sans-serif, system-ui, sans-serif)">{{ text }}</p>{% endif %}
|
|
</div>
|
|
<div class="flex flex-wrap items-center justify-center gap-3 {% if background != "split" %}mt-8{% else %}shrink-0{% endif %}">
|
|
{% if primaryUrl and primaryLabel %}<a href="{{ primaryUrl }}" class="earthen-cta inline-flex items-center gap-2 px-6 py-3 font-semibold">{{ primaryLabel }}<svg width="16" height="16" class="h-4 w-4" aria-hidden="true"><use href="/icons/lucide.svg#arrow-right"></use></svg></a>{% endif %}
|
|
{% if secondaryUrl and secondaryLabel %}<a href="{{ secondaryUrl }}" class="inline-flex items-center rounded-lg px-6 py-3 font-semibold transition-colors {% if background == "band" %}hover:bg-white/10{% else %}hover:bg-muted{% endif %}" style="{% if background == "band" %}border:1.5px solid hsl(var(--primary-foreground) / 0.4);color:hsl(var(--primary-foreground));{% else %}border:1.5px solid hsl(var(--border));color:hsl(var(--primary));{% endif %}">{{ secondaryLabel }}</a>{% endif %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|