This commit is contained in:
1 parent
297efaa4a6
commit
812891a205
7 files changed
+36
-15
No files matched your search
@@ -23,7 +23,6 @@ templ head(cfg config.Cfg, title string) {
|
||||
@templ.Raw(h)
|
||||
}
|
||||
</head>
|
||||
{ children... }
|
||||
}
|
||||
|
||||
templ Base(cfg config.Cfg, title string) {
|
||||
@@ -38,13 +37,20 @@ templ Base(cfg config.Cfg, title string) {
|
||||
</html>
|
||||
}
|
||||
|
||||
templ Content(cfg config.Cfg, title string) {
|
||||
templ Page(cfg config.Cfg, title string) {
|
||||
@head(cfg, title)
|
||||
@body() {
|
||||
{ children... }
|
||||
}
|
||||
}
|
||||
|
||||
templ Component() {
|
||||
for _, h := range templer.GetHeader(ctx) {
|
||||
@templ.Raw(h)
|
||||
}
|
||||
{ children... }
|
||||
}
|
||||
|
||||
templ body() {
|
||||
<header
|
||||
class="fixed z-50 mix-blend-difference p-1 w-full flex justify-between items-start"
|
||||
|
||||
Reference in new issue
Block a user