feat: создать базовый шаблон и структуру для страницы каталога
All checks were successful
Build and Push Docker Image / build (push) Successful in 26s

- Создан шаблон `catalog/index.html` с поддержкой хлебных крошек и активного раздела
- Добавлены модели `Category` и `Item` с настройкой админ-панели
- Реализован обработчик URL для отображения категорий и страницы каталога
- Добавлены стили `catalog.css` и `error.css` для новых элементов
- Переведён проект в production режим (DEBUG=False)
This commit is contained in:
2026-04-07 22:30:30 +02:00
parent bbf43d29a7
commit a2702b13c7
10 changed files with 147 additions and 6 deletions

0
static/css/catalog.css Normal file
View File

50
static/css/error.css Normal file
View File

@@ -0,0 +1,50 @@
.error-page {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding-bottom: 100px;
& > .error-code {
font-size: 20rem;
color: #63768d;
margin: 0;
}
& > .error-subtitle {
font-size: 2rem;
color: #63768d;
}
& > .error-description {
margin-top: 20px;
font-size: 1.1rem;
text-align: center;
color: #554971;
}
& > .error-actions {
margin-top: 20px;
& > a {
display: inline-flex;
padding: 20px 30px;
width: 300px;
margin: 0 10px;
align-items: center;
justify-content: center;
}
& > .error-btn-1 {
background: #63768d;
color: white;
border: 0;
}
& > .error-btn-2 {
background: #ffffff;
color: #63768d;
border: 1px solid #63768d;
}
}
}

View File

@@ -557,6 +557,7 @@
.faq-section {
margin-top: 120px;
padding-bottom: 90px;
}
.faq-section h2 {

View File

@@ -316,7 +316,6 @@ footer {
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
gap: 40px;
margin-top: 60px;
}
.footer-logo {