import Hero from '@/Components/LandingPage/Hero';
import Features from '@/Components/LandingPage/Features';
import TuitionFee from '@/Components/LandingPage/TuitionFee';
import Gallery from '@/Components/LandingPage/Gallery';
import News from '@/Components/LandingPage/News';
import RectorWelcome from '@/Components/LandingPage/RectorWelcome';
import TimelinePendaftaran from '@/Components/LandingPage/TimelinePendaftaran'; // <-- 1. IMPORT TIMELINE
import AlurPendaftaran from '@/Components/LandingPage/AlurPendaftaran';       // <-- 1. IMPORT ALUR
import LandingLayout from '@/Layouts/LandingLayout';

export default function CampusLandingPage({ campus, galleryCategories }) {
    return (
        <LandingLayout campus={campus} title={`Beranda - ${campus.name}`}>
            
            <Hero campus={campus} />
            <RectorWelcome campus={campus} />
            <TuitionFee campus={campus} />
            
            {/* 2. RENDER KOMPONEN BARU DI SINI */}
            <TimelinePendaftaran campus={campus} />
            <AlurPendaftaran campus={campus} />

            <Gallery campus={campus} images={campus.galleryImages} categories={galleryCategories} />
            <News campus={campus} />

        </LandingLayout>
    );
}
