feat: page layout
This commit is contained in:
16
templates/layouts/layout_page.html
Normal file
16
templates/layouts/layout_page.html
Normal file
@@ -0,0 +1,16 @@
|
||||
{{define "layout-page-start"}}
|
||||
{{template "layout-base-start" (args "Title" .Title)}}
|
||||
|
||||
<body class="bg-slate-200 text-slate-950 m-0 min-w-screen min-h-screen relative">
|
||||
<header class="w-full h-7 bg-slate-700 text-slate-50 px-5 flex justify-between top-0 sticky">
|
||||
<h1>Comicverse</h1>
|
||||
<ul>
|
||||
<a href="/dashboard">Dashboard</a>
|
||||
</ul>
|
||||
</header>
|
||||
{{end}}
|
||||
{{define "layout-page-end"}}
|
||||
</body>
|
||||
|
||||
{{template "layout-base-end"}}
|
||||
{{end}}
|
||||
Reference in New Issue
Block a user