Setup comfy board header
This commit is contained in:
@@ -3,9 +3,13 @@ package boards
|
||||
import "github.com/dominicf2001/comfychan/web/views/shared"
|
||||
|
||||
templ Comfy() {
|
||||
@shared.Layout() {
|
||||
<section style="margin-top: 100px;">
|
||||
<div>Comfy</div>
|
||||
</section>
|
||||
}
|
||||
@shared.Layout() {
|
||||
<header class="board-header">
|
||||
<img src="/static/img/banner-comfy.png"/>
|
||||
<h1>
|
||||
"/comfy/" - Comfy
|
||||
</h1>
|
||||
<p>Be comfy fren</p>
|
||||
</header>
|
||||
}
|
||||
}
|
||||
|
||||
@@ -43,7 +43,7 @@ func Comfy() templ.Component {
|
||||
}()
|
||||
}
|
||||
ctx = templ.InitializeContext(ctx)
|
||||
templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "<section style=\"margin-top: 100px;\"><div>Comfy</div></section>")
|
||||
templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "<header class=\"board-header\"><img src=\"/static/img/banner-comfy.png\"><h1>\"/comfy/\" - Comfy</h1><p>Be comfy fren</p></header>")
|
||||
if templ_7745c5c3_Err != nil {
|
||||
return templ_7745c5c3_Err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user