This commit is contained in:
13
assets/public/html/footer.tmpl
Normal file
13
assets/public/html/footer.tmpl
Normal file
@ -0,0 +1,13 @@
|
||||
{{ define "footer" }}
|
||||
<div class="footbar">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<footer class="footer full-width">
|
||||
<p class="mtop">
|
||||
<a href="#" target="_blank"></a>
|
||||
</p>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
26
assets/public/html/index.html
Normal file
26
assets/public/html/index.html
Normal file
@ -0,0 +1,26 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<script src="./static/js/htmx.org@2.0.2.js"></script>
|
||||
<!-- <link href="css/style.css" rel="stylesheet"> -->
|
||||
<title>Hello, World!</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
{{ template "navbar" }}
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<p>Content</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{ template "footer" }}
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
14
assets/public/html/navbar.tmpl
Normal file
14
assets/public/html/navbar.tmpl
Normal file
@ -0,0 +1,14 @@
|
||||
{{ define "navbar" }}
|
||||
<div class="navbar">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="navigation">
|
||||
<a href="/">Logo</a>
|
||||
<ul class="navigation-items">
|
||||
<li class="navigation-item"><a class="navigation-link" href="/">Home</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
28
assets/public/html/notFound.html
Normal file
28
assets/public/html/notFound.html
Normal file
@ -0,0 +1,28 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<script src="./static/js/htmx.org@2.0.2.js"></script>
|
||||
<!-- <link href="css/style.css" rel="stylesheet"> -->
|
||||
<title>Hello, World!</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
{{ template "navbar" }}
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<h2>Not Found</h2>
|
||||
<p>Page not Found</p>
|
||||
<p>Request-ID: {{ .RequestID }}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{ template "footer" }}
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
Reference in New Issue
Block a user