Landing Pages
Landing Pages
Landing 1 vs Landing 2, file structure, and component flow.
Overview
NextBento includes two landing page variants:
| Variant | Route | Description |
|---|---|---|
| Landing 1 | / (default) | Header + Hero, API Demo, Features, Social Proof, Pricing, How It Works, FAQ, Final CTA, Footer |
| Landing 2 | /landing-2 | Navbar + Mega Menu, Hero, Logo Carousel, Stats, About, Features, Team, Pricing, Testimonials, Blog, FAQ, CTA, Contact, Footer |
File Structure
app/
page.tsx # Landing 1 (default homepage)
landing-2/
page.tsx # Landing 2 entry
landing-page-content.tsx # Assembles all Landing 2 sections
mega-menu.tsx # Mega menu dropdown
components/ # Landing 2 section components
landing-1/ # Landing 1 components (co-located)
header.tsx
hero-section.tsx
api-demo.tsx
features-showcase.tsx
social-proof.tsx
pricing-section.tsx
how-it-works.tsx
faq.tsx
final-cta.tsx
footer.tsx
app/page.tsx Flow (Landing 1)
The default homepage imports and renders:
LandingHeader— Top navigationHeroSection— Hero with headline, subheadline, CTAsApiDemo— Interactive API demoFeaturesShowcase— Feature cardsSocialProof— Logos, testimonials, or statsPricingSection— Plan cardsHowItWorks— Step-by-step flowFAQ— Accordion FAQFinalCTA— Final call-to-actionLandingFooter— Footer with links
app/landing-2/page.tsx Flow
Uses LandingPageContent which renders:
LandingNavbar— Nav with Mega MenuHeroSection— HeroLogoCarousel— Logo stripStatsSection— MetricsAboutSection— About contentFeaturesSection— Features gridTeamSection— Team membersPricingSection— PlansTestimonialsSection— TestimonialsBlogSection— Blog previewFaqSection— FAQCTASection— CTAContactSection— Contact formLandingFooter— Footer
Switching Homepage
To use Landing 2 as the default homepage, update app/page.tsx to re-export or render LandingPageContent from landing-2.
Next Steps
- Landing 1 Components — Component details for Landing 1
- Landing 2 Components — Component details for Landing 2