summaryrefslogtreecommitdiff
path: root/view/main.templ
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2024-04-28 01:13:27 +0200
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2024-04-28 01:13:27 +0200
commit3637edb816f673830b70b05354a5b74909549999 (patch)
tree356417dfc0564a2eb7b7255a1656ffbaf2a62943 /view/main.templ
parenta55cfe8205d5cb2fb0948c173f23ad71d6614d13 (diff)
Start work on stylingHEADmain
Diffstat (limited to 'view/main.templ')
-rw-r--r--view/main.templ11
1 files changed, 10 insertions, 1 deletions
diff --git a/view/main.templ b/view/main.templ
index 4ae917b..04751b1 100644
--- a/view/main.templ
+++ b/view/main.templ
@@ -14,7 +14,16 @@ templ Main(contents templ.Component, currentUser *model.User) {
<script src="/static/htmx.min.js"></script>
<script src="/static/response-targets.js"></script>
</head>
- <body hx-boost="true" hx-ext="response-targets">
+ <body
+ hx-boost="true"
+ hx-ext="response-targets"
+ class="
+ w-full sm:max-w-screen-sm md:max-w-screen-md
+ mx-auto py-6
+ bg-slate-900
+ text-slate-400
+ "
+ >
@LoginForm(currentUser)
@contents
</body>