backseat-music/backseat/httpUtil/basePage.templ
Abigail Pain 0bce16dc09 Alter 9 files
Add _colours.scss
Update main.css
Update main.css.map
Update main.scss
Update index.templ
Update index_templ.go
Update recentlyListened.go
Update basePage.templ
Update basePage_templ.go
2025-07-23 23:44:48 +01:00

32 lines
No EOL
885 B
Text

package httpUtil
templ BasePage(title string) {
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>{ title } - Backseat Music</title>
<link rel="stylesheet" href="/assets/main.css" />
<meta name="htmx-config" content='{"includeIndicatorStyles":false}'>
<script src="https://cdn.jsdelivr.net/npm/htmx.org@2.0.6/dist/htmx.js"></script>
<style>
.htmx-indicator {
display: none;
}
.htmx-request .htmx-indicator, .htmx-request.htmx-indicator {
display: block;
}
</style>
</head>
<body>
<main>
{ children... }
</main>
</body>
</html>
}
templ LoadingSpinner() {
<span class="loader"></span>
}