diff --git a/src/app/notifications/page.tsx b/src/app/notifications/page.tsx new file mode 100644 index 0000000..c108260 --- /dev/null +++ b/src/app/notifications/page.tsx @@ -0,0 +1,48 @@ +"use client"; + +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import { NavbarStyleApple } from "@/components/navbar/NavbarStyleApple/NavbarStyleApple"; +import { FooterBase } from "@/components/sections/footer/FooterBase"; +import { useState } from "react"; + +export default function NotificationsPage() { + const [notifications] = useState([ + { id: "n1", title: "Order Status Update", message: "Your artisan rug is now in production.", time: "2 hours ago" }, + { id: "n2", title: "Shipping Alert", message: "Your ceramic tagine has been dispatched.", time: "1 day ago" } + ]); + + return ( + + + + Status Change Alerts + + {notifications.map((n) => ( + + {n.title} + {n.message} + {n.time} + + ))} + + + + + ); +} \ No newline at end of file diff --git a/src/app/page.tsx b/src/app/page.tsx index 689fca4..a858724 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -34,6 +34,7 @@ export default function LandingPage() { { name: "About", id: "about" }, { name: "Contact", id: "contact" }, { name: "Admin", id: "/admin/dashboard" }, + { name: "Notifications", id: "/notifications" }, ]} brandName="RoseSouk" /> diff --git a/src/app/track-order/page.tsx b/src/app/track-order/page.tsx new file mode 100644 index 0000000..2aeab92 --- /dev/null +++ b/src/app/track-order/page.tsx @@ -0,0 +1,87 @@ +"use client"; + +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple'; +import FooterBase from '@/components/sections/footer/FooterBase'; + +export default function TrackOrderPage() { + return ( + + + + + + Track Your Order + + Enter your order number to see the current status of your shipment. + + + + Track + + + + + + Timeline + + {['Order Placed', 'Processing', 'In Transit', 'Out for Delivery', 'Delivered'].map((step, idx) => ( + + + {idx + 1} + + {step} + + ))} + + + + + + + + ); +} \ No newline at end of file
{n.message}
Enter your order number to see the current status of your shipment.