improved index
All checks were successful
Build and Deploy Demo App / build-and-deploy (push) Successful in 1m56s
All checks were successful
Build and Deploy Demo App / build-and-deploy (push) Successful in 1m56s
This commit is contained in:
@@ -1,16 +1,21 @@
|
|||||||
{% 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>
|
||||||
|
|
||||||
{% block styles %}
|
<!-- Bootstrap CSS -->
|
||||||
{{ super() }} <!-- Includes Bootstrap CSS -->
|
{{ bootstrap.load_css() }}
|
||||||
<style>
|
|
||||||
|
<style>
|
||||||
body { padding-top: 60px; } /* Space for fixed navbar */
|
body { padding-top: 60px; } /* Space for fixed navbar */
|
||||||
</style>
|
</style>
|
||||||
{% endblock %}
|
</head>
|
||||||
|
<body>
|
||||||
{% block navbar %}
|
<nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top">
|
||||||
<nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top">
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<a class="navbar-brand" href="/">Demo Pro Site</a>
|
<a class="navbar-brand" href="/">Demo Pro Site</a>
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
@@ -30,11 +35,9 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block content %}
|
<div class="container">
|
||||||
<div class="container">
|
|
||||||
<!-- Hero Section -->
|
<!-- Hero Section -->
|
||||||
<div class="bg-primary text-white py-5 mt-4 rounded text-center">
|
<div class="bg-primary text-white py-5 mt-4 rounded text-center">
|
||||||
<h1 class="display-4">Welcome to the Professional Demo Site</h1>
|
<h1 class="display-4">Welcome to the Professional Demo Site</h1>
|
||||||
@@ -78,9 +81,9 @@
|
|||||||
<h2 class="text-center mb-4">About This Demo</h2>
|
<h2 class="text-center mb-4">About This Demo</h2>
|
||||||
<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>
|
<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>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block scripts %}
|
<!-- Bootstrap JS -->
|
||||||
{{ super() }} <!-- Includes Bootstrap JS -->
|
{{ bootstrap.load_js() }}
|
||||||
{% endblock %}
|
</body>
|
||||||
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user