Commit Graph

11 Commits

Author SHA1 Message Date
52cbc1c2b3 feat: implement shopping cart feature with user authentication support
All checks were successful
Build and Push Docker Image / build (push) Successful in 42s
- Added `Cart` and `CartItem` models with migrations for managing user-specific carts and items
- Developed services for cart-related operations: adding, removing, and updating cart items
- Built specialized templates (`cart.html`) and styled them with new CSS assets (`cart.css`)
- Enabled real-time UI updates via AJAX in shopping cart interactions (`cart.js`)
- Modified header to dynamically display cart link with user authentication awareness
- Added Leaflet-based interactive map to the contacts page and integrated CSS/JS dependencies
- Expanded tests for cart functionality, item detail page cart integration, and contacts page maps
2026-05-15 23:18:16 +02:00
29d8302a4f feat: add favorites feature for users
All checks were successful
Build and Push Docker Image / build (push) Successful in 51s
- Implemented `Favorite` model with unique user-item constraint and timestamped records
- Added `favorites:index` and `favorites:toggle` views with AJAX support for toggling favorites
- Built templates and front-end assets for the favorites page and integration with item grids
- Extended header with favorites link and dynamic counter
- Added tests covering models, views, and templates for the favorites functionality
- Updated admin to enable management of favorites via Django admin interface
2026-05-10 20:06:12 +02:00
bb321dfa22 feat: add item images, product detail page, and gallery support in catalog
All checks were successful
Build and Push Docker Image / build (push) Successful in 45s
- Added `ItemImage` model with migration for image handling and metadata
- Implemented product gallery in `detail.html` with thumbnails for additional images
- Updated `Item` model to include `primary_image` property for gallery logic
- Enhanced `catalog/index.html` to support item thumbnails
- Updated `catalog.css` for responsive gallery and item list styling
- Extended catalog views to prefetch images for efficient queries
- Added comprehensive tests for catalog and detail views
- Configured Django to serve media files in development
- Updated admin with inline support for managing `ItemImage` entities
2026-04-26 21:55:32 +02:00
4f4a1a55e5 feat: add FAQ question form with email notifications and validations
All checks were successful
Build and Push Docker Image / build (push) Successful in 43s
- Created `FaqQuestionForm` in `forms.py` with custom field validations
- Added FAQ form to the FAQ section with CSRF protection and error handling
- Integrated email notifications to administrator upon FAQ submission
- Updated styles and scripts for form inputs, validation messages, and messages UI
- Adjusted FAQ section layout in `faq.html` and related CSS for responsiveness
- Implemented tests for FAQ form submission and email notifications
2026-04-19 22:51:56 +02:00
a2702b13c7 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)
2026-04-07 22:30:30 +02:00
4155ed27ed refactor: update styles and structure for header, navigation, and banner
All checks were successful
Build and Push Docker Image / build (push) Successful in 26s
- Removed unnecessary "active-page" class from banner link
- Added reusable "nav-block" class for header links
- Adjusted `.nav-links` structure: switched to `inline-flex`, added `justify-content`
- Reduced `.kitchen-banner` margin and added border, padding for text styles
- Enhanced flex layout for `home-index-block` in index.css
2026-04-04 22:16:54 +02:00
6577eab464 feat: добавить хлебные крошки и стили для страницы "Услуги"
All checks were successful
Build and Push Docker Image / build (push) Successful in 27s
- Создан фрагмент `_fragments/breadcrumbs.html` для отображения цепочки навигации
- Обновлён шаблон `services.html` с интеграцией хлебных крошек и новым содержанием
- Добавлен файл `services.css` для стилизации раздела "Услуги"
- Расширены стили breadcrumbs в `style.css`
- Уточнены размеры и отступы в стилях главной страницы (index.css)
- Добавлено фоновое изображение `services-bg.png` для секции "Услуги"
2026-04-04 22:06:58 +02:00
777b753230 feat: добавить слайдер для преимуществ, фонты и portable setup
All checks were successful
Build and Push Docker Image / build (push) Successful in 40s
- Интегрирован Swiper.js для слайдера преимуществ
- Обновлены преимущества: добавлены новые элементы и улучшена структура
- Добавлены новые шрифты (BerlinType, Noah) и подключены стили
- Добавлен start.bat для автоматической настройки Python, Git и запуска проекта
2026-04-04 11:15:40 +02:00
28c4e08bb6 feat: добавить auth функционал, URL и Docker конфигурацию
Some checks failed
Build and Push Docker Image / build (push) Failing after 12s
- Добавлены views, URL и страницы для входа, регистрации, профиля
- Обновлён основной маршрут users/urls.py
- Перенаправлен маршрут catalog вместо items
- Обновлена структура header с добавлением ссылки на главную
- Создан Dockerfile и workflow для сборки и доставки образов
2026-03-30 22:32:31 +02:00
d522489e7f feat: добавить страницы и фрагменты для улучшения структуры шаблонов
- Добавлены страницы "Услуги", "Доставка", "Гарантия", "Контакты" с view и URL
- Вынесены hero, advantages, и о нас в отдельные фрагменты
- Обновлены header и footer для активных ссылок и адаптивности
- Добавлен normalize.css для унификации стилей
2026-03-30 21:52:08 +02:00
1eff7c6227 feat: добавить home app и базовую структуру шаблонов
- Создано Django app 'home' с view, urls, models
- Добавлены шаблоны: base layout, header/footer fragments, index page
- Настроены STATICFILES_DIRS и TEMPLATES в settings.py
- Подключены URLS всех apps (home, items, orders, users)
- Добавлены статические файлы (CSS, изображения)
2026-03-23 19:00:17 +01:00