27 lines
663 B
TypeScript
27 lines
663 B
TypeScript
'use client'
|
|
import FooterPPID from '@/components/Portal PPID/FooterPPID';
|
|
import PPIDbody from '@/components/Portal PPID/PpidMain';
|
|
import PPIDBanner from '@/components/Portal PPID/ppid-banner';
|
|
import NavbarPPID from '@/components/navbar/NavbarPPID';
|
|
import { usePathname } from 'next/navigation';
|
|
import React from 'react';
|
|
|
|
|
|
interface PPIDBannerProps {
|
|
url: string;
|
|
}
|
|
|
|
export default function PortalPPID({ url }: PPIDBannerProps) {
|
|
const pathname = usePathname();
|
|
console.log(pathname)
|
|
|
|
return (
|
|
<>
|
|
<NavbarPPID />
|
|
<PPIDBanner url={url} />
|
|
<PPIDbody />
|
|
<FooterPPID />
|
|
</>
|
|
)
|
|
}
|