Spaces:
Sleeping
Sleeping
| # Home Page Components Rules | |
| When working with home/landing page components in components-new/app/(home): | |
| ## Structure | |
| ``` | |
| home/ | |
| βββ sections/ # Major page sections | |
| β βββ hero/ # Hero section with flames | |
| β βββ features/ # Feature showcase | |
| β βββ testimonials/# Customer testimonials | |
| β βββ pricing/ # Pricing cards | |
| β βββ faq/ # FAQ section | |
| βββ navbar/ # Landing page navbar | |
| βββ footer/ # Landing page footer | |
| ``` | |
| ## Migration Notes | |
| These components will be migrated from `marketing/` when beginning home page migration after Dashboard v2. | |
| ### Priority Sections to Migrate: | |
| 1. **Hero** - Main landing with HeroFlame effect | |
| 2. **Features** - Feature grid with animations | |
| 3. **Testimonials** - Social proof section | |
| 4. **Pricing** - Pricing tiers with heat buttons | |
| 5. **FAQ** - Collapsible FAQ items | |
| ### Usage Pattern: | |
| ```tsx | |
| // app/page.tsx (future) | |
| import { Hero } from '@/components/home/sections/hero'; | |
| import { Features } from '@/components/home/sections/features'; | |
| import { Testimonials } from '@/components/home/sections/testimonials'; | |
| import { Pricing } from '@/components/home/sections/pricing'; | |
| import { FAQ } from '@/components/home/sections/faq'; | |
| export default function HomePage() { | |
| return ( | |
| <> | |
| <Hero /> | |
| <Features /> | |
| <Testimonials /> | |
| <Pricing /> | |
| <FAQ /> | |
| </> | |
| ); | |
| } | |
| ``` | |
| ## Design Principles | |
| - **Fire theme**: Subtle flame effects in hero | |
| - **Performance**: Lazy load below-fold sections | |
| - **Responsive**: Mobile-first approach | |
| - **Animations**: Intersection observer for scroll effects |