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 ca28f01968 - Show all commits

View File

@@ -24,6 +24,8 @@ const ContactFormSection = () => {
const hCaptchaSiteKey: string = process.env.NEXT_PUBLIC_HCAPTCHA_SITE_KEY ?? "null";
console.log(hCaptchaSiteKey);
const handleChange = (e: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => {
setForm({...form, [e.target.name]: e.target.value});
};
@@ -39,7 +41,6 @@ const ContactFormSection = () => {
return;
}
const res = await fetch("/api/contact", {
method: "POST",
headers: {"Content-Type": "application/json"},