2024-12-31 08:25:40 +00:00
|
|
|
"use client";
|
|
|
|
|
|
|
|
|
|
import React from "react";
|
2025-03-24 17:22:16 +00:00
|
|
|
import { useParams } from "next/navigation";
|
2025-06-02 01:00:01 +00:00
|
|
|
import HeroNew from "@/components/landing-page/hero-new";
|
2025-06-02 06:11:34 +00:00
|
|
|
import SearchSectionPolda from "@/components/landing-page/search-section-polda";
|
2024-12-31 08:25:40 +00:00
|
|
|
|
|
|
|
|
const page = () => {
|
2025-03-24 17:22:16 +00:00
|
|
|
const params = useParams();
|
|
|
|
|
const poldaName: any = params?.polda_name;
|
2025-06-09 06:09:47 +00:00
|
|
|
return (
|
2025-06-09 04:04:59 +00:00
|
|
|
// <div>
|
|
|
|
|
// <NavbarKaltara />
|
|
|
|
|
// <HeaderBannerKaltara />
|
|
|
|
|
// {/* <SearchSectionKaltara /> */}
|
|
|
|
|
// <WelcomePolda />
|
|
|
|
|
// <LatestContentKaltara group="polda" type="latest" />
|
|
|
|
|
// <LatestContentKaltara group="polda" type="popular" />
|
|
|
|
|
// <ContentCategoryKaltara type="" group="polda" />
|
|
|
|
|
// <ContactUsKaltara />
|
|
|
|
|
// <NewsTickerKaltara />
|
|
|
|
|
// </div>
|
|
|
|
|
// ) : (
|
2025-06-02 01:24:19 +00:00
|
|
|
// <div>
|
|
|
|
|
// {/* <HeaderBanner /> */}
|
|
|
|
|
// <HeroNew group="polda" />
|
|
|
|
|
// <WelcomePolda />
|
|
|
|
|
// <NewContent group="polda" type="latest" />
|
|
|
|
|
// <NewContent group="polda" type="popular" />
|
|
|
|
|
// <ContentCategory type="" group="polda" />
|
|
|
|
|
// </div>
|
2024-12-31 08:25:40 +00:00
|
|
|
<div>
|
2025-06-03 03:35:09 +00:00
|
|
|
<HeroNew group="polda" />
|
2025-06-02 01:24:19 +00:00
|
|
|
<div className="flex-1 ">
|
2025-06-02 06:11:34 +00:00
|
|
|
<SearchSectionPolda />
|
2025-06-02 01:24:19 +00:00
|
|
|
</div>
|
2024-12-31 08:25:40 +00:00
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default page;
|