website · git:20250224.001a864 · 2025-02-24 · sha256 9e495ec3cca787f6

website git:20250224.001a864A

Immutable. This exact content is served forever at /api/v1/blob/9e495ec3cca787f6.

---
description: Rules for the main website
globs: apps/web
---
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)