Commit Graph

4 Commits

Author SHA1 Message Date
c8e65146ec Fix home button routes and login redirects
All checks were successful
Build and Push Docker Image / build (push) Successful in 41s
2026-06-16 09:50:32 +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
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