Gitlab CI/CD Pipeline

This commit is contained in:
2025-05-29 18:51:59 +00:00
parent cb4eb80105
commit 5a73be331b
30 changed files with 432 additions and 144 deletions

View File

@@ -22,10 +22,7 @@ const ContactFormSection = () => {
const [loading, setLoading] = useState(false);
const [error, setError] = useState("");
const isDev = process.env.NODE_ENV === "development";
const hCaptchaSiteKey = isDev
? "10000000-ffff-ffff-ffff-000000000001" // hCaptcha test sitekey
: "ES_ff59a664dc764f92870bf2c7b4eab7c5";
const hCaptchaSiteKey: string = process.env.NEXT_PUBLIC_HCAPTCHA_SITE_KEY ?? "null";
const handleChange = (e: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => {
setForm({...form, [e.target.name]: e.target.value});