Templates, Bootstrap Navbars, and Links

This commit is contained in:
2024-10-10 11:28:02 +02:00
parent ee8922e728
commit c19c6e650b
7 changed files with 104 additions and 40 deletions

View File

@ -76,17 +76,20 @@
</style>
</head>
<body>
{% extends "base.html" %}
<div class="container">
<div>
<h1>404</h1>
<h2>Oops! Page Not Found</h2>
<img src="https://via.placeholder.com/300x300?text=Oops" alt="Error Image" class="error-image">
<p>It looks like the page you are trying to reach doesn't exist.</p>
<p>But don't worry, you can go back to the homepage by clicking the button below.</p>
<a href="/" class="home-link">Go Home</a>
</div>
</div>
{% block content %}
<div class="container">
<div>
<h1>404</h1>
<h2>Oops! Page Not Found</h2>
<img src="https://via.placeholder.com/300x300?text=Oops" alt="Error Image" class="error-image">
<p>It looks like the page you are trying to reach doesn't exist.</p>
<p>But don't worry, you can go back to the homepage by clicking the button below.</p>
<a href="/" class="home-link">Go Home</a>
</div>
</div>
{% endblock %}
</body>
</html>