18 lines
456 B
TypeScript
18 lines
456 B
TypeScript
// app/beach/page.tsx
|
|
import { getConfig } from '../lib/config';
|
|
import BeachClientPage from './BeachClientPage';
|
|
|
|
export const dynamic = 'force-dynamic';
|
|
|
|
export const metadata = {
|
|
title: 'Beachturnering',
|
|
};
|
|
|
|
export default async function BeachPage() {
|
|
const config = await getConfig();
|
|
|
|
const turnstileSiteKey = process.env.TURNSTILE_SITE_KEY || '';
|
|
|
|
return <BeachClientPage config={config} turnstileSiteKey={turnstileSiteKey} />;
|
|
}
|