'use client'
import PPIDSatkerMain from '@/components/Portal PPID/PPIDMainSatker';
import PPIDBanner from '@/components/Portal PPID/ppid-banner';
import FooterSatker from '@/components/navbar/FooterSatker';
import NavbarSatker from '@/components/navbar/NavbarSatker';
import { usePathname } from 'next/navigation';

export default function SatkerPage() {
    const pathname = usePathname();
    const url: string = pathname.split('satuan-kerja/')[1].replace(/-/g, ' ').toUpperCase();

    return (
        <div className='text-black'>
            <NavbarSatker />
            <PPIDBanner url={url} />
            <PPIDSatkerMain />
            <FooterSatker />
        </div>
    )
}
