From 9c5b586030c10cf84fda590b8e0643b5efa607a3 Mon Sep 17 00:00:00 2001 From: Blackbox Agent Date: Mon, 23 Mar 2026 03:12:19 +0000 Subject: [PATCH] feat(payment): add cart FAB, payment page, qty updates, invoice sidebar --- app/layout.tsx | 4 ++ app/page.tsx | 7 +-- app/payment/page.tsx | 127 +++++++++++++++++++++++++++++++++++++ app/providers.tsx | 7 ++- components/CartFab.tsx | 32 ++++++++++ lib/cart-context.tsx | 139 +++++++++++++++++++++++++++++++++++++++++ 6 files changed, 311 insertions(+), 5 deletions(-) create mode 100644 app/payment/page.tsx create mode 100644 components/CartFab.tsx create mode 100644 lib/cart-context.tsx diff --git a/app/layout.tsx b/app/layout.tsx index 8d6fa24..2bbd2a1 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -3,6 +3,7 @@ import { Geist, Geist_Mono } from "next/font/google"; import "./globals.css"; import Header from "@/layouts/header"; import Footer from "@/layouts/footer"; +import CartFab from "@/components/CartFab"; import { Providers } from "./providers"; const geistSans = Geist({ @@ -55,6 +56,9 @@ export default function RootLayout({ {/* Footer always at bottom */}