diff --git a/components/Core/DraggableModal.tsx b/components/Core/DraggableModal.tsx index 1b7864f2..fa630d37 100644 --- a/components/Core/DraggableModal.tsx +++ b/components/Core/DraggableModal.tsx @@ -22,11 +22,10 @@ const DraggableModal = ({ children, href, handleClose, isVisible = null }) => { onClick={handleClose} /> -
+
( +const AboutContent = ({ isPopup = false }) => (

{` Heno. is a true trailblazer of the music industry, boasting a plethora of talents as an diff --git a/components/Pages/ContactPage/ContactContent.tsx b/components/Pages/ContactPage/ContactContent.tsx index 8891dc00..80bf82b0 100644 --- a/components/Pages/ContactPage/ContactContent.tsx +++ b/components/Pages/ContactPage/ContactContent.tsx @@ -4,7 +4,7 @@ import { useContact } from "../../../providers/ContactProvider" import { SCREEN } from "../../../hooks/useContactData" import ContactSuccess from "./ContactSuccess" -const ContactContent = () => { +const ContactContent = ({ isPopup = false }) => { const { screenStatus } = useContact() return ( @@ -19,8 +19,8 @@ const ContactContent = () => { className="h-fit max-h-full overflow-y-auto text-[12px] md:text-[16px] px-[15px] md:px-[20px] flex flex-col gap-y-[5px] md:gap-y-[20px]" > - {screenStatus === SCREEN.INPUT_MODE && } - {screenStatus === SCREEN.SUCCESS && } + {screenStatus === SCREEN.INPUT_MODE && } + {screenStatus === SCREEN.SUCCESS && }

diff --git a/components/Pages/ContactPage/ContactForm.tsx b/components/Pages/ContactPage/ContactForm.tsx index 18983211..1b3553d4 100644 --- a/components/Pages/ContactPage/ContactForm.tsx +++ b/components/Pages/ContactPage/ContactForm.tsx @@ -6,7 +6,7 @@ import TextArea from "../../Core/TextArea" import { validation } from "./validation" import useIsMobile from "../../../hooks/useIsMobile" -const ContactForm = () => { +const ContactForm = ({ isPopup }) => { const isMobile = useIsMobile() const { @@ -21,8 +21,10 @@ const ContactForm = () => { handleSubmit, } = useContact() - const inputClasses = `!w-[200px] md:!w-[400px] !text-[10px] md:!text-[20px] h-[32px] md:h-[44px]` - const labelClasses = "uppercase text-[10px] md:text-[20px]" + const inputClasses = `${ + isPopup ? "md:!w-[250px]" : "md:!w-[400px] md:h-[44px]" + } !w-[200px] !text-[10px] md:!text-[20px] h-[32px] ` + const labelClasses = `uppercase text-[10px] ${!isPopup && "md:text-[20px]"}` const buttonRef = useRef() as any @@ -36,7 +38,11 @@ const ContactForm = () => { onSubmit={handleSubmit} validationSchema={validation} > -
+

ALL BOOKING / INQUIRIES :

HENOMGMT@GMAIL.COM

@@ -79,7 +85,9 @@ const ContactForm = () => {