From f492e4768a6ef6c9e510d9831cb60b496c48a29f Mon Sep 17 00:00:00 2001 From: bronku Date: Sun, 8 Nov 2026 02:23:14 +0100 Subject: [PATCH] link in the index page --- css/swieta.css | 17 +++++++++++++++++ html/index.templ | 17 +++++++++++++++++ html/layout.templ | 1 - 3 files changed, 34 insertions(+), 1 deletion(-) diff --git a/css/swieta.css b/css/swieta.css index c8d34d8..1929a48 100644 --- a/css/swieta.css +++ b/css/swieta.css @@ -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; + } +} diff --git a/html/index.templ b/html/index.templ index b3edae9..b1f5954 100644 --- a/html/index.templ +++ b/html/index.templ @@ -5,6 +5,23 @@ templ Index() {
+ 🎄 Oferta świąteczna już dostępna - zamów makosernik, torcik piernikowy i więcej + + + + +

Słodkości tworzone z pasją

Naturalne składniki, domowe receptury i pasja. Tworzymy torty i wypieki na Twoje najważniejsze chwile diff --git a/html/layout.templ b/html/layout.templ index a7fbe6c..63cde69 100644 --- a/html/layout.templ +++ b/html/layout.templ @@ -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")

Kontakt