A production-quality Next.js 14 + Tailwind CSS frontend for a conversion-first landing page system designed for local businesses.
- Next.js 14 with TypeScript support
- Tailwind CSS 3.3 with custom brand color palette
- Fully Responsive mobile-first design
- Real Demo Data for coffee shops and bike shops
- High Performance with Next.js Image optimization
- Conversion-Focused design patterns
- Accessible with semantic HTML and ARIA labels
- Production-Ready with no stubs or placeholders
/web
├── package.json # Dependencies & scripts
├── next.config.js # Image domains configuration
├── tailwind.config.ts # Theme customization
├── postcss.config.js # PostCSS setup
├── tsconfig.json # TypeScript configuration
├── src/
│ ├── types/
│ │ └── websiteEngine.ts # Complete type definitions
│ ├── data/
│ │ ├── coffeeShopDemo.ts # Coalfire Coffee Co.
│ │ └── bikeShopDemo.ts # Velocity Cycles
│ ├── components/website-engine/
│ │ ├── HeroSection.tsx # Hero with mosaic layout
│ │ ├── TrustStrip.tsx # Rating & badges
│ │ ├── FeatureCards.tsx # Features showcase
│ │ ├── MenuHighlights.tsx # Menu/Services grid
│ │ ├── ReviewSection.tsx # Testimonials
│ │ ├── GallerySection.tsx # Gallery grid
│ │ ├── LocationSection.tsx # Location & hours
│ │ ├── FinalCTA.tsx # Call-to-action
│ │ └── WebsiteEngine.tsx # Master orchestrator
│ └── app/
│ ├── layout.tsx # Root layout
│ ├── page.tsx # Home redirect
│ ├── globals.css # Global styles
│ └── demo/
│ ├── coffee-shop/ # Coffee shop demo
│ └── bike-shop/ # Bike shop demo
-
Navigate to the web directory:
cd /sessions/gallant-nifty-galileo/mnt/website-opportunity-engine/web -
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Open your browser and navigate to:
http://localhost:3000/demo/coffee-shop- Coalfire Coffee Co. demohttp://localhost:3000/demo/bike-shop- Velocity Cycles demo
npm run build
npm start- Premium specialty coffee shop in Melbourne
- 6 menu items with pricing and badges
- 3 customer testimonials
- 6 gallery images
- Complete location & hours information
- Expert bike shop in Melbourne
- 6 services with pricing
- 3 customer testimonials
- 6 gallery images
- Complete location & hours information
- Full viewport height on mobile (min-h-screen)
- 90vh on desktop
- Mobile: Single image full-bleed
- Desktop: 3-image mosaic layout (60% main + 2 stacked right)
- Dark gradient overlay
- Rating badge with stars
- CTA buttons (primary + secondary)
- Scroll indicator animation
- Horizontal scrollable strip
- Large rating display
- Trust badges with icons
- Dark background (stone-900)
- Responsive layout
- Grid layout: 1 col mobile, 2-4 cols desktop
- Image at top with hover effects
- Title and description
- Card shadows and hover transitions
- 2 cols mobile, 3 cols desktop
- Optional images per item
- Badges (popular, bestseller, new, seasonal)
- Price display in brand color
- Works for both menu items and services
- 1 col mobile, 3 cols desktop
- Quote with decorative quote mark
- Star ratings
- Customer avatars
- Role/title display
- Responsive grid with span support
- 2 cols mobile, 3 cols desktop
- Support for wide/tall spanning items
- Hover brightness effect
- Light background
- 2-column layout: map + info
- Stacked on mobile
- Opening hours with today highlight
- Amenities badges
- CTA buttons (Get Directions, Call, WhatsApp)
- Google Maps integration
- Dark background with decorative elements
- Centered headline and subheadline
- Flexible CTA buttons
- Blurred background decorations
Edit tailwind.config.ts to customize the brand palette:
colors: {
brand: {
primary: '#2C1810', // Coffee brown
secondary: '#6F4E37', // Medium brown
accent: '#C49A6C', // Warm tan
light: '#F5F0E8', // Off-white
},
}- Create a new data file in
src/data/ - Follow the
BusinessDataTypeScript interface - Create a new page in
src/app/demo/[category]/page.tsx - Import data and render
<WebsiteEngine data={yourData} />
All components are fully typed with no any types. Key interfaces:
BusinessData- Complete business informationHeroData- Hero section configurationMenuItem- Menu item or serviceReview- Customer testimonialLocationInfo- Business location detailsCTAConfig- Call-to-action configuration
- Chrome/Edge (latest)
- Firefox (latest)
- Safari (latest)
- Mobile browsers (iOS Safari, Chrome Mobile)
- Next.js Image optimization
- Tailwind CSS purging (production)
- No external dependencies beyond React & Next.js
- Font optimization with next/font
- Responsive images with srcset
- Semantic HTML (section, nav, article, etc.)
- Alt text on all images
- Focus-visible states on interactive elements
- Reduced motion preferences honored
- Proper heading hierarchy
- Uses
'use client'only where needed (scroll listeners) - Mobile-first responsive design approach
- All colors from Tailwind palette (no inline hex)
- Custom scrollbar styling
- Smooth scroll behavior enabled