17 lines
504 B
TypeScript
17 lines
504 B
TypeScript
'use client'
|
|
import PPIDSatkerMain from '@/components/Portal PPID/PPIDMainSatker';
|
|
import PPIDBanner from '@/components/Portal PPID/ppid-banner';
|
|
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'>
|
|
<PPIDBanner url={url} />
|
|
<PPIDSatkerMain />
|
|
</div>
|
|
)
|
|
}
|