feat: Грибы Крыма — полная энциклопедия и справочник грибника
- Энциклопедия 20 видов грибов Крыма с детальными описаниями - Интерактивный календарь грибника по месяцам - Справочник: правила сбора, первая помощь, кулинария - Поиск и фильтрация по съедобности и сезону - Адаптивный дизайн, природная цветовая палитра - Docker-конфигурация для деплоя Tech: Next.js 15, TypeScript, Tailwind CSS 4, React 19 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
26
.cursor/rules/project-conventions.mdc
Normal file
26
.cursor/rules/project-conventions.mdc
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
description: Core project conventions for Crimean Mushroom Encyclopedia
|
||||
alwaysApply: true
|
||||
---
|
||||
|
||||
# Project: Грибы Крыма — Encyclopedia & Calendar
|
||||
|
||||
## Tech Stack
|
||||
- Next.js 15 (App Router), TypeScript strict, Tailwind CSS 4, React 19
|
||||
- Static data (JSON) — no backend/database needed
|
||||
- Deploy target: static export or Node.js server
|
||||
|
||||
## Architecture
|
||||
- `src/app/` — pages (App Router)
|
||||
- `src/components/` — reusable UI components
|
||||
- `src/data/` — mushroom database (JSON/TS)
|
||||
- `src/lib/` — utilities, helpers, types
|
||||
- `public/images/` — mushroom photos
|
||||
|
||||
## Coding Standards
|
||||
- Functional components only, prefer named exports
|
||||
- Use `interface` for props, `type` for unions/intersections
|
||||
- All components must be typed — no `any`
|
||||
- Russian UI text, English code identifiers
|
||||
- Use semantic HTML elements
|
||||
- Mobile-first responsive design
|
||||
Reference in New Issue
Block a user