This commit is contained in:
2026-05-12 05:08:39 +02:00
parent ee054955b9
commit 4c454de1c2
28 changed files with 2045 additions and 120 deletions
+2 -2
View File
@@ -3,11 +3,11 @@ package templates
import (
"fmt"
"prestaproxy/internal/viewmodel"
"git.ma-al.com/goc_marek/ps_shop/internal/viewmodel"
)
templ CategoryPage(data viewmodel.CategoryPageData, cssPath string, jsPath string) {
@Layout(data.Category.Name, cssPath, jsPath) {
@Layout(data.Category.Name, cssPath, jsPath, data.Menu, data.Locale) {
<main class="min-h-screen bg-[radial-gradient(circle_at_top_left,_rgba(34,197,94,0.18),_transparent_35%),linear-gradient(180deg,#0b1020,#111827)]">
<div class="mx-auto flex max-w-7xl flex-col gap-10 px-6 py-10 lg:px-8">
<header class="rounded-[2rem] border border-emerald-500/20 bg-white/5 p-8 backdrop-blur">