diff --git a/css/swieta.css b/css/swieta.css new file mode 100644 index 0000000..766d4ff --- /dev/null +++ b/css/swieta.css @@ -0,0 +1,34 @@ +:root { + --swieta-green: oklch(40% .08 155); + --swieta-gold: oklch(75% .12 80); +} + +#swieta { + & > header { + display: flex; + flex-direction: column; + align-items: center; + background-color: var(--swieta-green); + & p, & h1 { + color: white; + } + & span { + word-spacing: 0.5rem; + color: var(--swieta-gold); + } + border-radius: var(--border-radius); + } + + & #wyroby { + & > h2 { + grid-column: -1 / 1; + place-self: center; + } + + & .card { + & > :first-child { + display:none; + } + } + } +} diff --git a/css/świeta.css b/css/świeta.css deleted file mode 100644 index e69de29..0000000 diff --git a/html/swieta.templ b/html/swieta.templ index 80b17c2..1a42b1c 100644 --- a/html/swieta.templ +++ b/html/swieta.templ @@ -4,15 +4,16 @@ import "piekarnikgosipl/types" templ Swieta(products []types.Product) { @layout("swieta") { -
+
- Boże narodzenie 2026 + ✦ BOŻE NARODZENIE 2026 ✦

Święta smakują domowo

Tradycyjne świąteczne wypieki z naszej pracowni. Z naturalnych składników, według rodzinnych receptur.

+

Święteczne Słodkości

for _, product:= range products { @card(product) }