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 %}
|
||||
{{ super() }} <!-- Includes Bootstrap CSS -->
|
||||
<style>
|
||||
<!-- Bootstrap CSS -->
|
||||
{{ bootstrap.load_css() }}
|
||||
|
||||
<style>
|
||||
body { padding-top: 60px; } /* Space for fixed navbar */
|
||||
</style>
|
||||
{% endblock %}
|
||||
|
||||
{% block navbar %}
|
||||
<nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top">
|
||||
</style>
|
||||
</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>
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
{% endblock %}
|
||||
</nav>
|
||||
|
||||
{% block content %}
|
||||
<div class="container">
|
||||
<div class="container">
|
||||
<!-- Hero Section -->
|
||||
<div class="bg-primary text-white py-5 mt-4 rounded text-center">
|
||||
<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>
|
||||
<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 %}
|
||||
</div>
|
||||
|
||||
{% block scripts %}
|
||||
{{ super() }} <!-- Includes Bootstrap JS -->
|
||||
{% endblock %}
|
||||
<!-- Bootstrap JS -->
|
||||
{{ bootstrap.load_js() }}
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user