add: Not found page
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
"use client";
|
||||
import { usePathname } from "next/navigation";
|
||||
import ContactUs from "../_contact-us/page";
|
||||
|
||||
const FooterForm = () => {
|
||||
const pathName = usePathname();
|
||||
if (pathName !== "/") return null;
|
||||
return (
|
||||
<div className="absolute w-full -top-[420px] md:-top-72 z-10">
|
||||
<ContactUs />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default FooterForm;
|
||||
Reference in New Issue
Block a user