diff --git a/base.html b/base.html index d3b2efc5acea85a139b00e842bd9f205cfcdbb6a..64cd2d73b9962fe2efa8fe6dbcbaf23c002c45a6 100644 --- a/base.html +++ b/base.html @@ -1,14 +1,34 @@ <!DOCTYPE html> -<html> +<html lang="en"> <head> - <title>Uni Hub</title> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <title>{% block title %}Uni Hub{% endblock %}</title> + + <!-- Bootstrap CSS --> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet"> + + <!-- Animate.css for simple fade/slide animations --> + <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" /> + + <!-- Custom CSS --> + <link rel="stylesheet" href="{% static 'css/main.css' %}"> </head> -<body> + +<body class="d-flex flex-column min-vh-100"> {% include 'includes/navbar.html' %} - <div class="container mt-4"> + + <main class="container mt-4 flex-grow-1"> + {% include 'includes/messages.html' %} {% block content %}{% endblock %} - </div> + </main> + + {% include 'includes/footer.html' %} + + <!-- Bootstrap Bundle JS --> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script> + + <!-- Custom JS --> + <script src="{% static 'js/main.js' %}"></script> </body> -</html> \ No newline at end of file +</html>