diff --git a/web/static/img/clavis.png b/web/static/img/clavis.png new file mode 100644 index 0000000..268f197 Binary files /dev/null and b/web/static/img/clavis.png differ diff --git a/web/static/index.css b/web/static/index.css index af8aca2..a71f906 100644 --- a/web/static/index.css +++ b/web/static/index.css @@ -2,6 +2,13 @@ body { background: #EEF2FF; } +#clavis { + display: block; + width: 300px; + margin: 10px auto; + margin-bottom: 50px; +} + #boardList { font-size: 12px; } @@ -14,3 +21,25 @@ body { #boardList a:hover { color: #ff0000; } + +.container { + width: 600px; + margin: auto; +} + +.box { + font-size: 12px; + border: 1px solid black; + background-color: #eceff6; +} + +.box h2 { + padding: 5px; + margin: 0; + background-color: #00007F; + color: #FFF; +} + +.box p { + padding: 10px; +} diff --git a/web/views/index.templ b/web/views/index.templ index 47d680a..fd4746b 100644 --- a/web/views/index.templ +++ b/web/views/index.templ @@ -3,9 +3,17 @@ package views import "github.com/dominicf2001/comfychan/web/views/shared" templ Index() { - @shared.Layout() { -
-
Index
-
- } +@shared.Layout() { +
+ +
+

Welcome to Comfychan

+
+

+ Comfychan is place to share comfy images and videos. +

+
+
+
+} } diff --git a/web/views/index_templ.go b/web/views/index_templ.go index bb3b0f6..6313969 100644 --- a/web/views/index_templ.go +++ b/web/views/index_templ.go @@ -43,7 +43,7 @@ func Index() templ.Component { }() } ctx = templ.InitializeContext(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "
Index
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "

Welcome to Comfychan

Comfychan is place to share comfy images and videos.

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err }