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..fcf8a9b --- /dev/null +++ b/src/pages/AboutPage.tsx @@ -0,0 +1,26 @@ +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"; + +export default function AboutPage() { + return ( + <> +

About Netcare Renal

+
+ +
+
+ + ); +} 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' }, ];