71094f6c86
This commit refactors the contact form for better reusability and moves it from the global footer to a dedicated section on the homepage. Additionally, it enhances the user experience on the 404 page. Key changes: - The `ContactUsForm` component is now configurable with props for grid layout (`columnsPerRow`) and button text, making it more versatile. - The contact form has been removed from the shared footer in the main layout and is now explicitly included only on the homepage. - The 404 "Not Found" page has been updated to include a direct link to the homepage for easier navigation. - Minor style adjustments were made to the 404 page layout and input field padding for improved visual consistency.
12 lines
218 B
TypeScript
12 lines
218 B
TypeScript
import ContactUs from "../_contact-us/page";
|
|
|
|
const FooterForm = () => {
|
|
return (
|
|
<div className="absolute w-full -top-[420px] md:-top-72 z-10">
|
|
<ContactUs />
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default FooterForm;
|