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:
- Hero - Main landing with HeroFlame effect
- Features - Feature grid with animations
- Testimonials - Social proof section
- Pricing - Pricing tiers with heat buttons
- FAQ - Collapsible FAQ items
Usage Pattern:
// 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