import React from "react";
import HeroSection from "../components/Hero/HeroSection";
import CabsSection from "../components/Cabs/CabsSection";
import ServicesSection from "../components/Services/ServicesSection";
import PromoBanners from "../components/Promotions/PromoBanners";
import ReviewsSection from "../components/Reviews/ReviewsSection";
import WhyChooseUs from "../components/Highlights/WhyChooseUs";
import NewsSection from "../components/News/NewsSection";
import Navbar from "../components/Navbar/Navbar";
import Footer from "../components/Footer/Footer";

const HomePage = ({ onLoginClick, user }) => {
  return (
    <>
      <Navbar 
        user={user} 
        onLoginClick={onLoginClick} 
      />
      <HeroSection />
      <CabsSection />
      <ServicesSection />
      <PromoBanners />
      <ReviewsSection />
      <WhyChooseUs />
      <NewsSection />
      <Footer />
    </>
  );
};

export default HomePage;
