2025-06-02 06:11:34 +00:00
|
|
|
import search from "@/app/[locale]/(protected)/app/chat/components/search";
|
|
|
|
|
import { Select, SelectTrigger, SelectValue, SelectContent, SelectGroup, SelectItem } from "@radix-ui/react-select";
|
|
|
|
|
import { Icon } from "lucide-react";
|
|
|
|
|
import { useTranslations } from "next-intl";
|
|
|
|
|
import { useRouter } from "next/navigation";
|
|
|
|
|
import router from "next/router";
|
|
|
|
|
import React, { useState } from "react";
|
|
|
|
|
import ScrollableContent from "./search-section-new";
|
|
|
|
|
import NewContent from "./new-content";
|
|
|
|
|
import ContentCategory from "./content-category";
|
|
|
|
|
import AreaCoverageWorkUnits from "./area-coverage-and-work-units";
|
|
|
|
|
import EventCalender from "./event-calender";
|
|
|
|
|
import UserSurveyBox from "./survey-box";
|
|
|
|
|
import ScrollableContentPolda from "./scrollable-content-polda";
|
|
|
|
|
import ScrollableContentSatker from "./scrollable-content-satker";
|
2025-06-06 19:59:54 +00:00
|
|
|
import AdvertisementPlacements from "./advertisement-placements";
|
2025-06-02 06:11:34 +00:00
|
|
|
|
|
|
|
|
const SearchSectionSatker = () => {
|
|
|
|
|
const [contentType, setContentType] = useState("all");
|
|
|
|
|
const [search, setSearch] = useState("");
|
|
|
|
|
const router = useRouter();
|
|
|
|
|
const t = useTranslations("LandingPage");
|
|
|
|
|
return (
|
|
|
|
|
<div className="flex w-full min-h-screen bg-center bg-cover bg-no-repeat" style={{ backgroundImage: "url('/assets/background.png')" }}>
|
|
|
|
|
<div className="hidden xl:block w-[15%] pr-4 py-5 sticky top-[150px] space-y-4 self-start">
|
2025-06-06 19:59:54 +00:00
|
|
|
<AdvertisementPlacements placement="left"/>
|
2025-06-02 06:11:34 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div className="w-full xl:w-[70%] px-4 py-8 bg-white">
|
|
|
|
|
<ScrollableContentSatker />
|
|
|
|
|
<NewContent group="satker" type="latest" />
|
|
|
|
|
<NewContent group="satker" type="popular" />
|
|
|
|
|
<ContentCategory group="satker" type="popular" />
|
|
|
|
|
<AreaCoverageWorkUnits />
|
|
|
|
|
<EventCalender />
|
|
|
|
|
<UserSurveyBox />
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div className="hidden xl:block w-[15%] pl-4 py-5 sticky top-[150px] space-y-4 self-start">
|
2025-06-06 19:59:54 +00:00
|
|
|
<AdvertisementPlacements placement="right"/>
|
2025-06-02 06:11:34 +00:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default SearchSectionSatker;
|