feat: MVP-скелет площадки (Django + MySQL/SQLite, модели по ТЗ §4, базовые страницы)

This commit is contained in:
apuc committed 2026-09-23 16:47:57 +03:00
1 parent e5f312a00f
commit 8218a568ce
67 files changed
+1929

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
{% extends 'base.html' %}
{% block title %}Создано молодыми — площадка молодых предпринимателей{% endblock %}
{% block content %}
<section class="hero">
<h1>Покупайте у своих</h1>
<p>Товары и услуги молодых предпринимателей вашего региона.</p>
<a class="btn" href="{% url 'catalog:catalog' %}">Перейти в каталог</a>
</section>
{% if banners %}
<section class="banners">
{% for b in banners %}
<a class="banner" href="{{ b.url|default:'#' }}">{{ b.title }}</a>
{% endfor %}
</section>
{% endif %}
<section class="products">
<h2>Новинки</h2>
<div class="grid">
{% for p in products %}
{% include 'catalog/_product_card.html' %}
{% empty %}
<p>Пока нет товаров.</p>
{% endfor %}
</div>
</section>
{% endblock %}