"use client";

import React from "react";
import { useParams } from "next/navigation";
import HeroNew from "@/components/landing-page/hero-new";
import SearchSectionPolda from "@/components/landing-page/search-section-polda";

const page = () => {
  const params = useParams();
  const poldaName: any = params?.polda_name;
  return (
  //   <div>
  //     <NavbarKaltara />
  //     <HeaderBannerKaltara />
  //     {/* <SearchSectionKaltara /> */}
  //     <WelcomePolda />
  //     <LatestContentKaltara group="polda" type="latest" />
  //     <LatestContentKaltara group="polda" type="popular" />
  //     <ContentCategoryKaltara type="" group="polda" />
  //     <ContactUsKaltara />
  //     <NewsTickerKaltara />
  //   </div>
  // ) : (
    // <div>
    //   {/* <HeaderBanner /> */}
    //   <HeroNew group="polda" />
    //   <WelcomePolda />
    //   <NewContent group="polda" type="latest" />
    //   <NewContent group="polda" type="popular" />
    //   <ContentCategory type="" group="polda" />
    // </div>
    <div>
      <HeroNew group="polda" />
      <div className="flex-1 ">
        <SearchSectionPolda />
      </div>
    </div>
  );
};

export default page;
