Files
nebula/layouts/base.templ

37 lines
1.0 KiB
Plaintext

package layouts
// Base provides the HTML document structure for all pages
templ Base(title string) {
<!DOCTYPE html>
<html lang="en" class="wa-cloak wa-theme-dark">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="color-scheme" content="dark light"/>
<title>{ title } - Sonr Motr Wallet</title>
<script src="https://kit.webawesome.com/47c7425b971f443c.js" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/htmx.org@4.0.0-alpha5/dist/htmx.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/htmx.org@4.0.0-alpha5/dist/ext/hx-preload.js"></script>
<script src="https://cdn.jsdelivr.net/npm/d3@7"></script>
<style>
:root {
--wa-color-primary: #17c2ff;
--sidebar-width: 64px;
}
html, body {
min-height: 100%;
padding: 0;
margin: 0;
cursor: default;
}
wa-button, a, [onclick], [hx-get], [hx-post] {
cursor: pointer;
}
</style>
</head>
<body>
{ children... }
</body>
</html>
}