From f1671aef2c13bba9e4de884ef37a01519dea185d Mon Sep 17 00:00:00 2001 From: Harkamal Randhawa Date: Wed, 15 Apr 2026 15:42:55 -0600 Subject: [PATCH 1/3] restore cart across devices --- web/context/CartContext.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/web/context/CartContext.js b/web/context/CartContext.js index f1c76220..f0511aaf 100644 --- a/web/context/CartContext.js +++ b/web/context/CartContext.js @@ -45,6 +45,12 @@ export function CartProvider({ children }) { } }, []); + useEffect(() => { + if (user?.storeId && !localStorage.getItem(STORE_KEY)) { + setStoreId(user.storeId); + } + }, [user, setStoreId]); + const refreshCart = useCallback(async () => { if (!token || !selectedStoreId) { setCart(null); -- 2.49.1 From 5a6a63eef6e4c7d6b4a200621c4f3722e8f594e0 Mon Sep 17 00:00:00 2001 From: Harkamal Randhawa Date: Wed, 15 Apr 2026 15:42:59 -0600 Subject: [PATCH 2/3] rebuild stripe key -- 2.49.1 From 9cb0845444b1d325046574f78c2271bc6d685f08 Mon Sep 17 00:00:00 2001 From: Harkamal Randhawa Date: Wed, 15 Apr 2026 15:44:17 -0600 Subject: [PATCH 3/3] center navbar links --- web/app/globals.css | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/web/app/globals.css b/web/app/globals.css index ec01a40b..1b27a6bb 100644 --- a/web/app/globals.css +++ b/web/app/globals.css @@ -28,9 +28,9 @@ body { box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); z-index: 1000; padding: 0.5rem 2rem; - display: flex; + display: grid; + grid-template-columns: 1fr auto 1fr; align-items: center; - justify-content: space-between; min-height: 70px; /* border-radius: 0px 0px 10px 10px; */ } @@ -57,7 +57,6 @@ body { display: flex; align-items: center; gap: 1.25rem; - flex: 1; justify-content: center; } @@ -1022,15 +1021,11 @@ body { /* Auth/nav */ -.navbar { - justify-content: space-between; -} - .nav-auth { display: flex; align-items: center; gap: 0.5rem; - margin-left: auto; + justify-self: end; padding-left: 1.5rem; flex-shrink: 0; } -- 2.49.1