diff --git a/app/_contact-us/form.tsx b/app/_contact-us/form.tsx index 51f1dbd..4c4bce1 100644 --- a/app/_contact-us/form.tsx +++ b/app/_contact-us/form.tsx @@ -132,7 +132,7 @@ const ContactUsForm = ({
diff --git a/app/_inquires/form.tsx b/app/_inquires/form.tsx index 7bcad38..8711a42 100644 --- a/app/_inquires/form.tsx +++ b/app/_inquires/form.tsx @@ -90,9 +90,13 @@ const InquiresForm = ({ } setIsLoading(true); try { - const response = (await api.post("inquiries", { ...data })).data; + const response = ( + await api.post("inquiries", { ...data, hcaptcha_token: hcaptchaToken }) + ).data; toast.success(response.message); reset(); + setHcaptchaToken(null); + captchaRef.current?.resetCaptcha(); } catch (error) { handleApiError(error, setError, toast.error, formFieldNames); } finally { @@ -219,7 +223,7 @@ const InquiresForm = ({
diff --git a/app/favicon.ico b/app/favicon.ico deleted file mode 100644 index 718d6fe..0000000 Binary files a/app/favicon.ico and /dev/null differ diff --git a/app/globals.css b/app/globals.css index 9d14adf..a2af7ac 100644 --- a/app/globals.css +++ b/app/globals.css @@ -9,6 +9,10 @@ body { font-family: "Inter", sans-serif; } + +html { + scroll-behavior: smooth; +} @theme { --background: #171717; --foreground: #ffffff; @@ -31,7 +35,8 @@ body { } .dark .Toastify__toast { - box-shadow: 0 20px 25px -5px rgb(255 255 255 / 0.07), + box-shadow: + 0 20px 25px -5px rgb(255 255 255 / 0.07), 0 8px 10px -6px rgb(255 255 255 / 0.05) !important; } diff --git a/app/marketing/layout.tsx b/app/marketing/layout.tsx index 33ef378..cbf7647 100644 --- a/app/marketing/layout.tsx +++ b/app/marketing/layout.tsx @@ -1,9 +1,9 @@ import type { Metadata } from "next"; import { Geist, Geist_Mono } from "next/font/google"; -import { ToastContainer, Zoom } from "react-toastify"; -import "../globals.css"; import { Suspense } from "react"; +import { ToastContainer, Zoom } from "react-toastify"; import GoogleAnalytics from "../_components/GoogleAnalytics"; +import "../globals.css"; const geistSans = Geist({ variable: "--font-geist-sans", subsets: ["latin"], diff --git a/app/marketing/page.tsx b/app/marketing/page.tsx index 008bccf..82550ac 100644 --- a/app/marketing/page.tsx +++ b/app/marketing/page.tsx @@ -142,11 +142,11 @@ export default function Home() {

- +
@@ -295,7 +295,9 @@ export default function Home() {
-