Product
Blog
Docs
Pricing
Log in
Sign up
COBRA/smart-gadgets-store
COBRA/smart-gadgets-store
/
Compare
Merge
COBRA/main
into
templates/main
39 files changed
Hide whitespace
+4173
-13
H
index.ts
+388
-13
templates/main
COBRA/main
backend
backend/ai.ts
+153
-0
backend/auth.ts
+43
-0
backend/db.ts
+700
-0
frontend/api
frontend/api/client.ts
+41
-0
frontend/components/AIChat.tsx
+135
-0
frontend/components/Footer.tsx
+82
-0
frontend/components/Navbar.tsx
+243
-0
frontend/components/ProductCard.tsx
+71
-0
frontend/components/RequireAuth.tsx
+55
-0
frontend/components/ui
frontend/components/ui/EmptyState.tsx
+21
-0
frontend/components/ui/Skeleton.tsx
+18
-0
frontend/components/ui/Spinner.tsx
+17
-0
frontend/contexts
frontend/contexts/AuthContext.tsx
+56
-0
frontend/contexts/CartContext.tsx
+101
-0
frontend/contexts/ToastContext.tsx
+73
-0
frontend/hooks
frontend/layouts
frontend/layouts/MainLayout.tsx
+18
-0
frontend/pages
frontend/pages/AIPage.tsx
+204
-0
frontend/pages/CartPage.tsx
+123
-0
frontend/pages/CheckoutPage.tsx
+258
-0
frontend/pages/DashboardPage.tsx
+174
-0
frontend/pages/HomePage.tsx
+224
-0
frontend/pages/OrderDetailPage.tsx
+100
-0
frontend/pages/OrdersPage.tsx
+88
-0
frontend/pages/ProductDetailPage.tsx
+332
-0
frontend/pages/ProductsPage.tsx
+172
-0
frontend/pages/ProfilePage.tsx
+71
-0
frontend/pages/WishlistPage.tsx
+52
-0
frontend/utils
frontend/utils/format.ts
+44
-0
shared
shared/types.ts
+116
-0