Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b4d6bbf183 | ||
|
|
5a21bb9823 | ||
|
|
53c084b474 | ||
|
|
3f7026b01f | ||
|
|
0b34701a55 | ||
|
|
fbde5ce39a | ||
|
|
be73a9b4ae | ||
|
|
7b6855e2d2 | ||
|
|
44020e13f6 | ||
|
|
811e5ce43c |
18
docs/adr/0001-compiled-sites-render-whole-sections.md
Normal file
18
docs/adr/0001-compiled-sites-render-whole-sections.md
Normal file
@ -0,0 +1,18 @@
|
||||
# Compiled sites render whole sections on editorial
|
||||
|
||||
Decided 2026-11-20 for editorial 0.5.2, from the website factory's visual review (orchestrator WO-094, ADR 0078).
|
||||
|
||||
## Context
|
||||
|
||||
The website factory compiles a customer's site onto this theme and renders every page at 1280 and 390 pixels wide. The review found template defects that show on a real site as an empty region, an unreadable hero or a page wider than a phone.
|
||||
|
||||
## Decision
|
||||
|
||||
- rich-section renders one column with the text at a readable width when the section has no image. It used to keep a two-column grid with an empty media cell, so a compiled site whose about or contact section was waiting for a photo showed half the section blank.
|
||||
|
||||
## Consequences
|
||||
|
||||
- editorial 0.5.2 is published to the dev registry; the orchestrator's `internal/factory/themes.yaml` pins it.
|
||||
- No schema field changes. A site that sets the old values renders as before wherever it has an image.
|
||||
|
||||
Keywords: editorial, rich-section, media, mediaPosition, empty column, hero, overlayColor, scrim, contrast, navbar, backdrop-blur, bn-navbar-drawer, team columns, WO-094, website factory, render review
|
||||
18
docs/adr/0002-compiled-sites-second-render-review.md
Normal file
18
docs/adr/0002-compiled-sites-second-render-review.md
Normal file
@ -0,0 +1,18 @@
|
||||
# Second render review of compiled sites on editorial
|
||||
|
||||
Decided 2026-11-20 for editorial 0.5.3, from the website factory's visual review (orchestrator WO-094, ADR 0078), after ADR 0001 shipped.
|
||||
|
||||
## Context
|
||||
|
||||
The website factory compiles a customer's site onto this theme and renders every page at 1280 and 390 pixels wide. The review found template defects that show on a real site as an empty region, an unreadable hero or a page wider than a phone.
|
||||
|
||||
## Decision
|
||||
|
||||
- The rich-section button's arrow is an inline icon. `.editorial-button` is an inline block, the preflight makes an SVG a block, and the arrow wrapped onto a second line under the label.
|
||||
|
||||
## Consequences
|
||||
|
||||
- editorial 0.5.3 is published to the dev registry; the orchestrator's `internal/factory/themes.yaml` pins it.
|
||||
- No schema field changes. A site that sets the old values renders as before wherever it has an image.
|
||||
|
||||
Keywords: editorial, rich-section, media, mediaPosition, empty column, hero, overlayColor, scrim, contrast, navbar, backdrop-blur, bn-navbar-drawer, team columns, WO-094, website factory, render review
|
||||
18
docs/adr/0003-the-light-hero-scrim-meets-contrast.md
Normal file
18
docs/adr/0003-the-light-hero-scrim-meets-contrast.md
Normal file
@ -0,0 +1,18 @@
|
||||
# The light hero scrim meets contrast on editorial
|
||||
|
||||
Decided 2026-11-20 for editorial 0.5.4, from the website factory's visual review (orchestrator WO-094, ADR 0078), after ADRs 0001 and 0002 shipped.
|
||||
|
||||
## Context
|
||||
|
||||
The website factory compiles a customer's site onto this theme and renders every page at 1280 and 390 pixels wide. The review found template defects that show on a real site as an empty region, an unreadable hero or a page wider than a phone.
|
||||
|
||||
## Decision
|
||||
|
||||
- The "light" hero scrim is the theme background at 82% opacity, set with an inline style. At 60% the muted subheadline measured 2.2:1 against a real photo in the render review, under the AA minimum; the inline style also keeps the scrim independent of which opacity classes the generated stylesheet holds.
|
||||
|
||||
## Consequences
|
||||
|
||||
- editorial 0.5.4 is published to the dev registry; the orchestrator's `internal/factory/themes.yaml` pins it.
|
||||
- No schema field changes. A site that sets the old values renders as before wherever it has an image.
|
||||
|
||||
Keywords: editorial, rich-section, media, mediaPosition, empty column, hero, overlayColor, scrim, contrast, navbar, backdrop-blur, bn-navbar-drawer, team columns, WO-094, website factory, render review
|
||||
@ -0,0 +1,21 @@
|
||||
# Pages read wider, and sections keep real headings
|
||||
|
||||
Decided 2026-11-20 for editorial 0.5.7, from the website factory's final render pass (orchestrator WO-096, ADR 0084).
|
||||
|
||||
## Context
|
||||
|
||||
The website factory compiles a customer's site onto this theme. The render pass screenshots every page at 1280 and 390 pixels and measures text over images and every button against what is behind it.
|
||||
|
||||
## Decision
|
||||
|
||||
- The light hero scrim is a radial gradient of the theme background centred on the hero text (at 35% across for the left-aligned hero): 84% at the centre, 80% out to 55% of the radius and 40% at the corners. The flat 82% scrim of the last release met contrast but washed the photo out; the text keeps the same backing while the photo reads at the edges. The render harness measures every text element over the photo (orchestrator WO-096).
|
||||
- The default page template lays sections out in a 76rem column (`editorial-column--page`) without the article prose styles; the 64ch measure, the paragraph indent and the prose link colours stay for articles. About, contact and blog pages squeezed every section into the article measure, indented every second paragraph of a section and drew the active blog filter pill's label in the accent on its dark fill (1.9:1). Prose link colours now apply only to links without their own classes.
|
||||
- Rich section and team headings are serif display headings at their stated size. The tracked small-caps label class set them at 0.72rem, so an inner page had no visible heading.
|
||||
- Every preset's primary, secondary, accent and destructive colour meets AA (4.5:1) with its foreground in both schemes. The render pass measures every button, and these pairs were under it: book-paper dark accent; book-paper dark destructive; legal-pad dark destructive; nightdesk dark destructive; sepia-review dark destructive. Each colour moved the least lightness (at most ten points) that reaches 4.5 with its own foreground, and a colour that could not switched its foreground to white or near-black; a token that held the same colour (the ring) moved with it. The orchestrator's brand colour step keeps whatever contrast a preset has, so a preset under AA also left a branded site under it.
|
||||
|
||||
## Consequences
|
||||
|
||||
- editorial 0.5.7 is published to the dev registry; the orchestrator's `internal/factory/themes.yaml` pins it.
|
||||
- No schema field changes.
|
||||
|
||||
Keywords: prose-editorial, category filter, pill, presets, AA, button contrast, primaryForeground, accentForeground, editorial, default template, editorial-column, editorial-column--page, rich-section, team, heading, editorial-caps, hero, scrim, radial-gradient, WO-096, website factory, render pass
|
||||
@ -0,0 +1,21 @@
|
||||
# Default pages keep the reading measure for plain text blocks
|
||||
|
||||
Decided 2026-11-22 for editorial 0.5.8, from the theme regression check before the website factory's production theme publish (orchestrator WO-090).
|
||||
|
||||
## Context
|
||||
|
||||
ADR 0004 widened the default page template to a 76rem column and took the article prose styles off it, so compiled factory sections read wider. Sites built before the factory, including this theme's own demo About page, put heading, rich-text, quote and image blocks straight onto default pages. On 0.5.7 those pages lost their reading measure and paragraph spacing: the three About paragraphs ran together across the full 76rem width at 1280 pixels, and ran together at 390 pixels (orchestrator `docs/works/evidence/WO-090/theme-regression/`). The CMS update checker moves every existing editorial site to the newest release within six hours, so this would reach every such site without an admin action.
|
||||
|
||||
## Decision
|
||||
|
||||
- On the default page column, the block wrapper of a heading, rich-text, text, quote, divider or image block keeps the 64ch article measure, centred. The measure sits on the wrapper so it counts characters in body text.
|
||||
- Rich-text and text blocks there keep the article paragraph rhythm: 1.7 line height, a 1em gap after each paragraph and the 1.5em indent on continuing paragraphs.
|
||||
- Section blocks (hero, rich-section, team, cards, contact and the rest) keep the 76rem column from ADR 0004. The website factory compiles only section blocks, so compiled sites render as on 0.5.7.
|
||||
|
||||
## Consequences
|
||||
|
||||
- editorial 0.5.8 is published to the dev registry only. The orchestrator's `internal/factory/themes.yaml` still pins 0.5.7; the coordinator moves the pin and reruns the tested pairs.
|
||||
- On the WO-090 dev instance the home, contact, blog index and article pages render the same as 0.5.7, and the About page matches 0.5.1 apart from the short rule above the centred quote.
|
||||
- No schema field changes.
|
||||
|
||||
Keywords: editorial, default template, editorial-column--page, reading measure, editorial-measure, rich-text, text, heading, quote, paragraph spacing, text-indent, prose-editorial, existing sites, update checker, regression, WO-090
|
||||
@ -0,0 +1,19 @@
|
||||
# The centred footer shows the contact details, and the eyebrow lines up with the headline
|
||||
|
||||
Decided 2026-11-22 for editorial 0.5.9, from the website factory's launch runs (orchestrator WO-101, ADR 0092).
|
||||
|
||||
## Context
|
||||
|
||||
The website factory compiles a customer's site onto this theme. Twelve launch sites built on dev on 2026-11-22 showed defects on their home pages, recorded in the orchestrator's `docs/works/evidence/WO-090/runs/RESULTS.md`; the render pass now also renders a 60 to 80 character headline with long words on every theme.
|
||||
|
||||
## Decision
|
||||
|
||||
- The centred footer layout shows the address, email and phone as the column layout does. Every editorial master footer is centred, so the contact details the factory binds from the site settings never appeared.
|
||||
- A left-aligned hero eyebrow has no leading rule. The rule before the eyebrow text pushed it about 16 pixels right of the headline on the split and left-aligned heroes; the centred hero keeps a rule on each side.
|
||||
|
||||
## Consequences
|
||||
|
||||
- editorial 0.5.9 is published to the dev registry; the orchestrator's `internal/factory/themes.yaml` pins it.
|
||||
- No schema field changes. Production sites on this theme pick the change up with the automatic theme update; the regression check for sites the factory did not build compared the production release with 0.5.9 (orchestrator `docs/works/evidence/WO-101/theme-regression/`).
|
||||
|
||||
Keywords: footer, centered, contact details, address, email, phone, _site_bindings, eyebrow, kicker, editorial-rule, WO-101, website factory, launch runs, editorial
|
||||
@ -148,6 +148,25 @@ css:
|
||||
padding-left: 1rem;
|
||||
padding-right: 1rem;
|
||||
}
|
||||
.editorial-column--page {
|
||||
max-width: 76rem;
|
||||
}
|
||||
/* Plain reading blocks on a default page keep the article measure and paragraph rhythm; sections use the wide column.
|
||||
* The measure sits on the block wrapper so 64ch is counted in body text, not in the heading's own size. */
|
||||
.editorial-column--page [data-block-id]:has(> [data-block-override="editorial:heading"], > [data-block-override="editorial:rich-text"], > [data-block-override="editorial:text"], > [data-block-override="editorial:quote"], > [data-block-override="editorial:divider"], > [data-block-override="editorial:image"]) {
|
||||
width: 100%;
|
||||
max-width: var(--editorial-measure);
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
.editorial-column--page [data-block-override="editorial:rich-text"],
|
||||
.editorial-column--page [data-block-override="editorial:text"] {
|
||||
line-height: 1.7;
|
||||
}
|
||||
.editorial-column--page [data-block-override="editorial:rich-text"] p,
|
||||
.editorial-column--page [data-block-override="editorial:text"] p { margin: 0 0 1em 0; }
|
||||
.editorial-column--page [data-block-override="editorial:rich-text"] p + p,
|
||||
.editorial-column--page [data-block-override="editorial:text"] p + p { text-indent: 1.5em; }
|
||||
.editorial-article-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
@ -198,7 +217,7 @@ css:
|
||||
letter-spacing: -0.01em;
|
||||
color: hsl(var(--foreground));
|
||||
}
|
||||
.prose-editorial a {
|
||||
.prose-editorial a:not([class]) {
|
||||
color: hsl(var(--accent));
|
||||
text-decoration: underline;
|
||||
text-decoration-thickness: 1px;
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
name = "editorial"
|
||||
display_name = "Editorial"
|
||||
scope = "@themes"
|
||||
version = "0.5.1"
|
||||
version = "0.5.9"
|
||||
description = "A personal essayist's reading room: warm book-paper light, sepia-on-charcoal dark, serif baseline grid, drop caps, running marginalia and small-caps labels for longform writers and independent newsletters."
|
||||
kind = "theme"
|
||||
categories = ["templates"]
|
||||
|
||||
12
presets.json
12
presets.json
@ -43,13 +43,13 @@
|
||||
"secondaryForeground": "36 20% 80%",
|
||||
"muted": "26 8% 16%",
|
||||
"mutedForeground": "34 12% 58%",
|
||||
"accent": "6 62% 56%",
|
||||
"accent": "6 62% 57%",
|
||||
"accentForeground": "26 10% 10%",
|
||||
"destructive": "0 68% 52%",
|
||||
"destructive": "0 68% 45%",
|
||||
"destructiveForeground": "36 22% 88%",
|
||||
"border": "28 8% 22%",
|
||||
"input": "28 8% 20%",
|
||||
"ring": "6 62% 56%"
|
||||
"ring": "6 62% 57%"
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -99,7 +99,7 @@
|
||||
"mutedForeground": "32 16% 60%",
|
||||
"accent": "18 68% 54%",
|
||||
"accentForeground": "24 18% 10%",
|
||||
"destructive": "0 68% 52%",
|
||||
"destructive": "0 68% 44%",
|
||||
"destructiveForeground": "34 30% 86%",
|
||||
"border": "26 14% 23%",
|
||||
"input": "26 14% 21%",
|
||||
@ -153,7 +153,7 @@
|
||||
"mutedForeground": "40 12% 58%",
|
||||
"accent": "8 64% 55%",
|
||||
"accentForeground": "220 12% 9%",
|
||||
"destructive": "0 68% 52%",
|
||||
"destructive": "0 68% 45%",
|
||||
"destructiveForeground": "44 20% 88%",
|
||||
"border": "220 10% 21%",
|
||||
"input": "220 10% 19%",
|
||||
@ -207,7 +207,7 @@
|
||||
"mutedForeground": "40 10% 60%",
|
||||
"accent": "352 70% 58%",
|
||||
"accentForeground": "222 16% 9%",
|
||||
"destructive": "0 70% 54%",
|
||||
"destructive": "0 70% 46%",
|
||||
"destructiveForeground": "40 16% 90%",
|
||||
"border": "222 12% 22%",
|
||||
"input": "222 12% 20%",
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
{{ admin_banner_html|safe }}
|
||||
{% if slots.header %}<header class="w-full">{{ slots.header|safe }}</header>{% endif %}
|
||||
<main class="flex-grow w-full py-10 md:py-14">
|
||||
{% if slots.main %}<div class="editorial-column prose-editorial">{{ slots.main|safe }}</div>{% else %}<div class="editorial-column py-20 text-center"><p style="color: hsl(var(--muted-foreground));">No content blocks assigned to this page.</p></div>{% endif %}
|
||||
{% if slots.main %}<div class="editorial-column editorial-column--page">{{ slots.main|safe }}</div>{% else %}<div class="editorial-column py-20 text-center"><p style="color: hsl(var(--muted-foreground));">No content blocks assigned to this page.</p></div>{% endif %}
|
||||
</main>
|
||||
{% if slots.footer %}<footer class="w-full mt-auto">{{ slots.footer|safe }}</footer>{% endif %}
|
||||
{{ body_end_html|safe }}
|
||||
|
||||
@ -18,6 +18,7 @@
|
||||
{% if logo %}<img src="{{ logo }}" alt="{{ companyName }}" class="h-10 w-auto"/>{% elif companyName %}<span class="editorial-caps text-2xl text-[hsl(var(--accent))]" style="font-family:var(--font-heading, 'Playfair Display', Georgia, serif);">{{ companyName }}</span>{% endif %}
|
||||
<span class="editorial-rule w-12"></span>
|
||||
{% if tagline %}<p class="max-w-md text-sm italic text-muted-foreground">{{ tagline }}</p>{% endif %}
|
||||
{% if address or email or phone %}<address class="not-italic text-sm text-muted-foreground space-y-1">{% if address %}<div>{{ address }}</div>{% endif %}{% if email %}<div><a href="mailto:{{ email }}" class="hover:text-[hsl(var(--accent))] transition-colors">{{ email }}</a></div>{% endif %}{% if phone %}<div><a href="tel:{{ phone }}" class="hover:text-[hsl(var(--accent))] transition-colors">{{ phone }}</a></div>{% endif %}</address>{% endif %}
|
||||
{% if columns %}<nav class="flex flex-wrap items-center justify-center gap-x-6 gap-y-2">{% for col in columns %}{% for item in col.items %}<a href="{{ item.url|default:'#' }}"{% if item.open_in_new_tab %} target="_blank" rel="noopener"{% endif %} class="editorial-caps text-xs text-muted-foreground hover:text-[hsl(var(--accent))] transition-colors">{{ item.label }}</a>{% endfor %}{% endfor %}</nav>{% endif %}
|
||||
{{ newsletter() }}
|
||||
{{ sociallinks("justify-center") }}
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
{% set hasImage = backgroundImage %}
|
||||
{% set showOverlay = hasImage and overlayColor != "none" and overlayColor != "" %}
|
||||
{% macro herocontent(align) %}
|
||||
{% if eyebrowText %}<div class="mb-5 flex items-center gap-4 {% if align == "center" %}justify-center{% endif %}"><span class="editorial-rule w-10"></span><span class="editorial-caps text-xs text-muted-foreground">{{ eyebrowText }}</span><span class="editorial-rule w-10"></span></div>{% endif %}
|
||||
{% if eyebrowText %}<div class="mb-5 flex items-center gap-4 {% if align == "center" %}justify-center{% endif %}">{% if align == "center" %}<span class="editorial-rule w-10"></span>{% endif %}<span class="editorial-caps text-xs text-muted-foreground">{{ eyebrowText }}</span><span class="editorial-rule w-10"></span></div>{% endif %}
|
||||
{% if headlineText %}<h1 class="editorial-hero-title" style="font-family:var(--font-heading, 'Playfair Display', Georgia, serif);color:hsl(var(--foreground));">{{ headlineText }}</h1>{% endif %}
|
||||
{% if subText %}<h2 class="mt-5 text-xl sm:text-2xl italic max-w-2xl{% if align == "center" %} mx-auto{% endif %}" style="color:hsl(var(--muted-foreground));font-family:var(--font-body, 'Source Serif 4', 'Source Serif Pro', Georgia, serif);">{{ subText }}</h2>{% endif %}
|
||||
{% if descText %}<p class="mt-4 max-w-xl leading-relaxed{% if align == "center" %} mx-auto{% endif %}" style="color:hsl(var(--muted-foreground));">{{ descText }}</p>{% endif %}
|
||||
@ -33,7 +33,7 @@
|
||||
{% set align = "center" %}
|
||||
{% if variant == "left-aligned" %}{% set align = "left" %}{% endif %}
|
||||
<section data-block-override="editorial:hero" class="hero relative flex flex-col overflow-hidden bg-background text-foreground {% if hasImage %}{% if minHeight == "screen" %}min-h-screen{% elif minHeight == "50vh" %}min-h-[50vh]{% elif minHeight == "auto" %}min-h-[400px]{% else %}min-h-[75vh]{% endif %} {% if verticalAlign == "top" %}justify-start pt-20{% elif verticalAlign == "bottom" %}justify-end pb-20{% else %}justify-center{% endif %}{% endif %}{% if class %} {{ class }}{% endif %}">
|
||||
{% if hasImage %}<div class="absolute inset-0 z-0">{% img backgroundImage alt=headlineText class="h-full w-full object-cover" layout="hero" %}{% if showOverlay %}<div class="absolute inset-0 {% if overlayColor == "light" %}bg-background/60{% elif overlayColor == "primary" %}bg-primary/50{% elif overlayOpacity <= 30 %}bg-black/30{% elif overlayOpacity <= 50 %}bg-black/50{% elif overlayOpacity <= 70 %}bg-black/70{% else %}bg-black/80{% endif %}"></div>{% endif %}</div>{% endif %}
|
||||
{% if hasImage %}<div class="absolute inset-0 z-0">{% img backgroundImage alt=headlineText class="h-full w-full object-cover" layout="hero" %}{% if showOverlay %}<div{% if overlayColor == "light" %} style="background: radial-gradient(ellipse at {% if variant == "left-aligned" %}35%{% else %}50%{% endif %} 50%, hsl(var(--background) / 0.86) 0%, hsl(var(--background) / 0.8) 50%, hsl(var(--background) / 0.2) 100%);"{% endif %} class="absolute inset-0 {% if overlayColor == "light" %}{% elif overlayColor == "primary" %}bg-primary/50{% elif overlayOpacity <= 30 %}bg-black/30{% elif overlayOpacity <= 50 %}bg-black/50{% elif overlayOpacity <= 70 %}bg-black/70{% else %}bg-black/80{% endif %}"></div>{% endif %}</div>{% endif %}
|
||||
<div class="relative z-10 mx-auto w-full max-w-4xl px-4 sm:px-6 lg:px-8 {% if variant == "left-aligned" %}text-left{% else %}text-center{% endif %}"><div class="editorial-panel px-6 py-10 sm:px-10 sm:py-14">{{ herocontent(align) }}</div></div>
|
||||
</section>
|
||||
{% endif %}
|
||||
|
||||
@ -1,13 +1,13 @@
|
||||
<section data-block-override="editorial: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 %}">
|
||||
<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="mx-auto grid max-w-6xl items-center gap-10 px-4 {% if media %}md:grid-cols-2{% endif %} md:gap-16">
|
||||
<div class="{% if mediaPosition == "left" %}md:order-2{% else %}md:order-1{% endif %} {% if not media %}max-w-3xl{% endif %}">
|
||||
{% if eyebrow %}<div class="mb-3 flex items-center gap-4"><span class="editorial-rule w-12"></span><p class="editorial-caps text-xs text-muted-foreground">{{ eyebrow }}</p></div>{% endif %}
|
||||
{% if heading %}<h2 class="editorial-caps editorial-underline mt-2 text-3xl text-foreground md:text-4xl" style="font-family:var(--font-heading, 'Playfair Display', Georgia, serif)">{{ heading }}</h2>{% endif %}
|
||||
{% if heading %}<h2 class="editorial-underline mt-2 text-3xl tracking-tight text-foreground md:text-4xl" style="font-family:var(--font-heading, 'Playfair Display', Georgia, serif)">{{ heading }}</h2>{% endif %}
|
||||
{% if body %}<div class="mt-4 space-y-4 text-lg text-muted-foreground [&_a]:text-[hsl(var(--accent))] [&_a]:underline [&_strong]:text-foreground" style="font-family:var(--font-body, 'Source Serif 4', 'Source Serif Pro', Georgia, serif)">{{ body|safe }}</div>{% endif %}
|
||||
{% if ctaUrl and ctaLabel %}<a href="{{ ctaUrl }}" class="editorial-button mt-6 inline-flex items-center gap-2">{{ ctaLabel }}<svg class="h-4 w-4" width="16" height="16" aria-hidden="true"><use href="/icons/lucide.svg#arrow-right"></use></svg></a>{% endif %}
|
||||
</div>
|
||||
<div class="{% if mediaPosition == "left" %}md:order-1{% else %}md:order-2{% endif %}">
|
||||
{% if media %}<div class="overflow-hidden">{% img media alt=mediaAlt class="w-full h-auto object-cover" %}</div>{% endif %}
|
||||
{% if ctaUrl and ctaLabel %}<a href="{{ ctaUrl }}" class="editorial-button mt-6 inline-flex items-center gap-2">{{ ctaLabel }}<svg class="ml-2 inline h-4 w-4 align-middle" width="16" height="16" aria-hidden="true"><use href="/icons/lucide.svg#arrow-right"></use></svg></a>{% endif %}
|
||||
</div>
|
||||
{% if media %}<div class="{% if mediaPosition == "left" %}md:order-1{% else %}md:order-2{% endif %}">
|
||||
<div class="overflow-hidden">{% img media alt=mediaAlt class="w-full h-auto object-cover" %}</div>
|
||||
</div>{% endif %}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<section data-block-override="editorial:team" class="py-16 md:py-24 bg-background text-foreground{% if class %} {{ class }}{% endif %}">
|
||||
<div class="mx-auto max-w-6xl px-4">
|
||||
{% if heading %}<h2 class="editorial-caps text-center text-3xl text-foreground md:text-4xl" style="font-family:var(--font-heading, 'Playfair Display', Georgia, serif)">{{ heading }}</h2>{% endif %}
|
||||
{% if heading %}<h2 class="text-center text-3xl tracking-tight text-foreground md:text-4xl" style="font-family:var(--font-heading, 'Playfair Display', Georgia, serif)">{{ 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, 'Source Serif 4', 'Source Serif Pro', Georgia, serif)">{{ intro }}</p>{% endif %}
|
||||
<div class="mt-12 {% if layout == "list" %}mx-auto max-w-3xl space-y-6{% elif layout == "single" %}mx-auto max-w-xl{% else %}grid grid-cols-1 gap-8 sm:grid-cols-2 {% if columns == 2 %}lg:grid-cols-2{% elif columns == 4 %}lg:grid-cols-4{% else %}lg:grid-cols-3{% endif %}{% endif %}">
|
||||
{% for member in members %}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user