website · git:20250301.62fad3c · 2025-03-01 · sha256 a72d679b64c44e91

website git:20250301.62fad3cA

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

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