diff --git a/src/App.tsx b/src/App.tsx index 33d15f9..89ec525 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 HistoryPage from "@/pages/HistoryPage"; export default function App() { return ( }> } /> + } /> ); diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index 28d9c1d..a761692 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -19,7 +19,9 @@ export default function Layout() { { "name": "Contact", "href": "#contact" - } + }, + { name: "History", href: "/history" }, + ]; return ( diff --git a/src/pages/HistoryPage.tsx b/src/pages/HistoryPage.tsx new file mode 100644 index 0000000..305152c --- /dev/null +++ b/src/pages/HistoryPage.tsx @@ -0,0 +1,71 @@ +import NavbarCentered from "@/components/ui/NavbarCentered"; +import ChecklistTimeline from "@/components/ui/ChecklistTimeline"; +import FooterSimple from "@/components/sections/footer/FooterSimple"; + +const navItems = [ + { name: "Home", href: "/#hero" }, + { name: "Our Story", href: "/#about" }, + { name: "Menu", href: "/#products" }, + { name: "Contact", href: "/#contact" }, + { name: "History", href: "/history" }, +]; + +export default function HistoryPage() { + return ( +
+ + +
+
+

Our History

+

+ From a small neighborhood oven to a beloved city staple, our journey has been fueled by a passion for traditional baking and community. Explore the milestones that shaped ArtisanBakery. +

+
+ +
+ +
+
+ + +
+ ); +} \ No newline at end of file diff --git a/src/routes.ts b/src/routes.ts index 362ecb5..04d03ca 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: '/history', label: 'History', pageFile: 'HistoryPage' }, ];