Create templates/base.html
Browse files- templates/base.html +27 -0
templates/base.html
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="en">
|
3 |
+
<head>
|
4 |
+
<meta charset="UTF-8">
|
5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
+
<title>Little Krishna Chatbot</title>
|
7 |
+
<link href="https://fonts.googleapis.com/css2?family=Bubblegum+Sans&display=swap" rel="stylesheet">
|
8 |
+
<link rel="stylesheet" href="/static/css/styles.css">
|
9 |
+
<script src="https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js"></script>
|
10 |
+
</head>
|
11 |
+
<body>
|
12 |
+
<div class="container">
|
13 |
+
<nav>
|
14 |
+
<a href="/">Home</a>
|
15 |
+
<a href="/chat">Chat with Krishna</a>
|
16 |
+
<a href="/message">Birthday Message</a>
|
17 |
+
</nav>
|
18 |
+
{% block content %}{% endblock %}
|
19 |
+
</div>
|
20 |
+
<audio id="flute-audio" src="/static/assets/flute.mp3" loop></audio>
|
21 |
+
<script>
|
22 |
+
document.addEventListener('DOMContentLoaded', () => {
|
23 |
+
document.getElementById('flute-audio').play();
|
24 |
+
});
|
25 |
+
</script>
|
26 |
+
</body>
|
27 |
+
</html>
|