- master_pages: remove orphaned reservation strip (marquee) and header fan divider (default) — the strip stacked under the navbar as a duplicate full-width band - hero override: eyebrow/headline/sub/desc use |get:"text" so bare-string fields no longer error the whole block to empty (was rendering a dead band above home content) - divider override: replace ::icon:sm:: shortcode (rendered an unsized <use> SVG that ballooned — the broken About 'tally-mark' divider) with an explicit width/height-sized inline SVG - SVG geometry guard: explicit width/height on all <use> icon SVGs across overrides (testimonial stars + inherited set) - seed: expand 3 blog articles to ~9 paragraphs (1926 supper-club voice) so articles fill the viewport; wire gold-room.svg media into the private-dining block - re-capture 6 gallery shots (home/about/article x light+dark) on a fresh reprovisioned instance Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
28 lines
2.9 KiB
Plaintext
28 lines
2.9 KiB
Plaintext
<section data-block-override="art-deco:testimonial" 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="deco-caps text-center text-3xl text-foreground md:text-4xl" style="font-family:var(--font-heading, 'Cinzel', 'Italiana', Georgia, serif)">{{ 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 %}">
|
|
{% for q in quotes %}
|
|
<figure class="deco-frame flex flex-col bg-card p-6 text-card-foreground{% if layout == "carousel" %} min-w-[18rem] max-w-sm shrink-0 snap-start{% endif %}">
|
|
{% if q.rating %}<div class="mb-3 flex justify-center gap-0.5" aria-label="Rated {{ q.rating }} out of 5">
|
|
<svg width="16" height="16" class="h-4 w-4 {% if q.rating >= 1 %}text-primary{% else %}text-muted-foreground/30{% endif %}" aria-hidden="true"><use href="/icons/lucide.svg#star"></use></svg>
|
|
<svg width="16" height="16" class="h-4 w-4 {% if q.rating >= 2 %}text-primary{% else %}text-muted-foreground/30{% endif %}" aria-hidden="true"><use href="/icons/lucide.svg#star"></use></svg>
|
|
<svg width="16" height="16" class="h-4 w-4 {% if q.rating >= 3 %}text-primary{% else %}text-muted-foreground/30{% endif %}" aria-hidden="true"><use href="/icons/lucide.svg#star"></use></svg>
|
|
<svg width="16" height="16" class="h-4 w-4 {% if q.rating >= 4 %}text-primary{% else %}text-muted-foreground/30{% endif %}" aria-hidden="true"><use href="/icons/lucide.svg#star"></use></svg>
|
|
<svg width="16" height="16" class="h-4 w-4 {% if q.rating >= 5 %}text-primary{% else %}text-muted-foreground/30{% endif %}" aria-hidden="true"><use href="/icons/lucide.svg#star"></use></svg>
|
|
</div>{% endif %}
|
|
<blockquote class="flex-1 text-center text-lg leading-relaxed" style="font-family:var(--font-body, 'Cormorant Garamond', 'Cormorant', Georgia, serif)">{% if q.quote %}“{{ q.quote }}”{% endif %}</blockquote>
|
|
<div class="mx-auto my-4 flex items-center justify-center"><span class="deco-rule w-16"></span></div>
|
|
<figcaption class="flex items-center justify-center gap-3">
|
|
{% if q.avatar %}<span class="h-10 w-10 shrink-0 overflow-hidden border border-[hsl(var(--primary)/0.4)] bg-muted">{% img q.avatar alt=q.name class="h-full w-full object-cover" %}</span>{% endif %}
|
|
<span class="text-center">
|
|
{% if q.name %}<span class="deco-caps block text-sm text-foreground">{{ q.name }}</span>{% endif %}
|
|
{% if q.role %}<span class="block text-sm text-muted-foreground">{{ q.role }}</span>{% endif %}
|
|
</span>
|
|
</figcaption>
|
|
</figure>
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
</section>
|