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