Add navbar

This commit is contained in:
Edward Betts 2023-09-21 04:57:52 +01:00
parent 926c2370c6
commit 77f2baea38
2 changed files with 21 additions and 6 deletions

View file

@ -5,13 +5,22 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.2.0/css/fork-awesome.min.css" integrity="sha256-XoaMnoYC5TH6/+ihMEnospgm0J1PM/nioxbOUdnM8HY=" crossorigin="anonymous">
<style type="text/css">
body {
font-family: monospace;
margin:40px auto;max-width:700px;line-height:1.6;font-size:18px;color:#444;padding:0 10px}
margin: 40px auto;
max-width: 1040px;
line-height: 1.6;
font-size: 18px;
color: #444;
padding: 0 10px
}
h1, h2, h3{line-height:1.2}
.text-nowrap { white-space:nowrap; }
.text-end { text-align: right; }
// img { max-width: 100%; height: auto; }
</style>
<title>{% block title %}Xanadu{% endblock %}</title>
@ -21,10 +30,11 @@ body{
</head>
<body>
{% include "navbar.html" %}
{% block content %}
{% endblock %}
{% block scripts %}
{% block script %}
{% endblock %}
</body>

5
templates/navbar.html Normal file
View file

@ -0,0 +1,5 @@
<p>
<a href="{{ url_for("index") }}">home</a>
| <a href="{{ url_for("events_page") }}">events</a>
| <a href="{{ url_for("top_speakers_page") }}">speakers</a>
</p>