import { SharedData } from '@/types/global'; import { Head } from '@inertiajs/react'; import { Renderer } from 'richtor'; import 'richtor/styles'; import Layout from '../intro/partials/layout'; import Hero from './partials/hero'; import Sections from './sections'; import Career from './sections/career'; export interface InnerPageProps extends SharedData { innerPage: Page; topInstructors: Instructor[]; jobCirculars: Pagination; } const Index = ({ innerPage, jobCirculars }: InnerPageProps) => { return ( {innerPage.sections.length > 0 && } {innerPage.slug === 'careers' && jobCirculars && }
{innerPage.description && (
)}
); }; export default Index;