improved index
All checks were successful
Build and Deploy Demo App / build-and-deploy (push) Successful in 1m56s

This commit is contained in:
2025-11-25 18:56:49 +03:30
parent cf8df36d4f
commit acb7df5cf9

View File

@@ -1,15 +1,20 @@
{% extends "bootstrap5/base.html" %}
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
{% block title %}Professional Demo Site{% endblock %}
<title>Professional Demo Site</title>
<!-- Bootstrap CSS -->
{{ bootstrap.load_css() }}
{% block styles %}
{{ super() }} <!-- Includes Bootstrap CSS -->
<style>
body { padding-top: 60px; } /* Space for fixed navbar */
</style>
{% endblock %}
{% block navbar %}
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top">
<div class="container">
<a class="navbar-brand" href="/">Demo Pro Site</a>
@@ -31,9 +36,7 @@
</div>
</div>
</nav>
{% endblock %}
{% block content %}
<div class="container">
<!-- Hero Section -->
<div class="bg-primary text-white py-5 mt-4 rounded text-center">
@@ -79,8 +82,8 @@
<p class="text-center">This site serves as a starting point for building more complex web applications. Extend it with databases, APIs, or user authentication as needed.</p>
</section>
</div>
{% endblock %}
{% block scripts %}
{{ super() }} <!-- Includes Bootstrap JS -->
{% endblock %}
<!-- Bootstrap JS -->
{{ bootstrap.load_js() }}
</body>
</html>