Commit f5495cf8 authored by Christophe Benz's avatar Christophe Benz
Browse files

Add <hr> between zones

parent a48e99e8
......@@ -86,14 +86,17 @@
<div class="container mx-auto p-8">
{#each zonesCardData as { cardsData, pageSlug, buttonTitle, slug, title } (pageSlug)}
{#each zonesCardData as { cardsData, pageSlug, buttonTitle, title }, index (pageSlug)}
{#if index > 0}
<hr class="mb-5 mt-5" />
{/if}
<div class="zone my-16">
<h2 class="my-8">{title}</h2>
{#if cardsData && cardsData.length}
<Cards class="my-8" data={cardsData} />
{/if}
<div class="flex justify-center my-8">
<a href={slug}>
<a href={pageSlug}>
<Button>{buttonTitle}</Button>
</a>
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment