From 434cedd79e12b8f7f09a0b36a5de88658356087f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cdongming=E2=80=9D?= <“lidongming@aituringflow.com”> Date: Sun, 21 Dec 2025 01:27:09 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=B7=BB=E5=8A=A0=E7=A4=BA=E4=BE=8B?= =?UTF-8?q?=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/components/Contact/Form/index.tsx | 11 +++++------ src/app/components/Home/Newsletter/index.tsx | 2 +- src/app/components/Layout/Footer/index.tsx | 14 +++++++++----- 3 files changed, 15 insertions(+), 12 deletions(-) diff --git a/src/app/components/Contact/Form/index.tsx b/src/app/components/Contact/Form/index.tsx index 9314c7a..7c78dde 100644 --- a/src/app/components/Contact/Form/index.tsx +++ b/src/app/components/Contact/Form/index.tsx @@ -40,7 +40,7 @@ const ContactForm = () => { setLoader(true) // TODO: 替换为你自己的邮箱地址 - fetch('https://formsubmit.co/ajax/your-email@example.com', { + fetch('https://formsubmit.co/ajax/example@example.com', { method: 'POST', headers: { 'Content-type': 'application/json' }, body: JSON.stringify({ @@ -157,11 +157,10 @@ const ContactForm = () => { type='submit' disabled={!isFormValid || loader} className={`border leading-none px-6 text-lg font-medium py-4 rounded-full - ${ - !isFormValid || loader - ? 'bg-gray-300 text-gray-500 cursor-not-allowed' - : 'bg-primary border-primary text-white hover:bg-transparent hover:text-primary cursor-pointer' - }`}> + ${!isFormValid || loader + ? 'bg-gray-300 text-gray-500 cursor-not-allowed' + : 'bg-primary border-primary text-white hover:bg-transparent hover:text-primary cursor-pointer' + }`}> Submit diff --git a/src/app/components/Home/Newsletter/index.tsx b/src/app/components/Home/Newsletter/index.tsx index 2441865..e945b0c 100644 --- a/src/app/components/Home/Newsletter/index.tsx +++ b/src/app/components/Home/Newsletter/index.tsx @@ -13,7 +13,7 @@ const Newsletter = () => {