From 792c70a179e3b692357f583f06b0b10ee2960b2b Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Sun, 26 Apr 2026 16:48:12 +0000 Subject: [PATCH 1/2] Bob AI: Add contact page --- src/App.tsx | 2 + src/components/Layout.tsx | 4 +- src/pages/ContactPage.tsx | 79 +++++++++++++++++++++++++++++++++++++++ src/routes.ts | 1 + 4 files changed, 85 insertions(+), 1 deletion(-) create mode 100644 src/pages/ContactPage.tsx diff --git a/src/App.tsx b/src/App.tsx index 33d15f9..690495b 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -2,11 +2,13 @@ import { Routes, Route } from 'react-router-dom'; import Layout from './components/Layout'; import HomePage from './pages/HomePage'; +import ContactPage from "@/pages/ContactPage"; export default function App() { return ( }> } /> + } /> ); diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index d6a2b69..437ac82 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -19,7 +19,9 @@ export default function Layout() { { "name": "FAQ", "href": "#faq" - } + }, + { name: "Contact", href: "/contact" }, + ]; return ( diff --git a/src/pages/ContactPage.tsx b/src/pages/ContactPage.tsx new file mode 100644 index 0000000..1181f0b --- /dev/null +++ b/src/pages/ContactPage.tsx @@ -0,0 +1,79 @@ +import React from "react"; +import { routes } from "@/routes"; +import NavbarCentered from "@/components/ui/NavbarCentered"; // Corrected import path +import ContactSplitForm from "@/components/sections/contact/ContactSplitForm"; +import FooterSimple from "@/components/sections/footer/FooterSimple"; + +const ContactPage: React.FC = () => { + return ( +
+ ({ name: r.label, href: r.path }))} + ctaButton={{ text: "Get Started", href: "/contact" }} + /> +
+ +
+ +
+ ); +}; + +export default ContactPage; \ No newline at end of file diff --git a/src/routes.ts b/src/routes.ts index 362ecb5..033bb38 100644 --- a/src/routes.ts +++ b/src/routes.ts @@ -6,4 +6,5 @@ export interface Route { export const routes: Route[] = [ { path: '/', label: 'Home', pageFile: 'HomePage' }, + { path: '/contact', label: 'Contact', pageFile: 'ContactPage' }, ]; From 76cc9fda542ab0556861f3809d37d0d42569b960 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Sun, 26 Apr 2026 16:48:24 +0000 Subject: [PATCH 2/2] Bob AI: Populate src/pages/ContactPage.tsx (snippet builder, 2 sections) --- src/pages/ContactPage.tsx | 93 +++++++++------------------------------ 1 file changed, 20 insertions(+), 73 deletions(-) diff --git a/src/pages/ContactPage.tsx b/src/pages/ContactPage.tsx index 1181f0b..35ea834 100644 --- a/src/pages/ContactPage.tsx +++ b/src/pages/ContactPage.tsx @@ -1,79 +1,26 @@ -import React from "react"; -import { routes } from "@/routes"; -import NavbarCentered from "@/components/ui/NavbarCentered"; // Corrected import path +import HeroBillboard from "@/components/sections/hero/HeroBillboard"; import ContactSplitForm from "@/components/sections/contact/ContactSplitForm"; -import FooterSimple from "@/components/sections/footer/FooterSimple"; -const ContactPage: React.FC = () => { +export default function ContactPage() { return ( -
- ({ name: r.label, href: r.path }))} - ctaButton={{ text: "Get Started", href: "/contact" }} + <> + -
- -
- -
+ ); -}; - -export default ContactPage; \ No newline at end of file +}