This commit is contained in:
anthdm
2024-04-24 19:52:05 +02:00
commit af9c83cbd0
31 changed files with 1515 additions and 0 deletions

26
views/layouts/base.templ Normal file
View File

@@ -0,0 +1,26 @@
package layouts
import (
"gothstarter/views/components"
)
templ Base() {
<!DOCTYPE html>
<html lang="en">
<head>
<title>GOTHSTARTER</title>
<link rel="icon" type="image/x-icon" href="/public/favicon.ico"/>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link rel="stylesheet" href="/public/styles.css"/>
<script src="https://code.jquery.com/jquery-3.7.1.min.js" integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" crossorigin="anonymous"></script>
<script src="https://unpkg.com/alpinejs" defer></script>
<script src="https://unpkg.com/htmx.org@1.9.9" defer></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/js/all.min.js"></script>
</head>
<body class="antialiased">
@components.Navigation()
{ children... }
</body>
</html>
}