import { EventPageButtons } from "@/components/shared/event-page-buttons"; import { getEventPage } from "@/services/calendar"; import { getLocale, getTranslations } from "next-intl/server"; import Image from "next/image"; export default async function EventPage({ params, }: { params: { id: string }; }) { const { id } = params; const lang = await getLocale(); const t = await getTranslations("events"); const data = await getEventPage(id, lang); return (
{data.description}