link in the index page

This commit is contained in:
bronku 2026-11-08 02:23:14 +01:00
parent 42057d801e
commit f492e4768a
3 changed files with 34 additions and 1 deletions

View file

@ -37,3 +37,20 @@
}
}
}
#swieta-link {
background-color: var(--swieta-green);
border-radius: var(--border-radius);
color: white;
text-decoration: none;
margin-bottom: 2rem;
padding: 0.5rem 1.5rem;
display:flex;
align-items: center;
gap: 1rem;
&:hover {
opacity: 0.9;
}
}

View file

@ -5,6 +5,23 @@ templ Index() {
<main id="index" tabindex="-1">
<header>
<div>
<a href="/swieta/" id="swieta-link">🎄 Oferta świąteczna już dostępna - zamów makosernik, torcik piernikowy i więcej
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="lucide lucide-arrow-right-icon lucide-arrow-right"
>
<path d="M5 12h14"></path>
<path d="m12 5 7 7-7 7"></path>
</svg>
</a>
<h1>Słodkości tworzone z <span>pasją</span></h1>
<p>
Naturalne składniki, domowe receptury i pasja. Tworzymy torty i wypieki na Twoje najważniejsze chwile

View file

@ -29,7 +29,6 @@ templ layout(activePage string) {
@Link(activePage, "wyroby", "Wyroby")
@Link(activePage, "album", "Album")
@Link(activePage, "kawiarnia", "Kawiarnia")
@Link(activePage, "swieta", "Oferta świąteczna")
</div>
<a class="btn" href="#footer">Kontakt</a>
</div>