Initial commit

This commit is contained in:
2026-02-14 09:32:46 +03:00
commit 01d560cfb4
26 changed files with 829 additions and 0 deletions

51
templates/base.html Normal file
View File

@@ -0,0 +1,51 @@
<!-- templates/base.html -->
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% block title %}Мой проект{% endblock %}</title>
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet">
<style>
/* Sticky footer implementation */
html, body {
height: 100%;
}
body {
display: flex;
flex-direction: column;
background-color: #EDE6D1;
padding-top: 70px; /* leave space for fixed navbar */
}
main {
flex: 1 0 auto;
}
/* Footer styling adjustment if needed, assuming footer is not fixed */
/* Uniform product image size */
.product-img {
width: 100%;
height: 200px;
object-fit: cover;
}
</style>
{% block extra_css %}{% endblock %}
</head>
<body>
<!-- Навигационная панель -->
{% include 'components/navbar.html' %}
<!-- Основной контент -->
<main class="container mt-4">
{% block content %}{% endblock %}
</main>
<!-- Футер -->
{% include 'components/footer.html' %}
<!-- Bootstrap JS -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
{% block extra_js %}{% endblock %}
</body>
</html>