'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';
import React from 'react'

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


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