5 Commits

Author SHA1 Message Date
Денис Шкабатур
687b08787d feat: add Docker deployment to diet.dshkabatur.ru
- Add multi-stage Dockerfile (node:22-alpine build → nginx:alpine serve)
- Add nginx.conf for SPA routing inside container
- Add .dockerignore
- Deploy to dshkabatur.ru server with Docker + host Nginx + SSL (Certbot)
- Live at https://diet.dshkabatur.ru

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-11 12:37:39 +03:00
Денис Шкабатур
f05dac5acd docs: update PLAN.md progress and LESSONS.md with learnings
- Mark all Phase 1-3 tasks as complete
- Update Phase 4 status (dark mode, responsive done)
- Add progress table with all commit hashes
- Document technical lessons: Vite ESM, Tailwind 4, React Router 7

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-11 12:28:14 +03:00
Денис Шкабатур
15133ecb52 feat: add dark mode, mobile menu, method comparison, scroll-to-top
- Add theme toggle (light/dark/system) with localStorage persistence
- Implement responsive mobile hamburger menu
- Create ComparePage for side-by-side comparison of up to 3 methods
- Add ScrollToTop component for route changes
- Update navigation with compare page link

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-11 12:27:42 +03:00
Денис Шкабатур
b8dd591428 feat: add methods catalog, detail pages, BMI calculator
- Create 16 diet/weight methods across 5 categories with full content
- Add MethodsPage with search, filters (category/difficulty/effectiveness)
- Add MethodDetailPage with pros/cons, scientific basis, contraindications
- Add BmiCalculatorPage with visual BMI scale
- Create reusable components: Badge, DifficultyBadge, EffectivenessIndicator,
  BookmarkButton, MethodCard, SearchBar, FilterPanel
- Add useLocalStorage and useBookmarks hooks for localStorage persistence
- Set up React Router with all routes

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-11 12:26:09 +03:00
Денис Шкабатур
673760f9da feat: initialize project with Vite + React + TypeScript + Tailwind CSS
- Set up Vite 7 + React 19 + TypeScript 5 + Tailwind CSS 4
- Configure path aliases (@/ -> src/)
- Create Layout with Header and Footer components
- Create HomePage with hero section and feature highlights
- Set up cursor rules for agent-driven development
- Create PLAN.md and LESSONS.md for progress tracking

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-11 12:21:03 +03:00