From f20fa6fcb4c9407015c698fcb898b4fa10973ad8 Mon Sep 17 00:00:00 2001 From: bender Date: Sun, 7 Jun 2026 05:32:21 +0000 Subject: [PATCH 1/3] Add src/app/admin/page.tsx --- src/app/admin/page.tsx | 119 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 119 insertions(+) create mode 100644 src/app/admin/page.tsx diff --git a/src/app/admin/page.tsx b/src/app/admin/page.tsx new file mode 100644 index 0000000..e814a5c --- /dev/null +++ b/src/app/admin/page.tsx @@ -0,0 +1,119 @@ +"use client"; + +import { ThemeProvider } from '@/providers/themeProvider/ThemeProvider'; +import ReactLenis from 'lenis/react'; +import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline'; +import FooterMedia from '@/components/sections/footer/FooterMedia'; +import { PlusCircle } from 'lucide-react'; + +export default function AdminPage() { + const navItems = [ + { name: 'Home', id: '/' }, + { name: 'Offers', id: '/#offers' }, + { name: 'Products', id: '/#products' }, + { name: 'Reviews', id: '/#testimonials' }, + { name: 'FAQs', id: '/#faq' }, + { name: 'Pickup', id: '/#contact' }, + { name: 'Admin', id: '/admin' }, + { name: 'Staff', id: '/staff' } + ]; + + return ( + + + + +
+
+ +

+ Admin Dashboard +

+

+ Welcome, Admin. Here you can upload new product offers, update existing inventory, and manage promotional images. +

+
+ + +
+
+
+ + +
+
+ ); +} -- 2.49.1 From 3d28768c0556e32f9c37d5a1464adb2fa9082ff7 Mon Sep 17 00:00:00 2001 From: bender Date: Sun, 7 Jun 2026 05:32:21 +0000 Subject: [PATCH 2/3] Update src/app/page.tsx --- src/app/page.tsx | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 7e2fbef..57ea27f 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -191,23 +191,23 @@ export default function LandingPage() { useInvertedBackground={true} products={[ { - id: "p1", name: "Organic Red Apples", price: "$3.99/lb", imageSrc: "http://img.b2bpic.net/free-photo/juicy-fresh-apples-wooden-rustic-tray_114579-61904.jpg", imageAlt: "Vibrant red organic apples", rating: 5, + id: "p1", name: "Organic Red Apples", price: "₹3.99/lb", imageSrc: "http://img.b2bpic.net/free-photo/juicy-fresh-apples-wooden-rustic-tray_114579-61904.jpg", imageAlt: "Vibrant red organic apples", rating: 5 }, { - id: "p2", name: "Fresh Green Broccoli", price: "$2.49/lb", imageSrc: "http://img.b2bpic.net/free-photo/top-view-green-broccoli-along-with-mushrooms-grey-floor_140725-13457.jpg", imageAlt: "Fresh organic broccoli florets", rating: 4, + id: "p2", name: "Fresh Green Broccoli", price: "₹2.49/lb", imageSrc: "http://img.b2bpic.net/free-photo/top-view-green-broccoli-along-with-mushrooms-grey-floor_140725-13457.jpg", imageAlt: "Fresh organic broccoli florets", rating: 4 }, { - id: "p3", name: "Premium Whole Milk", price: "$4.29/gallon", imageSrc: "http://img.b2bpic.net/free-photo/clear-glass-bottle-filled-with-white-liquid_209204-9.jpg", imageAlt: "Carton of premium whole milk", rating: 5, + id: "p3", name: "Premium Whole Milk", price: "₹4.29/gallon", imageSrc: "http://img.b2bpic.net/free-photo/clear-glass-bottle-filled-with-white-liquid_209204-9.jpg", imageAlt: "Carton of premium whole milk", rating: 5 }, { - id: "p4", name: "Artisan Sourdough Bread", price: "$5.75", imageSrc: "http://img.b2bpic.net/free-photo/brown-cookies-white-textile_209848-69.jpg", imageAlt: "Freshly baked artisan sourdough bread", rating: 5, + id: "p4", name: "Artisan Sourdough Bread", price: "₹5.75", imageSrc: "http://img.b2bpic.net/free-photo/brown-cookies-white-textile_209848-69.jpg", imageAlt: "Freshly baked artisan sourdough bread", rating: 5 }, { - id: "p5", name: "Wild Caught Salmon Fillet", price: "$12.99/lb", imageSrc: "http://img.b2bpic.net/free-photo/delicious-food-groups-arrangement_23-2149235821.jpg", imageAlt: "Fresh wild-caught salmon fillet", rating: 4, + id: "p5", name: "Wild Caught Salmon Fillet", price: "₹12.99/lb", imageSrc: "http://img.b2bpic.net/free-photo/delicious-food-groups-arrangement_23-2149235821.jpg", imageAlt: "Fresh wild-caught salmon fillet", rating: 4 }, { - id: "p6", name: "Gourmet Cheese Selection", price: "$9.50", imageSrc: "http://img.b2bpic.net/free-photo/delicious-cheese-table_114579-8837.jpg", imageAlt: "Selection of gourmet cheeses", rating: 5, - }, + id: "p6", name: "Gourmet Cheese Selection", price: "₹9.50", imageSrc: "http://img.b2bpic.net/free-photo/delicious-cheese-table_114579-8837.jpg", imageAlt: "Selection of gourmet cheeses", rating: 5 + } ]} title="Explore Our Premium Selection" description="Discover a vast variety of high-quality products, from daily essentials to gourmet delights. Find exactly what you need with ease and add to your pickup cart." @@ -299,19 +299,19 @@ export default function LandingPage() { description="Ready to skip the line? Fill out the form below with your details and preferred pickup time, and we'll have your order ready for you." inputs={[ { - name: "name", type: "text", placeholder: "Your Full Name", required: true, + name: "name", type: "text", placeholder: "Your Full Name", required: true }, { - name: "phone", type: "tel", placeholder: "Phone Number", required: true, + name: "phone", type: "tel", placeholder: "Phone Number", required: true }, { name: "email", type: "email", placeholder: "Email Address (Optional)"}, { - name: "pickupTime", type: "datetime-local", placeholder: "Preferred Pickup Time", required: true, + name: "pickupTime", type: "datetime-local", placeholder: "Preferred Pickup Time", required: true }, ]} textarea={{ - name: "notes", placeholder: "Any special instructions or preferences?", rows: 4, + name: "notes", placeholder: "Any special instructions or preferences?", rows: 4 }} imageSrc="http://img.b2bpic.net/free-photo/man-checks-online-veggies-are-organic_482257-76736.jpg" imageAlt="Customer picking up pre-ordered groceries at a counter" @@ -380,4 +380,4 @@ export default function LandingPage() { ); -} +} \ No newline at end of file -- 2.49.1 From d1993f6393e542576b80014533153f51e2dc0545 Mon Sep 17 00:00:00 2001 From: bender Date: Sun, 7 Jun 2026 05:32:21 +0000 Subject: [PATCH 3/3] Add src/app/staff/page.tsx --- src/app/staff/page.tsx | 119 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 119 insertions(+) create mode 100644 src/app/staff/page.tsx diff --git a/src/app/staff/page.tsx b/src/app/staff/page.tsx new file mode 100644 index 0000000..633c65a --- /dev/null +++ b/src/app/staff/page.tsx @@ -0,0 +1,119 @@ +"use client"; + +import { ThemeProvider } from '@/providers/themeProvider/ThemeProvider'; +import ReactLenis from 'lenis/react'; +import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline'; +import FooterMedia from '@/components/sections/footer/FooterMedia'; +import { ShoppingBag, Timer, RefreshCcw } from 'lucide-react'; + +export default function StaffPage() { + const navItems = [ + { name: 'Home', id: '/' }, + { name: 'Offers', id: '/#offers' }, + { name: 'Products', id: '/#products' }, + { name: 'Reviews', id: '/#testimonials' }, + { name: 'FAQs', id: '/#faq' }, + { name: 'Pickup', id: '/#contact' }, + { name: 'Admin', id: '/admin' }, + { name: 'Staff', id: '/staff' } + ]; + + return ( + + + + +
+
+ +

+ Staff Order Management +

+

+ Welcome, Staff. Here you can view incoming online orders, update their pickup status, and monitor customer pickup timings. +

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