Attempt 2
This commit is contained in:
27
WebApp/src/layouts/pages/index.tmpl
Normal file
27
WebApp/src/layouts/pages/index.tmpl
Normal file
@@ -0,0 +1,27 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<link href="/static/styles/stylesheet.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="https://rsms.me/inter/inter.css">
|
||||
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
|
||||
<link rel="manifest" href="/static/site.webmanifest" />
|
||||
|
||||
{{ template "meta" . }}
|
||||
</head>
|
||||
<body class="bg-gray-100">
|
||||
{{ template "navbar" . }}
|
||||
<main>
|
||||
{{ if eq .Page "login" }}
|
||||
{{ template "login" . }}
|
||||
{{ else if eq .Page "home" }}
|
||||
{{ template "home" . }}
|
||||
{{ end }}
|
||||
</main>
|
||||
<footer>
|
||||
{{ template "footer" . }}
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user