+
+ {/* Left */}
+
Filter
@@ -465,48 +482,84 @@ const FilterPage = () => {
{/* Konten Kanan */}
-
-
-
-
{t("sortBy")}
-
-
-
- {imageData?.length > 0 ? (
-
- {imageData?.map((image: any) => (
-
-
-
-
-
- {formatDateToIndonesian(new Date(image?.createdAt))} {image?.timezone ? image?.timezone : "WIB"}|
- {image?.clickCount}{" "}
-
{" "}
-
- {image?.title}
-
-
-
- ))}
-
- ) : (
-
-
-
- )}
-
-
+ {/* <>
+
*/}
+
+
+
{t("sortBy")}
+
-
+
+ {imageData?.length > 0 ? (
+
+ {imageData?.map((image: any) => (
+ //
+ //
+ //
+ //
+
+ // {/*
+ // {formatDateToIndonesian(new Date(image?.createdAt))} {image?.timezone ? image?.timezone : "WIB"}|
+ // {image?.clickCount}{" "}
+ //
{" "}
+ //
*/}
+ // {image?.title}
+ //
+ //
+ //
+
+
+
+ {/* Gambar */}
+
+
+ {/* Overlay Gelap */}
+
+
+ {/* Gradient Bawah */}
+ {/* */}
+
+ {/* Judul */}
+
+
{image?.title}
+
+
+
+
+ ))}
+
+ ) : (
+
+
+
+ )}
+
+
+
+ {/*
+ > */}
);
diff --git a/app/[locale]/(public)/(polda)/polda/[polda_name]/image/layout.tsx b/app/[locale]/(public)/(polda)/polda/[polda_name]/image/layout.tsx
index 4bda3a26..96086704 100644
--- a/app/[locale]/(public)/(polda)/polda/[polda_name]/image/layout.tsx
+++ b/app/[locale]/(public)/(polda)/polda/[polda_name]/image/layout.tsx
@@ -1,10 +1,35 @@
+"use client";
+
+import LayoutProvider from "@/providers/layout.provider";
+import LayoutContentProvider from "@/providers/content.provider";
+import DashCodeSidebar from "@/components/partials/sidebar";
+import DashCodeFooter from "@/components/partials/footer";
+import ThemeCustomize from "@/components/partials/customizer";
+import DashCodeHeader from "@/components/partials/header";
+
+import { redirect } from "@/components/navigation";
import Footer from "@/components/landing-page/footer";
import Navbar from "@/components/landing-page/navbar";
+import NavbarKaltara from "@/components/landing-page/landing-polda-kaltara/navbar-polda-kaltara";
+import { useParams } from "next/navigation";
+import ContactUsKaltara from "@/components/landing-page/landing-polda-kaltara/contact-us-kaltara";
+import NewsTickerKaltara from "../../../tbnews/[polda_name]/components/news-tickers-kaltara";
-const layout = async ({ children }: { children: React.ReactNode }) => {
- return (
+const layout = ({ children }: { children: React.ReactNode }) => {
+ const params = useParams();
+ const poldaName: any = params?.polda_name;
+ return poldaName === "kaltara" ? (
<>
+
{children}
+
+
+ >
+ ) : (
+ <>
+
+ {children}
+
>
);
};
diff --git a/app/[locale]/(public)/(polda)/polda/[polda_name]/video/layout.tsx b/app/[locale]/(public)/(polda)/polda/[polda_name]/video/layout.tsx
index 3b1b03cc..96086704 100644
--- a/app/[locale]/(public)/(polda)/polda/[polda_name]/video/layout.tsx
+++ b/app/[locale]/(public)/(polda)/polda/[polda_name]/video/layout.tsx
@@ -1,3 +1,5 @@
+"use client";
+
import LayoutProvider from "@/providers/layout.provider";
import LayoutContentProvider from "@/providers/content.provider";
import DashCodeSidebar from "@/components/partials/sidebar";
@@ -8,11 +10,26 @@ import DashCodeHeader from "@/components/partials/header";
import { redirect } from "@/components/navigation";
import Footer from "@/components/landing-page/footer";
import Navbar from "@/components/landing-page/navbar";
+import NavbarKaltara from "@/components/landing-page/landing-polda-kaltara/navbar-polda-kaltara";
+import { useParams } from "next/navigation";
+import ContactUsKaltara from "@/components/landing-page/landing-polda-kaltara/contact-us-kaltara";
+import NewsTickerKaltara from "../../../tbnews/[polda_name]/components/news-tickers-kaltara";
-const layout = async ({ children }: { children: React.ReactNode }) => {
- return (
+const layout = ({ children }: { children: React.ReactNode }) => {
+ const params = useParams();
+ const poldaName: any = params?.polda_name;
+ return poldaName === "kaltara" ? (
<>
+
{children}
+
+
+ >
+ ) : (
+ <>
+
+ {children}
+
>
);
};