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 = () => {