From 15639e749dfe1bf57b14fc85e126f4ef334e4ff7 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Sun, 26 Apr 2026 07:07:47 +0000 Subject: [PATCH 1/2] Bob AI: Add about page --- src/App.tsx | 2 + src/components/Layout.tsx | 4 +- src/pages/AboutPage.tsx | 101 ++++++++++++++++++++++++++++++++++++++ src/routes.ts | 1 + 4 files changed, 107 insertions(+), 1 deletion(-) create mode 100644 src/pages/AboutPage.tsx diff --git a/src/App.tsx b/src/App.tsx index 33d15f9..164e281 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 AboutPage from "@/pages/AboutPage"; export default function App() { return ( }> } /> + } /> ); diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index f7dc163..ad4921b 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -15,7 +15,9 @@ export default function Layout() { { "name": "Testimonials", "href": "#testimonials" - } + }, + { name: "About", href: "/about" }, + ]; return ( diff --git a/src/pages/AboutPage.tsx b/src/pages/AboutPage.tsx new file mode 100644 index 0000000..e8efd45 --- /dev/null +++ b/src/pages/AboutPage.tsx @@ -0,0 +1,101 @@ +import { routes } from "@/routes"; +import NavbarCentered from "@/components/ui/NavbarCentered"; // Corrected import path +import HeroSplit from "@/components/sections/hero/HeroSplit"; +import AboutFeaturesSplit from "@/components/sections/about/AboutFeaturesSplit"; +import TestimonialQuoteCards from "@/components/sections/testimonial/TestimonialQuoteCards"; +import FaqSimple from "@/components/sections/faq/FaqSimple"; +import FooterSimple from "@/components/sections/footer/FooterSimple"; + +export default function AboutPage() { + return ( +
+ ({ name: r.label, href: r.path }))} + ctaButton={{ text: "Get Started", href: "/contact" }} + /> + +
+ + + + + + + +
+ + +
+ ); +} \ No newline at end of file diff --git a/src/routes.ts b/src/routes.ts index 362ecb5..1880b6c 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: '/about', label: 'About', pageFile: 'AboutPage' }, ]; -- 2.49.1 From 361fe7c199e93e57eafaeb2b22264baaa9eaec8a Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Sun, 26 Apr 2026 07:08:17 +0000 Subject: [PATCH 2/2] Bob AI: Populate src/pages/AboutPage.tsx (snippet builder, 3 sections) --- src/pages/AboutPage.tsx | 118 +++++++++------------------------------- 1 file changed, 26 insertions(+), 92 deletions(-) diff --git a/src/pages/AboutPage.tsx b/src/pages/AboutPage.tsx index e8efd45..768d23e 100644 --- a/src/pages/AboutPage.tsx +++ b/src/pages/AboutPage.tsx @@ -1,101 +1,35 @@ -import { routes } from "@/routes"; -import NavbarCentered from "@/components/ui/NavbarCentered"; // Corrected import path import HeroSplit from "@/components/sections/hero/HeroSplit"; import AboutFeaturesSplit from "@/components/sections/about/AboutFeaturesSplit"; import TestimonialQuoteCards from "@/components/sections/testimonial/TestimonialQuoteCards"; -import FaqSimple from "@/components/sections/faq/FaqSimple"; -import FooterSimple from "@/components/sections/footer/FooterSimple"; export default function AboutPage() { return ( -
- ({ name: r.label, href: r.path }))} - ctaButton={{ text: "Get Started", href: "/contact" }} + <> + - -
- - - - - - - -
- -
+ + ); -} \ No newline at end of file +} -- 2.49.1