Initial commit
This commit is contained in:
24
views/layouts/base.templ
Normal file
24
views/layouts/base.templ
Normal file
@ -0,0 +1,24 @@
|
||||
package layouts
|
||||
|
||||
import "gitea.henriburau.de/haw-lan/cod4watcher/views/components"
|
||||
|
||||
templ Base() {
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>CoD 4 Turnier-Tracker</title>
|
||||
<link rel="icon" type="image/x-icon" href="/assets/favicon.ico"/>
|
||||
<meta charset="UTF-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||
<link rel="stylesheet" href="/assets/styles.css"/>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/js/all.min.js"></script>
|
||||
</head>
|
||||
<body class="antialiased">
|
||||
@components.Nagivation()
|
||||
<div class="mx-auto max-w-7xl mt-10 flex gap-3">
|
||||
{ children... }
|
||||
</div>
|
||||
<script src="/assets/index.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
}
|
||||
Reference in New Issue
Block a user