diff --git a/web/static/img/banner-comfy.png b/web/static/img/banner-comfy.png new file mode 100644 index 0000000..4998ba3 Binary files /dev/null and b/web/static/img/banner-comfy.png differ diff --git a/web/static/index.css b/web/static/index.css index a71f906..8f2996a 100644 --- a/web/static/index.css +++ b/web/static/index.css @@ -2,6 +2,8 @@ body { background: #EEF2FF; } +/* INDEX */ + #clavis { display: block; width: 300px; @@ -9,6 +11,9 @@ body { margin-bottom: 50px; } + +/* BOARD LIST */ + #boardList { font-size: 12px; } @@ -22,6 +27,29 @@ body { color: #ff0000; } +/* BOARDS */ + +.board-header { + text-align: center; + color: #AF0A0F; +} + +.board-header h1 { + padding: 0; + margin: 0; +} + +.board-header p { + font-size: 12px; + margin: 5px; +} + +.board-header img { + width: 300px; +} + +/* GENERAL LAYOUT */ + .container { width: 600px; margin: auto; diff --git a/web/views/boards/comfy.templ b/web/views/boards/comfy.templ index 19db58e..1ae6426 100644 --- a/web/views/boards/comfy.templ +++ b/web/views/boards/comfy.templ @@ -3,9 +3,13 @@ package boards import "github.com/dominicf2001/comfychan/web/views/shared" templ Comfy() { -@shared.Layout() { -
-
Comfy
-
-} + @shared.Layout() { +
+ +

+ "/comfy/" - Comfy +

+

Be comfy fren

+
+ } } diff --git a/web/views/boards/comfy_templ.go b/web/views/boards/comfy_templ.go index 3b99cf4..6de95e9 100644 --- a/web/views/boards/comfy_templ.go +++ b/web/views/boards/comfy_templ.go @@ -43,7 +43,7 @@ func Comfy() templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "
Comfy
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "

\"/comfy/\" - Comfy

Be comfy fren

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err }