Work on the index page

This commit is contained in:
Dominic Ferrando
2025-04-16 22:44:20 -04:00
parent 7ebebf084f
commit 333bbca221
4 changed files with 43 additions and 6 deletions
+13 -5
View File
@@ -3,9 +3,17 @@ package views
import "github.com/dominicf2001/comfychan/web/views/shared"
templ Index() {
@shared.Layout() {
<section style="margin-top: 100px;">
<div>Index</div>
</section>
}
@shared.Layout() {
<section class="container">
<img id="clavis" src="/static/img/clavis.png" />
<div class="box">
<h2>Welcome to Comfychan</h2>
<div>
<p>
<strong>Comfychan</strong> is place to share comfy images and videos.
</p>
</div>
</div>
</section>
}
}