import { getPageSection } from '@/lib/page'; import { cn } from '@/lib/utils'; import Section from '@/pages/intro/partials/section'; import { usePage } from '@inertiajs/react'; import { InnerPageProps } from '..'; const Team = () => { const { props } = usePage(); const teamSection = getPageSection(props.innerPage, 'team'); return (

{teamSection?.title}

{teamSection?.description}

{teamSection?.properties.array.map((stat, index) => (
{stat.title}

{stat.name}

{stat.role}

))}
); }; export default Team;