2025-04-02 00:43:11 +02:00
|
|
|
"use server";
|
2025-04-02 00:17:25 +02:00
|
|
|
|
2025-04-02 00:43:11 +02:00
|
|
|
import ContactComponent from "./ContactComponent";
|
2025-04-02 00:17:25 +02:00
|
|
|
|
2025-04-02 00:43:11 +02:00
|
|
|
export default async function ContactPage() {
|
|
|
|
const recaptchaSiteKey = process.env.RECAPTCHA_SITE_KEY;
|
|
|
|
if (!recaptchaSiteKey) {
|
|
|
|
console.error("ReCAPTCHA site key is not set");
|
|
|
|
throw new Error("ReCAPTCHA not correctly configured");
|
2025-04-02 00:17:25 +02:00
|
|
|
}
|
2025-04-02 00:43:11 +02:00
|
|
|
return <ContactComponent recaptchaSiteKey={recaptchaSiteKey} />;
|
2025-04-02 00:17:25 +02:00
|
|
|
}
|