diff --git a/src/App.tsx b/src/App.tsx index 33d15f9..56557eb 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 FaqPage from "@/pages/FaqPage"; export default function App() { return ( }> } /> + } /> ); diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index 32a54fc..c060c64 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -30,7 +30,9 @@ export default function Layout() { { "name": "Testimonials", "href": "#testimonials" - } + }, + { name: "Faq", href: "/faq" }, + ]; return ( diff --git a/src/pages/FaqPage.tsx b/src/pages/FaqPage.tsx new file mode 100644 index 0000000..fd0e100 --- /dev/null +++ b/src/pages/FaqPage.tsx @@ -0,0 +1,16 @@ +import FaqSimple from "@/components/sections/faq/FaqSimple"; + +export default function FaqPage() { + return ( + <> +
+ + ); +} diff --git a/src/routes.ts b/src/routes.ts index 362ecb5..5a6fe78 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: '/faq', label: 'Faq', pageFile: 'FaqPage' }, ];