moved swieta to main

This commit is contained in:
bronku 2026-11-08 11:09:46 +01:00
parent 144aeff123
commit 7c543b10f7
4 changed files with 41 additions and 53 deletions

View file

@ -1,27 +1,13 @@
package html
templ Index() {
import "piekarnikgosipl/types"
templ Index(products []types.Product) {
@layout("index") {
@Swieta(products)
<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