From 751fa37b6b3589e3b49773545df4ea9f24988207 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Sun, 26 Apr 2026 09:39:47 +0000 Subject: [PATCH 1/2] Bob AI: Add history page --- src/App.tsx | 2 + src/components/Layout.tsx | 4 +- src/pages/HistoryPage.tsx | 84 +++++++++++++++++++++++++++++++++++++++ src/routes.ts | 1 + 4 files changed, 90 insertions(+), 1 deletion(-) create mode 100644 src/pages/HistoryPage.tsx 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..33fe3a8 --- /dev/null +++ b/src/pages/HistoryPage.tsx @@ -0,0 +1,84 @@ +import { routes } from "@/routes"; +import NavbarCentered from "@/components/ui/NavbarCentered"; // Corrected import path +import HeroSplit from "@/components/sections/hero/HeroSplit"; +import ChecklistTimeline from "@/components/ui/ChecklistTimeline"; +import ContactCta from "@/components/sections/contact/ContactCta"; +import FooterSimple from "@/components/sections/footer/FooterSimple"; + +const historyTimelineItems = [ + { + title: "Founded in 2005", + description: "Our journey began with a small team and a big vision to revolutionize the industry.", + }, + { + title: "First Product Launch (2008)", + description: "After years of development, we proudly launched our flagship product to critical acclaim.", + }, + { + title: "Expansion to New Markets (2012)", + description: "Recognizing growing demand, we expanded our operations and services globally.", + }, + { + title: "Innovation Award (2017)", + description: "Awarded for our groundbreaking contributions to technology and user experience.", + }, + { + title: "Community Engagement (2020)", + description: "Launched initiatives to give back to the community and foster sustainable practices.", + }, + { + title: "Future Vision (Today)", + description: "Continuously evolving, we look forward to shaping the future with innovative solutions.", + }, +]; + +export default function HistoryPage() { + return ( +
+ ({ name: r.label, href: r.path }))} + ctaButton={{ text: "Get Started", href: "/contact" }} + /> + +
+ + +
+
+

Our Milestones

+ +
+
+ + +
+ + +
+ ); +} \ 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' }, ]; -- 2.49.1 From 92897331e652ff280ce9e6f62b175b885d756bc5 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Sun, 26 Apr 2026 09:40:55 +0000 Subject: [PATCH 2/2] Bob AI: Populate the newly-created page at src/pages/HistoryPage.tsx --- src/pages/HistoryPage.tsx | 117 +++++++++++++++++--------------------- 1 file changed, 52 insertions(+), 65 deletions(-) diff --git a/src/pages/HistoryPage.tsx b/src/pages/HistoryPage.tsx index 33fe3a8..305152c 100644 --- a/src/pages/HistoryPage.tsx +++ b/src/pages/HistoryPage.tsx @@ -1,83 +1,70 @@ -import { routes } from "@/routes"; -import NavbarCentered from "@/components/ui/NavbarCentered"; // Corrected import path -import HeroSplit from "@/components/sections/hero/HeroSplit"; +import NavbarCentered from "@/components/ui/NavbarCentered"; import ChecklistTimeline from "@/components/ui/ChecklistTimeline"; -import ContactCta from "@/components/sections/contact/ContactCta"; import FooterSimple from "@/components/sections/footer/FooterSimple"; -const historyTimelineItems = [ - { - title: "Founded in 2005", - description: "Our journey began with a small team and a big vision to revolutionize the industry.", - }, - { - title: "First Product Launch (2008)", - description: "After years of development, we proudly launched our flagship product to critical acclaim.", - }, - { - title: "Expansion to New Markets (2012)", - description: "Recognizing growing demand, we expanded our operations and services globally.", - }, - { - title: "Innovation Award (2017)", - description: "Awarded for our groundbreaking contributions to technology and user experience.", - }, - { - title: "Community Engagement (2020)", - description: "Launched initiatives to give back to the community and foster sustainable practices.", - }, - { - title: "Future Vision (Today)", - description: "Continuously evolving, we look forward to shaping the future with innovative solutions.", - }, +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 ( -
+
({ name: r.label, href: r.path }))} - ctaButton={{ text: "Get Started", href: "/contact" }} + logo="ArtisanBakery" + navItems={navItems} + ctaButton={{ text: "Order Online", href: "/#products" }} /> -
- +
+
+

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. +

+
-
-
-

Our Milestones

- -
-
- - +
+ +
); -- 2.49.1