- Seed 6 licensed bakery photos (media array) and wire them to every product card: home Seasonal Specials (strawberry tart/croissant/lemon loaf) and the article Cake Gallery (tart/sponge/galette). Kills the 'Add a photo' placeholder residue on all six cards. Also adds a bakery interior shot to the About story section. - Card title/price row: price moved to its own line (cake gallery) / a wrapping badge+price row under the title (seasonal specials) so a long product name never collides with the price and '$X.XX' can never clip. - SVG geometry guard: explicit width/height on all 43 <use> icon SVGs so the host Tailwind JIT dropping a size utility can't balloon an icon. - Lengthen the strawberries article to 8 paragraphs (bakery voice). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
22 lines
1.8 KiB
Plaintext
22 lines
1.8 KiB
Plaintext
<section class="py-16 md:py-24 bg-background text-foreground{% if class %} {{ class }}{% endif %}">
|
|
<div class="mx-auto max-w-4xl px-4">
|
|
{% if heading %}<h2 class="pd-display text-center text-3xl text-primary md:text-4xl">{{ heading }}</h2>{% endif %}
|
|
{% if intro %}<p class="pd-body mx-auto mt-4 max-w-2xl text-center text-lg text-muted-foreground">{{ intro }}</p>{% endif %}
|
|
<ol class="mt-12 {% if orientation == "horizontal" %}grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-4{% else %}relative space-y-8 before:absolute before:left-4 before:top-2 before:h-[calc(100%-1rem)] before:w-px before:bg-border{% endif %}">
|
|
{% for step in steps %}
|
|
<li class="{% if orientation == "horizontal" %}text-center{% else %}relative pl-14{% endif %}">
|
|
<span class="pd-stamp pd-stamp-sm {% if orientation == "horizontal" %}mx-auto{% else %}absolute left-0 top-0 ring-4 ring-background{% endif %}">
|
|
{% if marker == "numbered" %}{{ forloop.counter }}{% elif marker == "dot" %}<span class="h-2 w-2 rounded-full bg-accent-foreground"></span>{% else %}<svg width="16" height="16" class="h-4 w-4" aria-hidden="true"><use href="/icons/lucide.svg#croissant"></use></svg>{% endif %}
|
|
</span>
|
|
<div class="{% if orientation == "horizontal" %}mt-4{% else %}pt-1{% endif %}">
|
|
{% if step.label %}<p class="pd-hand text-lg text-accent">{{ step.label }}</p>{% endif %}
|
|
{% if step.title %}<h3 class="pd-display mt-1 text-lg text-primary">{{ step.title }}</h3>{% endif %}
|
|
{% if step.text %}<p class="pd-body mt-1 text-muted-foreground">{{ step.text }}</p>{% endif %}
|
|
{% if step.media %}<div class="pd-frame mt-3 overflow-hidden rounded-sm p-1.5">{% img step.media alt=step.title class="h-auto w-full rounded-sm object-cover" %}</div>{% endif %}
|
|
</div>
|
|
</li>
|
|
{% endfor %}
|
|
</ol>
|
|
</div>
|
|
</section>
|