generated from alecodes/base-template
refactor: re-structure frontend code
This commit is contained in:
parent
6b7642b693
commit
3e0dd79217
11 changed files with 101 additions and 7 deletions
22
frontend/templates/base.html
Normal file
22
frontend/templates/base.html
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="@mini-strap/core" />
|
||||
<link rel="stylesheet" href="../css/style.css" />
|
||||
<title>
|
||||
{% block title %}Axum web service!{% endblock %}
|
||||
</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
{% include "partials/header.html" %}
|
||||
<main>
|
||||
<nav class="msp-d-sm-none msp-d-flex msp-justify-content-end">
|
||||
<button class="msp-offcanvas-toggle" data-msp-target="#main-offcanvas">Toggle</button>
|
||||
</nav>
|
||||
{% block content %}{% endblock %}
|
||||
</main>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue