"use client"; import { SearchIcon } from "@/components/icons"; import { Input } from "@heroui/input"; import { usePathname } from "next/navigation"; interface PPIDBannerProps { url: string; } export default function PPIDBanner({ url }: PPIDBannerProps) { const pathname = usePathname(); let isPolri; if (pathname === "/portal-ppid") { isPolri = true; } else { isPolri = false; } console.log(isPolri); return ( //
//
// banner //
//
//

// SELAMAT DATANG DI PORTAl PPID HUBUNGAN MASYARAKAT POLISI REPUBLIK INDONESIA (HUMAS POLRI) //

//

// Layanan ini merupakan fasilitas daring yang disediakan bagi para pemohon informasi publik, sebagai bagian dari
implementasi prinsip keterbukaan informasi publik di Pusat Informasi dan Dokumentasi (PPID) Utama. //

// {/*
// // } // /> //
*/} //
//
(
ppid-banner

{`SELAMAT DATANG DI PORTAL E-PPID ${isPolri ? "POLRI" : url}`}

Layanan ini merupakan fasilitas daring yang disediakan bagi para pemohon informasi publik, sebagai bagian dari implementasi prinsip keterbukaan informasi publik di Pusat Informasi dan Dokumentasi (PPID) Utama.

} />
) ); }