website refactoring #7

Merged
boom merged 25 commits from dev into production 2025-06-28 14:05:50 +02:00
Showing only changes of commit 1648e376bf - Show all commits

View File

@@ -35,11 +35,11 @@ const ContactFormSection = () => {
setLoading(true);
setError("");
if (!captchaToken) {
setError("Bitte löse das CAPTCHA, um fortzufahren.");
setLoading(false);
return;
}
// if (!captchaToken) {
// setError("Bitte löse das CAPTCHA, um fortzufahren.");
// setLoading(false);
// return;
// }
const res = await fetch("/api/contact", {
method: "POST",
@@ -189,11 +189,11 @@ const ContactFormSection = () => {
{/* <HCaptcha sitekey={hCaptchaSiteKey} onVerify={setCaptchaToken}/>*/}
{/*</motion.div>*/}
{error && (
<div className="text-red-600 font-medium pt-2">
{error}
</div>
)}
{/*{error && (*/}
{/* <div className="text-red-600 font-medium pt-2">*/}
{/* ❌ {error}*/}
{/* </div>*/}
{/*)}*/}
<motion.div
className="pt-4 flex justify-end"