From 7ec5427f441b73285c09a8b44f27a7e9b151440e Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Mon, 15 Jun 2026 19:15:08 +0000 Subject: [PATCH 1/2] Bob AI: Add about page --- src/App.tsx | 2 + src/components/Layout.tsx | 4 +- src/pages/AboutPage.tsx | 87 +++++++++++++++++++++++++++++++++++++++ src/routes.ts | 1 + 4 files changed, 93 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 05a0ac0..cdac18d 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -27,7 +27,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..7ea905b --- /dev/null +++ b/src/pages/AboutPage.tsx @@ -0,0 +1,87 @@ +import { routes } from "@/routes"; +import NavbarCentered from "@/components/ui/NavbarCentered"; +import AboutTextSplit from "@/components/sections/about/AboutTextSplit"; +import AboutFeaturesSplit from "@/components/sections/about/AboutFeaturesSplit"; +import ContactCta from "@/components/sections/contact/ContactCta"; +import FooterSimple from "@/components/sections/footer/FooterSimple"; + +export default function AboutPage() { + return ( +
+ ({ name: r.label, href: r.path }))} + ctaButton={{ text: "Book Appointment", 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 08f1262bf2d2bbc485be40c7d981892e5feadf29 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Mon, 15 Jun 2026 19:15:35 +0000 Subject: [PATCH 2/2] Bob AI: Populate src/pages/AboutPage.tsx (snippet builder, 3 sections) --- src/pages/AboutPage.tsx | 103 ++++++++-------------------------------- 1 file changed, 21 insertions(+), 82 deletions(-) diff --git a/src/pages/AboutPage.tsx b/src/pages/AboutPage.tsx index 7ea905b..fcf8a9b 100644 --- a/src/pages/AboutPage.tsx +++ b/src/pages/AboutPage.tsx @@ -1,87 +1,26 @@ -import { routes } from "@/routes"; -import NavbarCentered from "@/components/ui/NavbarCentered"; -import AboutTextSplit from "@/components/sections/about/AboutTextSplit"; +import Button from "@/components/ui/Button"; +import HeroBackgroundSlot from "@/components/ui/HeroBackgroundSlot"; +import TextAnimation from "@/components/ui/TextAnimation"; +import ImageOrVideo from "@/components/ui/ImageOrVideo"; +import ScrollReveal from "@/components/ui/ScrollReveal"; import AboutFeaturesSplit from "@/components/sections/about/AboutFeaturesSplit"; -import ContactCta from "@/components/sections/contact/ContactCta"; -import FooterSimple from "@/components/sections/footer/FooterSimple"; export default function AboutPage() { return ( -
- ({ name: r.label, href: r.path }))} - ctaButton={{ text: "Book Appointment", href: "/contact" }} - /> - -
- - - - - -
- - -
+ <> +

About Netcare Renal

+
+ +
+
+ ); -} \ No newline at end of file +} -- 2.49.1