web-humas-fe/app/portal-ppid/page.tsx

23 lines
533 B
TypeScript
Raw Normal View History

2024-02-05 09:37:05 +00:00
'use client'
2024-02-23 12:34:32 +00:00
import PPIDbody from '@/components/Portal PPID/PpidMain';
import PPIDBanner from '@/components/Portal PPID/ppid-banner';
2024-02-19 08:39:35 +00:00
import { PPIDLayout } from '@/components/layout/PPIDLayout';
2024-02-05 09:37:05 +00:00
import { usePathname } from 'next/navigation';
2024-02-19 08:39:35 +00:00
import React, { Children } from 'react'
2024-02-05 09:37:05 +00:00
2024-02-19 08:39:35 +00:00
export default function PortalPPID({
children,
}: {
children: React.ReactNode
}) {
2024-02-05 09:37:05 +00:00
const pathname = usePathname();
console.log(pathname)
return (
2024-02-23 12:34:32 +00:00
<>
<PPIDBanner />
<PPIDbody />
</>
2024-02-05 09:37:05 +00:00
)
}