diff --git a/frontend/app/contact/components/ContactForm.tsx b/frontend/app/contact/components/ContactForm.tsx new file mode 100644 index 000000000000..b7c3b6f27e59 --- /dev/null +++ b/frontend/app/contact/components/ContactForm.tsx @@ -0,0 +1,52 @@ +import React, { useState } from "react"; +import { LuChevronRight } from "react-icons/lu"; + +import Button from "@/lib/components/ui/Button"; + +export const ContactForm = (): JSX.Element => { + const [email, setEmail] = useState(""); + const [message, setMessage] = useState(""); + + const handleSubmit = () => { + console.log("submitting", email, message); + }; + + return ( +
+
+ + setEmail(ev.target.value)} + placeholder="jane@example.com" + className="col-span-2 bg-[#FCFAF6] rounded-md p-2" + required + /> + + +
+ + +
+ ); +}; diff --git a/frontend/app/contact/components/index.ts b/frontend/app/contact/components/index.ts new file mode 100644 index 000000000000..a4415af406b6 --- /dev/null +++ b/frontend/app/contact/components/index.ts @@ -0,0 +1 @@ +export * from "./ContactForm"; diff --git a/frontend/app/contact/page.tsx b/frontend/app/contact/page.tsx index c3a5bda54139..dd73558a036d 100644 --- a/frontend/app/contact/page.tsx +++ b/frontend/app/contact/page.tsx @@ -2,6 +2,9 @@ import { useFeatureIsOn } from "@growthbook/growthbook-react"; import { redirect } from "next/navigation"; +import Card from "@/lib/components/ui/Card"; + +import { ContactForm } from "./components"; import { FooterSection, HomeHeader, @@ -20,7 +23,12 @@ const ContactSalesPage = (): JSX.Element => {
- TODO: The Form! + +

+ Speak to our Sales team +

+ +