29 lines
893 B
TypeScript
29 lines
893 B
TypeScript
import Header from "@/components/Header";
|
|
import Hero from "@/components/Hero";
|
|
import EventDetails from "@/components/EventDetails";
|
|
import PastEvents from "@/components/PastEvents";
|
|
import OfficeBearers from "@/components/OfficeBearers";
|
|
import CtaBand from "@/components/CtaBand";
|
|
import Footer from "@/components/Footer";
|
|
import Gallery from "@/components/Gallery";
|
|
import { getContent } from "@/lib/content";
|
|
import { getNextMeeting } from "@/lib/meetings";
|
|
|
|
export const dynamic = "force-dynamic";
|
|
|
|
export default async function Page() {
|
|
const content = await getContent();
|
|
|
|
return (
|
|
<main className="bg-rotary-paper">
|
|
<Header />
|
|
<Hero />
|
|
<Gallery photos={content.gallery} />
|
|
<EventDetails next={getNextMeeting(content.meetings)} />
|
|
<PastEvents events={content.events} />
|
|
<OfficeBearers />
|
|
<CtaBand />
|
|
<Footer />
|
|
</main>
|
|
);
|
|
} |