Potion/internal/templates/layouts/app_layout.templ
Hayden Hargreaves 4a5bfc3f10 (UI/STYLE): Implemented the simple login page.
Now all that's left for the authentication workflow is session management.
2025-06-14 21:18:35 -07:00

21 lines
578 B
Plaintext

package templates
// AppLayout is the main application layout, this does not contain any content other than
// meta data, links, scripts and whatever is passed into it as a component.
templ AppLayout(title string, child templ.Component) {
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{ title }</title>
<link rel="stylesheet" href="/v1/web/static/css/tailwind.css" />
<script src="https://unpkg.com/htmx.org@2.0.4"></script>
</head>
<body>
@child
</body>
</html>
}