├── src
├── vite-env.d.ts
├── main.tsx
├── data
│ ├── banners.ts
│ └── products.ts
├── components
│ ├── layout
│ │ ├── CustomCursor.tsx
│ │ ├── Footer.tsx
│ │ └── Navbar.tsx
│ ├── common
│ │ ├── BannerCarousel.tsx
│ │ ├── Wishlist.tsx
│ │ ├── ProductCard.tsx
│ │ └── Cart.tsx
│ └── admin
│ │ └── UserManagement.tsx
├── App.tsx
├── types
│ └── index.ts
├── index.css
├── pages
│ ├── Home.tsx
│ ├── Orders.tsx
│ ├── Auth.tsx
│ ├── ProductDetail.tsx
│ ├── Products.tsx
│ ├── AdminDashboard.tsx
│ └── Checkout.tsx
└── store
│ └── useStore.ts
├── postcss.config.js
├── tsconfig.json
├── tailwind.config.js
├── vite.config.ts
├── .gitignore
├── index.html
├── tsconfig.node.json
├── tsconfig.app.json
├── eslint.config.js
└── package.json
/src/vite-env.d.ts:
--------------------------------------------------------------------------------
1 | ///
Your wishlist is empty
67 | setWishlistOpen(false)} 70 | className="inline-block px-6 py-2 bg-black dark:bg-white text-white dark:text-black rounded-lg hover:bg-gray-800 dark:hover:bg-gray-200 transition-colors" 71 | > 72 | Discover Products 73 | 74 |103 | {item.product.brand} 104 |
105 |106 | ${item.product.price} 107 |
108 |115 | {product.description} 116 |
117 | 118 |Free shipping on all orders over $75
42 |100% secure payment with multiple options
55 |Round-the-clock customer support
68 |85 | Handpicked selections from our premium collection 86 |
87 |118 | Fresh styles just landed - be the first to wear them 119 |
120 |142 | Subscribe to our newsletter for exclusive deals and latest fashion updates 143 |
144 |Your cart is empty
58 | setCartOpen(false)} 61 | className="inline-block px-6 py-2 bg-black dark:bg-white text-white dark:text-black rounded-lg hover:bg-gray-800 dark:hover:bg-gray-200 transition-colors" 62 | > 63 | Continue Shopping 64 | 65 |90 | {item.selectedColor} • {item.selectedSize} 91 |
92 |93 | ${item.price} 94 |
95 |147 | Free shipping on orders over $75 148 |
149 | )} 150 |18 | You need to be logged in to view your orders. 19 |
20 | 24 | Login 25 | 26 |77 | Track and manage your orders 78 |
79 |92 | Start shopping to see your orders here 93 |
94 | 98 | Start Shopping 99 | 100 |118 | Placed on {order.createdAt.toLocaleDateString()} 119 |
120 |135 | ${order.total.toFixed(2)} 136 |
137 |143 | {order.paymentMethod} 144 |
145 |151 | {order.trackingNumber || 'Not available'} 152 |
153 |173 | {item.selectedColor} • {item.selectedSize} • Qty: {item.quantity} 174 |
175 |177 | ${(item.price * item.quantity).toFixed(2)} 178 |
179 |Subtotal: ${order.subtotal.toFixed(2)}
188 |Tax: ${order.tax.toFixed(2)}
189 |Shipping: ${order.shipping.toFixed(2)}
190 |193 | Total: ${order.total.toFixed(2)} 194 |
195 |202 | Estimated delivery: {order.estimatedDelivery.toLocaleDateString()} 203 |
204 || 79 | User 80 | | 81 |82 | Role 83 | | 84 |85 | Status 86 | | 87 |88 | Orders 89 | | 90 |91 | Joined 92 | | 93 |94 | Last Login 95 | | 96 |97 | Actions 98 | | 99 |
|---|---|---|---|---|---|---|
|
105 |
106 |
121 |
108 |
109 | {user.firstName.charAt(0)}{user.lastName.charAt(0)}
110 |
111 |
112 |
113 |
120 |
114 | {user.firstName} {user.lastName}
115 |
116 |
117 | {user.email}
118 |
119 | |
122 | 123 | 131 | | 132 |133 | 153 | | 154 |155 | {user.orders.length} 156 | | 157 |158 | {user.createdAt.toLocaleDateString()} 159 | | 160 |161 | {user.lastLogin ? user.lastLogin.toLocaleDateString() : 'Never'} 162 | | 163 |
164 |
165 | {user.role === 'admin' ? (
166 |
174 | |
175 |
No users found matching your criteria.
186 |99 | {isLogin ? 'Sign in to your account' : 'Join our community today'} 100 |
101 |289 | {isLogin ? "Don't have an account?" : 'Already have an account?'} 290 | 296 |
297 |175 | {product.brand} 176 |
177 |221 | {product.description} 222 |
223 |176 | Showing {filteredProducts.length} of {products.length} products 177 |
178 |391 | No products found matching your criteria. 392 |
393 | 399 |52 | You need admin privileges to access this page. 53 |
54 |{title}
95 |{value}
96 | {trend && ( 97 | 0 ? 'text-green-600' : 'text-red-600'
99 | }`}>
100 |
124 | Manage your e-commerce platform 125 |
126 |203 | {dashboardStats.lowStockProducts} products are running low on stock 204 |
205 | 209 |223 | {dashboardStats.pendingOrders} orders need attention 224 |
225 | 229 || 288 | Product 289 | | 290 |291 | Category 292 | | 293 |294 | Price 295 | | 296 |297 | Stock 298 | | 299 |300 | Status 301 | | 302 |303 | Actions 304 | | 305 |
|---|---|---|---|---|---|
|
311 |
312 |
326 |
318 |
325 |
319 | {product.name}
320 |
321 |
322 | {product.brand}
323 |
324 | |
327 | 328 | {product.category} 329 | | 330 |331 | ${product.price} 332 | | 333 |334 | 337 | {product.stockCount} 338 | 339 | | 340 |341 | 346 | {product.isVisible !== false ? 'Visible' : 'Hidden'} 347 | 348 | | 349 |
350 |
351 |
362 |
370 |
377 |
378 | |
379 |
398 | Order management functionality will be implemented here. 399 |
400 |64 | Add some items to your cart before checking out. 65 |
66 | 72 |