Work on the index page
This commit is contained in:
+13
-5
@@ -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>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user