diff --git a/src/app/marketing/_components/FooterStep.tsx b/src/app/marketing/_components/FooterStep.tsx new file mode 100644 index 0000000..ffdd5b3 --- /dev/null +++ b/src/app/marketing/_components/FooterStep.tsx @@ -0,0 +1,72 @@ +"use client"; +import InputGroup from "@/components/FormElements/InputGroup"; +import { TextAreaGroup } from "@/components/FormElements/InputGroup/text-area"; +import { ShowcaseSection } from "@/components/Layouts/showcase-section"; +import { FormErrorMessages } from "@/constants/Texts"; +import useFooterStepPresenter from "./useFooterStepPresenter"; + + +const FooterStep = () => { + const { errors, handleSubmit, onSubmit, register } = + useFooterStepPresenter(); + + return ( +
+ ); +}; + +export default FooterStep; \ No newline at end of file diff --git a/src/app/marketing/_components/useFooterStepPresenter.ts b/src/app/marketing/_components/useFooterStepPresenter.ts new file mode 100644 index 0000000..0e42083 --- /dev/null +++ b/src/app/marketing/_components/useFooterStepPresenter.ts @@ -0,0 +1,30 @@ +import { useForm } from "react-hook-form"; + +interface FooterFormValues { + email: string; + phoneNumber?: string; + address?: string; + tagline?: string; + copyright?: string; +} + +const useFooterStepPresenter = () => { + const { + register, + handleSubmit, + formState: { errors }, + } = useForm