From 1a4739668476037179589713e0047e7fecd1aa9b Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Sun, 5 Jul 2026 16:39:00 +0000 Subject: [PATCH] Bob AI: Added top padding to contact form to avoid overlap with navb --- src/pages/ContactPage.tsx | 95 +++---------------- src/pages/ContactPage/sections/Contact.tsx | 43 +++++++++ .../ContactPage/sections/ContactForm.tsx | 53 +++++++++++ src/pages/ContactPage/sections/Faq.tsx | 36 +++++++ 4 files changed, 147 insertions(+), 80 deletions(-) create mode 100644 src/pages/ContactPage/sections/Contact.tsx create mode 100644 src/pages/ContactPage/sections/ContactForm.tsx create mode 100644 src/pages/ContactPage/sections/Faq.tsx diff --git a/src/pages/ContactPage.tsx b/src/pages/ContactPage.tsx index c7d987b..a1c4cf3 100644 --- a/src/pages/ContactPage.tsx +++ b/src/pages/ContactPage.tsx @@ -1,87 +1,22 @@ -import ContactCta from '@/components/sections/contact/ContactCta'; -import ContactSplitFormParallax from '@/components/sections/contact/ContactSplitFormParallax'; -import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia'; -import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; +// AUTO-GENERATED shell by per-section-migrate. +// Section bodies live in the sibling sections/ folder (one file per section). +// Edit those section files directly. Non-block content (wrappers, +// non-inlinable sections) is preserved inline; extracted section blocks +// become component refs. -export default function ContactPage() { +import React from 'react'; +import ContactFormSection from './ContactPage/sections/ContactForm'; +import ContactSection from './ContactPage/sections/Contact'; +import FaqSection from './ContactPage/sections/Faq'; + +export default function ContactPage(): React.JSX.Element { return ( - <> -
- - - -
+<> + -
- - - -
+ -
- - - -
+ ); } diff --git a/src/pages/ContactPage/sections/Contact.tsx b/src/pages/ContactPage/sections/Contact.tsx new file mode 100644 index 0000000..54f6157 --- /dev/null +++ b/src/pages/ContactPage/sections/Contact.tsx @@ -0,0 +1,43 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "contact" section. + +import React from 'react'; +import ContactSplitFormParallax from '@/components/sections/contact/ContactSplitFormParallax'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function ContactSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/ContactPage/sections/ContactForm.tsx b/src/pages/ContactPage/sections/ContactForm.tsx new file mode 100644 index 0000000..fc621de --- /dev/null +++ b/src/pages/ContactPage/sections/ContactForm.tsx @@ -0,0 +1,53 @@ +/* eslint-disable */ +// @ts-nocheck — generated by catalog-eject; runtime-correct but TS strict-mode false-positives on inlined catalog body +import ScrollReveal from "@/components/ui/ScrollReveal"; +import TextAnimation from "@/components/ui/TextAnimation"; +import Button from "@/components/ui/Button"; + +const primaryButton = { + text: "Copy Email", + href: "#" +}; +const secondaryButton = { + text: "Inquire", + href: "mailto:noorandnoirstudio@gmail.com" +}; + +const ContactFormInline = () => { + return ( +
+
+ +
+
+
+

{"Email us"}

+
+ + + +
+
+
+
+
+
+
+ ); +}; + +export default function ContactFormSection() { + return ( +
+ +
+ ); +} diff --git a/src/pages/ContactPage/sections/Faq.tsx b/src/pages/ContactPage/sections/Faq.tsx new file mode 100644 index 0000000..a1e04d3 --- /dev/null +++ b/src/pages/ContactPage/sections/Faq.tsx @@ -0,0 +1,36 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "faq" section. + +import React from 'react'; +import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function FaqSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +}