feat(marketing): add footer step with form inputs for email, phone, address, tagline, and copyright

This commit is contained in:
AmirReza Jamali
2025-11-05 16:16:53 +03:30
parent c2a14953d0
commit f9bd7fce4b
3 changed files with 108 additions and 0 deletions
@@ -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<FooterFormValues>();
const onSubmit = (data: FooterFormValues) => {
console.log(data);
};
return {
register,
handleSubmit,
onSubmit,
errors,
};
};
export default useFooterStepPresenter;