fix(earthen): repair blank hero (.text hard-error) + trim section whitespace
Hero blank-band bug (root cause):
- The hero override read styled-text fields as `field.text|default:field`
(eyebrow/headline/subheadline/description). The ninjatpl engine hard-errors
on attribute-access-against-a-bare-string, and the demo seed passes these
fields as bare strings, so the whole hero errored and rendered as an empty
~75vh band on the landing page. Switched to `field|get:"text"|default:field`
— the process-global `get` filter degrades gracefully on a bare string
(returns nothing, so `|default:` falls back to the string) and still reads
`.text` from the admin/editor `{text,color}` object form. Matches the fixed
sibling lanes (terminal, scifi-clean). navbar `cta.text` left as-is: that
field is always a link object, never a bare string (terminal did the same).
Whitespace pass:
- Trimmed oversized marketing section padding py-16 md:py-24 -> py-12 md:py-20
across 15 blocks (cta, feature-grid, pricing, stats, team, testimonial,
timeline, faq, countdown, rich-section, contact-card, contact-form,
event-list, menu-list, hours-location) to remove dead inter-section bands.
Tailwind classes only — the host Tailwind build now scans theme .ninjatpl,
so responsive utilities compile; no duplicate hand-rolled media-query CSS
added.
No new CSS (earthen's manifest CSS is all bespoke aesthetic — nothing
duplicated a utility). No scroll-reveal system exists to harden; the stats
count-up already no-ops under reduced-motion / no-JS and renders final values.
Codeless build OK (earthen@0.2.1). check-safety: 32 checks 19 ok 13 skip -> OK.
No version bump.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
7e29730072
commit
ad1a1d83aa
@ -1,5 +1,5 @@
|
|||||||
{# contact-card override — cream contact tiles with moss icon chips. Fields mirror builtin: heading, description, columns, channels[].icon/.label/.value/.link. Icons via sprite <use>. Wiring preserved. #}
|
{# contact-card override — cream contact tiles with moss icon chips. Fields mirror builtin: heading, description, columns, channels[].icon/.label/.value/.link. Icons via sprite <use>. Wiring preserved. #}
|
||||||
<section data-block-override="earthen:contact-card" class="py-16 md:py-24 bg-background text-foreground{% if class %} {{ class }}{% endif %}">
|
<section data-block-override="earthen:contact-card" class="py-12 md:py-20 bg-background text-foreground{% if class %} {{ class }}{% endif %}">
|
||||||
<div class="mx-auto max-w-4xl px-4 text-center">
|
<div class="mx-auto max-w-4xl px-4 text-center">
|
||||||
{% if heading %}<h2 class="crayon-underline text-3xl md:text-4xl font-semibold" style="font-family:var(--font-heading, 'Fraunces', 'Playfair Display', Georgia, serif);color:hsl(var(--primary));">{{ heading }}</h2>{% endif %}
|
{% if heading %}<h2 class="crayon-underline text-3xl md:text-4xl font-semibold" style="font-family:var(--font-heading, 'Fraunces', 'Playfair Display', Georgia, serif);color:hsl(var(--primary));">{{ heading }}</h2>{% endif %}
|
||||||
{% if description %}<p class="mt-4 mx-auto max-w-2xl text-lg" style="color:hsl(var(--muted-foreground));font-family:var(--font-body, 'Work Sans', ui-sans-serif, system-ui, sans-serif);">{{ description }}</p>{% endif %}
|
{% if description %}<p class="mt-4 mx-auto max-w-2xl text-lg" style="color:hsl(var(--muted-foreground));font-family:var(--font-body, 'Work Sans', ui-sans-serif, system-ui, sans-serif);">{{ description }}</p>{% endif %}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{# contact-form override — SEED-CRITICAL. ALL form wiring preserved verbatim from builtin: bid, {% form %} action/hx attrs, honeypot input name, field loop, form.submitted/errors, submit target. Only inputs restyled and copy reworded to earthen. #}
|
{# contact-form override — SEED-CRITICAL. ALL form wiring preserved verbatim from builtin: bid, {% form %} action/hx attrs, honeypot input name, field loop, form.submitted/errors, submit target. Only inputs restyled and copy reworded to earthen. #}
|
||||||
{% with bid=_block_id|default:context.blockId %}
|
{% with bid=_block_id|default:context.blockId %}
|
||||||
<section data-block-override="earthen:contact-form" id="contact-form-{{ bid }}" class="py-16 md:py-24 bg-background text-foreground{% if class %} {{ class }}{% endif %}">
|
<section data-block-override="earthen:contact-form" id="contact-form-{{ bid }}" class="py-12 md:py-20 bg-background text-foreground{% if class %} {{ class }}{% endif %}">
|
||||||
<div class="mx-auto max-w-2xl px-4">
|
<div class="mx-auto max-w-2xl px-4">
|
||||||
{% if form.submitted %}
|
{% if form.submitted %}
|
||||||
<div class="earthen-panel earthen-blob-soft p-10 text-center">
|
<div class="earthen-panel earthen-blob-soft p-10 text-center">
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
{# countdown override — earthen: paper ground, soft botanical unit boxes, terracotta digits. Field reads, every data-countdown/data-countdown-timer/data-target/data-unit/data-countdown-expired hook, the <noscript> fallback and the entire tick <script> preserved verbatim from the builtin; only classes/style/fonts reskinned. #}
|
{# countdown override — earthen: paper ground, soft botanical unit boxes, terracotta digits. Field reads, every data-countdown/data-countdown-timer/data-target/data-unit/data-countdown-expired hook, the <noscript> fallback and the entire tick <script> preserved verbatim from the builtin; only classes/style/fonts reskinned. #}
|
||||||
<section data-block-override="earthen:countdown" class="py-16 md:py-24 bg-paper-grain text-foreground{% if class %} {{ class }}{% endif %}">
|
<section data-block-override="earthen:countdown" class="py-12 md:py-20 bg-paper-grain text-foreground{% if class %} {{ class }}{% endif %}">
|
||||||
<div class="mx-auto max-w-4xl px-4 text-center">
|
<div class="mx-auto max-w-4xl px-4 text-center">
|
||||||
{% if heading %}<h2 class="text-3xl md:text-4xl font-semibold tracking-tight" style="font-family:var(--font-heading, 'Fraunces', 'Playfair Display', Georgia, serif);color:hsl(var(--primary))">{{ heading }}</h2>{% 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);color:hsl(var(--primary))">{{ heading }}</h2>{% endif %}
|
||||||
{% if intro %}<p class="mx-auto mt-4 max-w-2xl text-lg text-muted-foreground" style="font-family:var(--font-body, 'Work Sans', ui-sans-serif, system-ui, sans-serif)">{{ intro }}</p>{% endif %}
|
{% if intro %}<p class="mx-auto mt-4 max-w-2xl text-lg text-muted-foreground" style="font-family:var(--font-body, 'Work Sans', ui-sans-serif, system-ui, sans-serif)">{{ intro }}</p>{% endif %}
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
{# 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. #}
|
{# 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-16 md:py-24 bg-background text-foreground{% if class %} {{ class }}{% endif %}">
|
<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="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 == "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 %}">
|
<div class="{% if background != "split" %}mx-auto max-w-2xl{% endif %}">
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
{# event-list override — cream event cards / rows on paper; terracotta dates, moss titles. Fields mirror builtin: heading, intro, layout, events[].past/.media/.datetime/.start/.end/.timezone/.title/.venue/.description/.link/.linkLabel, hidePast. Wiring preserved. #}
|
{# event-list override — cream event cards / rows on paper; terracotta dates, moss titles. Fields mirror builtin: heading, intro, layout, events[].past/.media/.datetime/.start/.end/.timezone/.title/.venue/.description/.link/.linkLabel, hidePast. Wiring preserved. #}
|
||||||
<section data-block-override="earthen:event-list" class="py-16 md:py-24 bg-background text-foreground{% if class %} {{ class }}{% endif %}">
|
<section data-block-override="earthen:event-list" class="py-12 md:py-20 bg-background text-foreground{% if class %} {{ class }}{% endif %}">
|
||||||
<div class="mx-auto max-w-6xl px-4 text-center">
|
<div class="mx-auto max-w-6xl px-4 text-center">
|
||||||
{% if heading %}<h2 class="crayon-underline text-3xl md:text-4xl font-semibold" style="font-family:var(--font-heading, 'Fraunces', 'Playfair Display', Georgia, serif);color:hsl(var(--primary));">{{ heading }}</h2>{% endif %}
|
{% if heading %}<h2 class="crayon-underline text-3xl md:text-4xl font-semibold" style="font-family:var(--font-heading, 'Fraunces', 'Playfair Display', Georgia, serif);color:hsl(var(--primary));">{{ heading }}</h2>{% endif %}
|
||||||
{% if intro %}<p class="mt-4 mx-auto max-w-2xl text-lg" style="color:hsl(var(--muted-foreground));font-family:var(--font-body, 'Work Sans', ui-sans-serif, system-ui, sans-serif);">{{ intro }}</p>{% endif %}
|
{% if intro %}<p class="mt-4 mx-auto max-w-2xl text-lg" style="color:hsl(var(--muted-foreground));font-family:var(--font-body, 'Work Sans', ui-sans-serif, system-ui, sans-serif);">{{ intro }}</p>{% endif %}
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
{# faq override — earthen: paper ground, Fraunces questions, botanical dividers. Field reads, the <details> open/variant control flow, marker-hidden summary, chevron <use> and answer|safe preserved verbatim from the builtin; only classes/style/fonts reskinned. #}
|
{# faq override — earthen: paper ground, Fraunces questions, botanical dividers. Field reads, the <details> open/variant control flow, marker-hidden summary, chevron <use> and answer|safe preserved verbatim from the builtin; only classes/style/fonts reskinned. #}
|
||||||
<section data-block-override="earthen:faq" class="py-16 md:py-24 bg-paper-grain text-foreground{% if class %} {{ class }}{% endif %}">
|
<section data-block-override="earthen:faq" class="py-12 md:py-20 bg-paper-grain text-foreground{% if class %} {{ class }}{% endif %}">
|
||||||
<div class="mx-auto max-w-3xl px-4">
|
<div class="mx-auto max-w-3xl px-4">
|
||||||
{% if heading %}<h2 class="text-center text-3xl md:text-4xl font-semibold" style="font-family:var(--font-heading, 'Fraunces', 'Playfair Display', Georgia, serif);color:hsl(var(--primary))">{{ heading }}</h2>{% endif %}
|
{% if heading %}<h2 class="text-center text-3xl md:text-4xl font-semibold" style="font-family:var(--font-heading, 'Fraunces', 'Playfair Display', Georgia, serif);color:hsl(var(--primary))">{{ heading }}</h2>{% endif %}
|
||||||
{% if intro %}<p class="mx-auto mt-4 max-w-2xl text-center text-lg text-muted-foreground" style="font-family:var(--font-body, 'Work Sans', ui-sans-serif, system-ui, sans-serif)">{{ intro }}</p>{% endif %}
|
{% if intro %}<p class="mx-auto mt-4 max-w-2xl text-center text-lg text-muted-foreground" style="font-family:var(--font-body, 'Work Sans', ui-sans-serif, system-ui, sans-serif)">{{ intro }}</p>{% endif %}
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
{# feature-grid override — earthen: paper-grain ground, botanical eyebrow rule, Fraunces heading, soft botanical cards. Field reads, columns/layout control flow and icon <use> split preserved verbatim from the builtin; only classes/style/fonts reskinned. #}
|
{# feature-grid override — earthen: paper-grain ground, botanical eyebrow rule, Fraunces heading, soft botanical cards. Field reads, columns/layout control flow and icon <use> split preserved verbatim from the builtin; only classes/style/fonts reskinned. #}
|
||||||
<section data-block-override="earthen:feature-grid" class="py-16 md:py-24 bg-paper-grain text-foreground{% if class %} {{ class }}{% endif %}">
|
<section data-block-override="earthen:feature-grid" class="py-12 md:py-20 bg-paper-grain text-foreground{% if class %} {{ class }}{% endif %}">
|
||||||
<div class="mx-auto max-w-6xl px-4">
|
<div class="mx-auto max-w-6xl px-4">
|
||||||
{% if eyebrow %}<div class="mb-3 flex items-center justify-center gap-3"><span class="h-px w-8" style="background-color:hsl(var(--accent));"></span><p class="text-xs font-semibold uppercase tracking-wider" style="color:hsl(var(--primary));">{{ eyebrow }}</p><span class="h-px w-8" style="background-color:hsl(var(--accent));"></span></div>{% endif %}
|
{% if eyebrow %}<div class="mb-3 flex items-center justify-center gap-3"><span class="h-px w-8" style="background-color:hsl(var(--accent));"></span><p class="text-xs font-semibold uppercase tracking-wider" style="color:hsl(var(--primary));">{{ eyebrow }}</p><span class="h-px w-8" style="background-color:hsl(var(--accent));"></span></div>{% endif %}
|
||||||
{% if heading %}<h2 class="mt-2 text-center text-3xl md:text-4xl font-semibold" style="font-family:var(--font-heading, 'Fraunces', 'Playfair Display', Georgia, serif);color:hsl(var(--primary));">{{ heading }}</h2>{% endif %}
|
{% if heading %}<h2 class="mt-2 text-center text-3xl md:text-4xl font-semibold" style="font-family:var(--font-heading, 'Fraunces', 'Playfair Display', Georgia, serif);color:hsl(var(--primary));">{{ heading }}</h2>{% endif %}
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
{# hero override — earthen: paper-grain ground, botanical eyebrow rule, Fraunces headline, soft organic media. All {% set %}, {% img %} calls, overlay conditional layers, the herocontent macro and variant branches preserved verbatim from the builtin; only classes/style/fonts/copy reskinned. Styled-text fields accept {text,color} or a bare string. #}
|
{# hero override — earthen: paper-grain ground, botanical eyebrow rule, Fraunces headline, soft organic media. All {% set %}, {% img %} calls, overlay conditional layers, the herocontent macro and variant branches preserved verbatim from the builtin; only classes/style/fonts/copy reskinned. Styled-text fields accept {text,color} or a bare string. #}
|
||||||
{% set eyebrowText = eyebrow.text|default:eyebrow %}
|
{% set eyebrowText = eyebrow|get:"text"|default:eyebrow %}
|
||||||
{% set headlineText = headline.text|default:headline %}
|
{% set headlineText = headline|get:"text"|default:headline %}
|
||||||
{% set subText = subheadline.text|default:subheadline %}
|
{% set subText = subheadline|get:"text"|default:subheadline %}
|
||||||
{% set descText = description.text|default:description %}
|
{% set descText = description|get:"text"|default:description %}
|
||||||
{% set pText = ctaPrimary.text %}
|
{% set pText = ctaPrimary.text %}
|
||||||
{% set pUrl = ctaPrimary.url %}
|
{% set pUrl = ctaPrimary.url %}
|
||||||
{% set sText = ctaSecondary.text %}
|
{% set sText = ctaSecondary.text %}
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
{# hours-location override — cream hours ledger + soft-cornered map facade. Map facade <button onclick> preserved verbatim. Fields mirror builtin: heading, hours[].day/.hours/.closed, specialHoursNote, address, phone, directionsUrl, mapEmbedUrl, mapButtonLabel. #}
|
{# hours-location override — cream hours ledger + soft-cornered map facade. Map facade <button onclick> preserved verbatim. Fields mirror builtin: heading, hours[].day/.hours/.closed, specialHoursNote, address, phone, directionsUrl, mapEmbedUrl, mapButtonLabel. #}
|
||||||
<section data-block-override="earthen:hours-location" class="py-16 md:py-24 bg-background text-foreground{% if class %} {{ class }}{% endif %}">
|
<section data-block-override="earthen:hours-location" class="py-12 md:py-20 bg-background text-foreground{% if class %} {{ class }}{% endif %}">
|
||||||
<div class="mx-auto max-w-5xl px-4">
|
<div class="mx-auto max-w-5xl px-4">
|
||||||
{% if heading %}<h2 class="text-3xl md:text-4xl font-semibold text-center" style="font-family:var(--font-heading, 'Fraunces', 'Playfair Display', Georgia, serif);color:hsl(var(--primary));">{{ heading }}</h2>{% endif %}
|
{% if heading %}<h2 class="text-3xl md:text-4xl font-semibold text-center" style="font-family:var(--font-heading, 'Fraunces', 'Playfair Display', Georgia, serif);color:hsl(var(--primary));">{{ heading }}</h2>{% endif %}
|
||||||
<div class="mt-10 grid grid-cols-1 gap-10 md:grid-cols-2">
|
<div class="mt-10 grid grid-cols-1 gap-10 md:grid-cols-2">
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
{# menu-list override — a field-kitchen menu card: Fraunces section titles, dotted leader rules, terracotta prices. Fields mirror builtin: heading, intro, columns, sections[].title/.note/.items[].name/.badges/.description/.price, currency, footnote. #}
|
{# menu-list override — a field-kitchen menu card: Fraunces section titles, dotted leader rules, terracotta prices. Fields mirror builtin: heading, intro, columns, sections[].title/.note/.items[].name/.badges/.description/.price, currency, footnote. #}
|
||||||
<section data-block-override="earthen:menu-list" class="py-16 md:py-24 bg-background text-foreground{% if class %} {{ class }}{% endif %}">
|
<section data-block-override="earthen:menu-list" class="py-12 md:py-20 bg-background text-foreground{% if class %} {{ class }}{% endif %}">
|
||||||
<div class="mx-auto max-w-5xl px-4 text-center">
|
<div class="mx-auto max-w-5xl px-4 text-center">
|
||||||
{% if heading %}<h2 class="text-3xl md:text-4xl font-semibold" style="font-family:var(--font-heading, 'Fraunces', 'Playfair Display', Georgia, serif);color:hsl(var(--primary));">{{ heading }}</h2>{% endif %}
|
{% if heading %}<h2 class="text-3xl md:text-4xl font-semibold" style="font-family:var(--font-heading, 'Fraunces', 'Playfair Display', Georgia, serif);color:hsl(var(--primary));">{{ heading }}</h2>{% endif %}
|
||||||
{% if intro %}<p class="mx-auto mt-3 max-w-2xl text-lg italic" style="color:hsl(var(--muted-foreground));font-family:var(--font-body, 'Work Sans', ui-sans-serif, system-ui, sans-serif);">{{ intro }}</p>{% endif %}
|
{% if intro %}<p class="mx-auto mt-3 max-w-2xl text-lg italic" style="color:hsl(var(--muted-foreground));font-family:var(--font-body, 'Work Sans', ui-sans-serif, system-ui, sans-serif);">{{ intro }}</p>{% endif %}
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
{# pricing override — earthen: paper ground, soft botanical tier cards, terracotta prices. Field reads, highlighted/tier control flow, features loop and check-icon <use> preserved verbatim from the builtin; only classes/style/fonts reskinned. #}
|
{# pricing override — earthen: paper ground, soft botanical tier cards, terracotta prices. Field reads, highlighted/tier control flow, features loop and check-icon <use> preserved verbatim from the builtin; only classes/style/fonts reskinned. #}
|
||||||
<section data-block-override="earthen:pricing" class="py-16 md:py-24 bg-paper-grain text-foreground{% if class %} {{ class }}{% endif %}">
|
<section data-block-override="earthen:pricing" class="py-12 md:py-20 bg-paper-grain text-foreground{% if class %} {{ class }}{% endif %}">
|
||||||
<div class="mx-auto max-w-6xl px-4">
|
<div class="mx-auto max-w-6xl px-4">
|
||||||
{% if heading %}<h2 class="text-center text-3xl md:text-4xl font-semibold" style="font-family:var(--font-heading, 'Fraunces', 'Playfair Display', Georgia, serif);color:hsl(var(--primary))">{{ heading }}</h2>{% endif %}
|
{% if heading %}<h2 class="text-center text-3xl md:text-4xl font-semibold" style="font-family:var(--font-heading, 'Fraunces', 'Playfair Display', Georgia, serif);color:hsl(var(--primary))">{{ heading }}</h2>{% endif %}
|
||||||
{% if intro %}<p class="mx-auto mt-4 max-w-2xl text-center text-lg text-muted-foreground" style="font-family:var(--font-body, 'Work Sans', ui-sans-serif, system-ui, sans-serif)">{{ intro }}</p>{% endif %}
|
{% if intro %}<p class="mx-auto mt-4 max-w-2xl text-center text-lg text-muted-foreground" style="font-family:var(--font-body, 'Work Sans', ui-sans-serif, system-ui, sans-serif)">{{ intro }}</p>{% endif %}
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
{# rich-section override — earthen: paper ground, botanical eyebrow rule, Fraunces heading with crayon underline, organic media frame. Field reads, background/mediaPosition order control flow, body|safe and the {% img %} call preserved verbatim from the builtin; only classes/style/fonts reskinned. #}
|
{# rich-section override — earthen: paper ground, botanical eyebrow rule, Fraunces heading with crayon underline, organic media frame. Field reads, background/mediaPosition order control flow, body|safe and the {% img %} call preserved verbatim from the builtin; only classes/style/fonts reskinned. #}
|
||||||
<section data-block-override="earthen:rich-section" class="py-16 md:py-24 {% if background == "muted" %}bg-muted text-foreground{% elif background == "card" %}bg-card text-card-foreground{% else %}bg-background text-foreground{% endif %}{% if class %} {{ class }}{% endif %}">
|
<section data-block-override="earthen:rich-section" class="py-12 md:py-20 {% if background == "muted" %}bg-muted text-foreground{% elif background == "card" %}bg-card text-card-foreground{% else %}bg-background text-foreground{% endif %}{% if class %} {{ class }}{% endif %}">
|
||||||
<div class="mx-auto grid max-w-6xl items-center gap-10 px-4 md:grid-cols-2 md:gap-16">
|
<div class="mx-auto grid max-w-6xl items-center gap-10 px-4 md:grid-cols-2 md:gap-16">
|
||||||
<div class="{% if mediaPosition == "left" %}md:order-2{% else %}md:order-1{% endif %}">
|
<div class="{% if mediaPosition == "left" %}md:order-2{% else %}md:order-1{% endif %}">
|
||||||
{% if eyebrow %}<div class="mb-3 flex items-center gap-3"><span class="h-px w-8" style="background-color:hsl(var(--accent));"></span><p class="text-xs font-semibold uppercase tracking-wider" style="color:hsl(var(--primary));">{{ eyebrow }}</p></div>{% endif %}
|
{% if eyebrow %}<div class="mb-3 flex items-center gap-3"><span class="h-px w-8" style="background-color:hsl(var(--accent));"></span><p class="text-xs font-semibold uppercase tracking-wider" style="color:hsl(var(--primary));">{{ eyebrow }}</p></div>{% endif %}
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
{# stats override — earthen: big terracotta numbers with a botanical fern flourish (impact-metrics DNA). Field reads, columns control flow, countUp data-stats/data-countup-value hooks and the entire count-up <script> preserved verbatim from the builtin; only classes/style/fonts reskinned. #}
|
{# stats override — earthen: big terracotta numbers with a botanical fern flourish (impact-metrics DNA). Field reads, columns control flow, countUp data-stats/data-countup-value hooks and the entire count-up <script> preserved verbatim from the builtin; only classes/style/fonts reskinned. #}
|
||||||
<section data-block-override="earthen:stats" class="py-16 md:py-24 bg-paper-grain text-foreground{% if class %} {{ class }}{% endif %}"{% if countUp %} data-stats{% endif %}>
|
<section data-block-override="earthen:stats" class="py-12 md:py-20 bg-paper-grain text-foreground{% if class %} {{ class }}{% endif %}"{% if countUp %} data-stats{% endif %}>
|
||||||
<div class="mx-auto max-w-6xl px-4">
|
<div class="mx-auto max-w-6xl px-4">
|
||||||
{% if heading %}<h2 class="text-center text-3xl md:text-4xl font-semibold" style="font-family:var(--font-heading, 'Fraunces', 'Playfair Display', Georgia, serif);color:hsl(var(--primary))">{{ heading }}</h2>{% endif %}
|
{% if heading %}<h2 class="text-center text-3xl md:text-4xl font-semibold" style="font-family:var(--font-heading, 'Fraunces', 'Playfair Display', Georgia, serif);color:hsl(var(--primary))">{{ heading }}</h2>{% endif %}
|
||||||
{% if intro %}<p class="mx-auto mt-4 max-w-2xl text-center text-lg text-muted-foreground" style="font-family:var(--font-body, 'Work Sans', ui-sans-serif, system-ui, sans-serif)">{{ intro }}</p>{% endif %}
|
{% if intro %}<p class="mx-auto mt-4 max-w-2xl text-center text-lg text-muted-foreground" style="font-family:var(--font-body, 'Work Sans', ui-sans-serif, system-ui, sans-serif)">{{ intro }}</p>{% endif %}
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
{# team override — earthen: paper ground, soft botanical cards, organic member portraits. Field reads, layout/columns control flow, the {% img %} portrait call and the social-icon <use> split preserved verbatim from the builtin; only classes/style/fonts reskinned. #}
|
{# team override — earthen: paper ground, soft botanical cards, organic member portraits. Field reads, layout/columns control flow, the {% img %} portrait call and the social-icon <use> split preserved verbatim from the builtin; only classes/style/fonts reskinned. #}
|
||||||
<section data-block-override="earthen:team" class="py-16 md:py-24 bg-paper-grain text-foreground{% if class %} {{ class }}{% endif %}">
|
<section data-block-override="earthen:team" class="py-12 md:py-20 bg-paper-grain text-foreground{% if class %} {{ class }}{% endif %}">
|
||||||
<div class="mx-auto max-w-6xl px-4">
|
<div class="mx-auto max-w-6xl px-4">
|
||||||
{% if heading %}<h2 class="text-center text-3xl md:text-4xl font-semibold" style="font-family:var(--font-heading, 'Fraunces', 'Playfair Display', Georgia, serif);color:hsl(var(--primary))">{{ heading }}</h2>{% endif %}
|
{% if heading %}<h2 class="text-center text-3xl md:text-4xl font-semibold" style="font-family:var(--font-heading, 'Fraunces', 'Playfair Display', Georgia, serif);color:hsl(var(--primary))">{{ heading }}</h2>{% endif %}
|
||||||
{% if intro %}<p class="mx-auto mt-4 max-w-2xl text-center text-lg text-muted-foreground" style="font-family:var(--font-body, 'Work Sans', ui-sans-serif, system-ui, sans-serif)">{{ intro }}</p>{% endif %}
|
{% if intro %}<p class="mx-auto mt-4 max-w-2xl text-center text-lg text-muted-foreground" style="font-family:var(--font-body, 'Work Sans', ui-sans-serif, system-ui, sans-serif)">{{ intro }}</p>{% endif %}
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
{# testimonial override — earthen: paper ground, soft botanical cards, organic avatar. Field reads, layout control flow, the five rating-star <use> conditionals and the {% img %} avatar call preserved verbatim from the builtin; only classes/style/fonts reskinned. #}
|
{# testimonial override — earthen: paper ground, soft botanical cards, organic avatar. Field reads, layout control flow, the five rating-star <use> conditionals and the {% img %} avatar call preserved verbatim from the builtin; only classes/style/fonts reskinned. #}
|
||||||
<section data-block-override="earthen:testimonial" class="py-16 md:py-24 bg-paper-grain text-foreground{% if class %} {{ class }}{% endif %}">
|
<section data-block-override="earthen:testimonial" class="py-12 md:py-20 bg-paper-grain text-foreground{% if class %} {{ class }}{% endif %}">
|
||||||
<div class="mx-auto max-w-6xl px-4">
|
<div class="mx-auto max-w-6xl px-4">
|
||||||
{% if heading %}<h2 class="text-center text-3xl md:text-4xl font-semibold" style="font-family:var(--font-heading, 'Fraunces', 'Playfair Display', Georgia, serif);color:hsl(var(--primary))">{{ heading }}</h2>{% endif %}
|
{% if heading %}<h2 class="text-center text-3xl md:text-4xl font-semibold" style="font-family:var(--font-heading, 'Fraunces', 'Playfair Display', Georgia, serif);color:hsl(var(--primary))">{{ heading }}</h2>{% endif %}
|
||||||
<div class="mt-12 {% if layout == "single" %}mx-auto max-w-3xl{% elif layout == "carousel" %}flex snap-x snap-mandatory gap-6 overflow-x-auto pb-4{% else %}grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3{% endif %}">
|
<div class="mt-12 {% if layout == "single" %}mx-auto max-w-3xl{% elif layout == "carousel" %}flex snap-x snap-mandatory gap-6 overflow-x-auto pb-4{% else %}grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3{% endif %}">
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
{# timeline override — earthen: paper ground, soft botanical step markers, organic media. Field reads, orientation/marker control flow, forloop.counter, marker <use> flag and the {% img %} call preserved verbatim from the builtin; only classes/style/fonts reskinned. #}
|
{# timeline override — earthen: paper ground, soft botanical step markers, organic media. Field reads, orientation/marker control flow, forloop.counter, marker <use> flag and the {% img %} call preserved verbatim from the builtin; only classes/style/fonts reskinned. #}
|
||||||
<section data-block-override="earthen:timeline" class="py-16 md:py-24 bg-paper-grain text-foreground{% if class %} {{ class }}{% endif %}">
|
<section data-block-override="earthen:timeline" class="py-12 md:py-20 bg-paper-grain text-foreground{% if class %} {{ class }}{% endif %}">
|
||||||
<div class="mx-auto max-w-4xl px-4">
|
<div class="mx-auto max-w-4xl px-4">
|
||||||
{% if heading %}<h2 class="text-center text-3xl md:text-4xl font-semibold" style="font-family:var(--font-heading, 'Fraunces', 'Playfair Display', Georgia, serif);color:hsl(var(--primary))">{{ heading }}</h2>{% endif %}
|
{% if heading %}<h2 class="text-center text-3xl md:text-4xl font-semibold" style="font-family:var(--font-heading, 'Fraunces', 'Playfair Display', Georgia, serif);color:hsl(var(--primary))">{{ heading }}</h2>{% endif %}
|
||||||
{% if intro %}<p class="mx-auto mt-4 max-w-2xl text-center text-lg text-muted-foreground" style="font-family:var(--font-body, 'Work Sans', ui-sans-serif, system-ui, sans-serif)">{{ intro }}</p>{% endif %}
|
{% if intro %}<p class="mx-auto mt-4 max-w-2xl text-center text-lg text-muted-foreground" style="font-family:var(--font-body, 'Work Sans', ui-sans-serif, system-ui, sans-serif)">{{ intro }}</p>{% endif %}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user