website ยท diff
git:20250224.001a864 to git:20250301.62fad3c
2 added, 1 removed. Audit A to A.
---
description: Rules for the main website
- globs: apps/web
+ globs: apps/web/**
+ alwaysApply: true
---
Instructions:
- Follow Next.js 15 App Router best practices
- Use React Server Components by default
- Implement type-safe server actions using next-safe-action
- Follow mobile-first responsive design with Tailwind CSS 4
- Use Shadcn UI components with Radix UI primitives from the packages/design-system
- Implement proper error boundaries and loading states
- Optimize for Core Web Vitals
Component Structure
1. Exports
2. Types/Interfaces
3. Server actions (if any)
4. Component logic
Naming:
- Use kebab-case for directories
- PascalCase for components
- cameCase for function and variables
- Use descriptive names with auxiliary verbs (isLoading, hasError)