bd3a commited on
Commit
4e2b38d
·
verified ·
1 Parent(s): 84433a2

undefined - Initial Deployment

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +1482 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Test777
3
- emoji: 😻
4
- colorFrom: purple
5
- colorTo: pink
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: test777
3
+ emoji: 🐳
4
+ colorFrom: pink
5
+ colorTo: purple
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,1482 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>VOGUE | Trendy Fashion</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <script src="https://unpkg.com/react@18/umd/react.development.js"></script>
9
+ <script src="https://unpkg.com/react-dom@18/umd/react-dom.development.js"></script>
10
+ <script src="https://unpkg.com/@babel/standalone/babel.min.js"></script>
11
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
12
+ <style>
13
+ @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700&display=swap');
14
+
15
+ :root {
16
+ --primary: #111827;
17
+ --secondary: #f43f5e;
18
+ --accent: #e5e7eb;
19
+ }
20
+
21
+ body {
22
+ font-family: 'Montserrat', sans-serif;
23
+ background-color: #f9fafb;
24
+ }
25
+
26
+ .title-font {
27
+ font-family: 'Playfair Display', serif;
28
+ }
29
+
30
+ .hero-gradient {
31
+ background: linear-gradient(135deg, rgba(17,24,39,0.9) 0%, rgba(244,63,94,0.7) 100%);
32
+ }
33
+
34
+ .product-card:hover .product-actions {
35
+ opacity: 1;
36
+ transform: translateY(0);
37
+ }
38
+
39
+ .product-actions {
40
+ transition: all 0.3s ease;
41
+ opacity: 0;
42
+ transform: translateY(10px);
43
+ }
44
+
45
+ .nav-link::after {
46
+ content: '';
47
+ display: block;
48
+ width: 0;
49
+ height: 2px;
50
+ background: var(--secondary);
51
+ transition: width 0.3s;
52
+ }
53
+
54
+ .nav-link:hover::after {
55
+ width: 100%;
56
+ }
57
+
58
+ .dropdown:hover .dropdown-menu {
59
+ display: block;
60
+ }
61
+
62
+ .cart-item-enter {
63
+ opacity: 0;
64
+ transform: translateX(-100px);
65
+ }
66
+
67
+ .cart-item-enter-active {
68
+ opacity: 1;
69
+ transform: translateX(0);
70
+ transition: all 300ms ease-in;
71
+ }
72
+
73
+ .cart-item-exit {
74
+ opacity: 1;
75
+ transform: translateX(0);
76
+ }
77
+
78
+ .cart-item-exit-active {
79
+ opacity: 0;
80
+ transform: translateX(100px);
81
+ transition: all 300ms ease-in;
82
+ }
83
+ </style>
84
+ </head>
85
+ <body>
86
+ <div id="root"></div>
87
+
88
+ <script type="text/babel">
89
+ const { useState, useEffect } = React;
90
+
91
+ // App Component
92
+ function App() {
93
+ const [currentPage, setCurrentPage] = useState('home');
94
+ const [cartItems, setCartItems] = useState([]);
95
+ const [isCartOpen, setIsCartOpen] = useState(false);
96
+ const [isMobileMenuOpen, setIsMobileMenuOpen] = useState(false);
97
+ const [searchQuery, setSearchQuery] = useState('');
98
+
99
+ // Sample products data
100
+ const products = [
101
+ { id: 1, name: 'Elegant Evening Dress', price: 129.99, category: 'dresses', image: 'https://images.unsplash.com/photo-1539109136881-3be0616acf4b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=687&q=80', featured: true },
102
+ { id: 2, name: 'Classic Denim Jacket', price: 89.99, category: 'jackets', image: 'https://images.unsplash.com/photo-1591047139829-d91aecb6caea?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=736&q=80', featured: true },
103
+ { id: 3, name: 'Casual Summer T-Shirt', price: 29.99, category: 'tops', image: 'https://images.unsplash.com/photo-1527719327859-c6ce80353573?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=684&q=80' },
104
+ { id: 4, name: 'Slim Fit Jeans', price: 59.99, category: 'pants', image: 'https://images.unsplash.com/photo-1473966968600-fa801b869a1a?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=687&q=80' },
105
+ { id: 5, name: 'Leather Crossbody Bag', price: 79.99, category: 'accessories', image: 'https://images.unsplash.com/photo-1590874103328-eac38a683ce7?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=738&q=80', featured: true },
106
+ { id: 6, name: 'Comfy Sneakers', price: 99.99, category: 'shoes', image: 'https://images.unsplash.com/photo-1600269452121-1f5d1415f5b1?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=715&q=80' },
107
+ { id: 7, name: 'Silk Blouse', price: 49.99, category: 'tops', image: 'https://images.unsplash.com/photo-1581044777550-4cfa60707c03?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=686&q=80' },
108
+ { id: 8, name: 'Wool Winter Coat', price: 199.99, category: 'jackets', image: 'https://images.unsplash.com/photo-1551232864-3f0890e580d9?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=687&q=80' },
109
+ ];
110
+
111
+ const featuredProducts = products.filter(product => product.featured);
112
+
113
+ // Add to cart function
114
+ const addToCart = (product) => {
115
+ setCartItems(prevItems => {
116
+ const existingItem = prevItems.find(item => item.id === product.id);
117
+ if (existingItem) {
118
+ return prevItems.map(item =>
119
+ item.id === product.id ? { ...item, quantity: item.quantity + 1 } : item
120
+ );
121
+ }
122
+ return [...prevItems, { ...product, quantity: 1 }];
123
+ });
124
+ };
125
+
126
+ // Remove from cart function
127
+ const removeFromCart = (productId) => {
128
+ setCartItems(prevItems => prevItems.filter(item => item.id !== productId));
129
+ };
130
+
131
+ // Update quantity function
132
+ const updateQuantity = (productId, newQuantity) => {
133
+ if (newQuantity < 1) return;
134
+ setCartItems(prevItems =>
135
+ prevItems.map(item =>
136
+ item.id === productId ? { ...item, quantity: newQuantity } : item
137
+ )
138
+ );
139
+ };
140
+
141
+ // Calculate total
142
+ const cartTotal = cartItems.reduce(
143
+ (total, item) => total + item.price * item.quantity,
144
+ 0
145
+ );
146
+
147
+ // Filter products based on search query
148
+ const filteredProducts = products.filter(product =>
149
+ product.name.toLowerCase().includes(searchQuery.toLowerCase())
150
+ );
151
+
152
+ // Render page based on currentPage state
153
+ const renderPage = () => {
154
+ switch (currentPage) {
155
+ case 'home':
156
+ return <HomePage products={featuredProducts} addToCart={addToCart} />;
157
+ case 'shop':
158
+ return <ShopPage products={filteredProducts} addToCart={addToCart} searchQuery={searchQuery} setSearchQuery={setSearchQuery} />;
159
+ case 'about':
160
+ return <AboutPage />;
161
+ case 'contact':
162
+ return <ContactPage />;
163
+ case 'cart':
164
+ return <CartPage cartItems={cartItems} removeFromCart={removeFromCart} updateQuantity={updateQuantity} cartTotal={cartTotal} />;
165
+ default:
166
+ return <HomePage products={featuredProducts} addToCart={addToCart} />;
167
+ }
168
+ };
169
+
170
+ return (
171
+ <div className="min-h-screen flex flex-col">
172
+ {/* Navigation */}
173
+ <Navigation
174
+ currentPage={currentPage}
175
+ setCurrentPage={setCurrentPage}
176
+ cartItems={cartItems}
177
+ setIsCartOpen={setIsCartOpen}
178
+ isMobileMenuOpen={isMobileMenuOpen}
179
+ setIsMobileMenuOpen={setIsMobileMenuOpen}
180
+ />
181
+
182
+ {/* Main Content */}
183
+ <main className="flex-grow">
184
+ {renderPage()}
185
+ </main>
186
+
187
+ {/* Footer */}
188
+ <Footer setCurrentPage={setCurrentPage} />
189
+
190
+ {/* Shopping Cart Sidebar */}
191
+ {isCartOpen && (
192
+ <CartSidebar
193
+ cartItems={cartItems}
194
+ removeFromCart={removeFromCart}
195
+ updateQuantity={updateQuantity}
196
+ cartTotal={cartTotal}
197
+ setIsCartOpen={setIsCartOpen}
198
+ setCurrentPage={setCurrentPage}
199
+ />
200
+ )}
201
+ </div>
202
+ );
203
+ }
204
+
205
+ // Navigation Component
206
+ function Navigation({ currentPage, setCurrentPage, cartItems, setIsCartOpen, isMobileMenuOpen, setIsMobileMenuOpen }) {
207
+ const cartItemCount = cartItems.reduce((total, item) => total + item.quantity, 0);
208
+
209
+ return (
210
+ <header className="bg-white shadow-sm sticky top-0 z-50">
211
+ <div className="container mx-auto px-4 py-4">
212
+ <div className="flex justify-between items-center">
213
+ {/* Logo */}
214
+ <div className="flex items-center">
215
+ <button
216
+ onClick={() => setCurrentPage('home')}
217
+ className="text-2xl font-bold title-font text-gray-900 hover:text-rose-500 transition-colors"
218
+ >
219
+ VOGUE
220
+ </button>
221
+ </div>
222
+
223
+ {/* Desktop Navigation */}
224
+ <nav className="hidden md:flex space-x-8">
225
+ <button
226
+ onClick={() => setCurrentPage('home')}
227
+ className={`nav-link py-2 px-1 font-medium ${currentPage === 'home' ? 'text-rose-500' : 'text-gray-700 hover:text-gray-900'}`}
228
+ >
229
+ Home
230
+ </button>
231
+
232
+ <div className="dropdown relative">
233
+ <button
234
+ className={`nav-link py-2 px-1 font-medium ${currentPage === 'shop' ? 'text-rose-500' : 'text-gray-700 hover:text-gray-900'}`}
235
+ >
236
+ Shop
237
+ </button>
238
+ <div className="dropdown-menu absolute hidden mt-2 w-48 bg-white rounded-md shadow-lg py-1 z-50">
239
+ <button
240
+ onClick={() => setCurrentPage('shop')}
241
+ className="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 w-full text-left"
242
+ >
243
+ All Products
244
+ </button>
245
+ <button className="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 w-full text-left">
246
+ New Arrivals
247
+ </button>
248
+ <button className="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 w-full text-left">
249
+ Best Sellers
250
+ </button>
251
+ </div>
252
+ </div>
253
+
254
+ <button
255
+ onClick={() => setCurrentPage('about')}
256
+ className={`nav-link py-2 px-1 font-medium ${currentPage === 'about' ? 'text-rose-500' : 'text-gray-700 hover:text-gray-900'}`}
257
+ >
258
+ About
259
+ </button>
260
+
261
+ <button
262
+ onClick={() => setCurrentPage('contact')}
263
+ className={`nav-link py-2 px-1 font-medium ${currentPage === 'contact' ? 'text-rose-500' : 'text-gray-700 hover:text-gray-900'}`}
264
+ >
265
+ Contact
266
+ </button>
267
+ </nav>
268
+
269
+ {/* Mobile Menu Button */}
270
+ <div className="md:hidden flex items-center">
271
+ <button
272
+ onClick={() => setIsCartOpen(true)}
273
+ className="p-2 text-gray-700 hover:text-rose-500 relative"
274
+ >
275
+ <i className="fas fa-shopping-bag text-xl"></i>
276
+ {cartItemCount > 0 && (
277
+ <span className="absolute -top-1 -right-1 bg-rose-500 text-white text-xs font-bold rounded-full h-5 w-5 flex items-center justify-center">
278
+ {cartItemCount}
279
+ </span>
280
+ )}
281
+ </button>
282
+ <button
283
+ onClick={() => setIsMobileMenuOpen(!isMobileMenuOpen)}
284
+ className="p-2 text-gray-700 hover:text-rose-500 ml-2"
285
+ >
286
+ <i className={`fas ${isMobileMenuOpen ? 'fa-times' : 'fa-bars'} text-xl`}></i>
287
+ </button>
288
+ </div>
289
+
290
+ {/* Desktop Icons */}
291
+ <div className="hidden md:flex items-center space-x-4">
292
+ <button className="p-2 text-gray-700 hover:text-rose-500">
293
+ <i className="fas fa-search text-xl"></i>
294
+ </button>
295
+ <button className="p-2 text-gray-700 hover:text-rose-500">
296
+ <i className="fas fa-user text-xl"></i>
297
+ </button>
298
+ <button
299
+ onClick={() => setIsCartOpen(true)}
300
+ className="p-2 text-gray-700 hover:text-rose-500 relative"
301
+ >
302
+ <i className="fas fa-shopping-bag text-xl"></i>
303
+ {cartItemCount > 0 && (
304
+ <span className="absolute -top-1 -right-1 bg-rose-500 text-white text-xs font-bold rounded-full h-5 w-5 flex items-center justify-center">
305
+ {cartItemCount}
306
+ </span>
307
+ )}
308
+ </button>
309
+ </div>
310
+ </div>
311
+
312
+ {/* Mobile Menu */}
313
+ {isMobileMenuOpen && (
314
+ <div className="md:hidden mt-4 pb-4">
315
+ <div className="flex flex-col space-y-2">
316
+ <button
317
+ onClick={() => {
318
+ setCurrentPage('home');
319
+ setIsMobileMenuOpen(false);
320
+ }}
321
+ className={`py-2 px-4 font-medium ${currentPage === 'home' ? 'text-rose-500' : 'text-gray-700'}`}
322
+ >
323
+ Home
324
+ </button>
325
+ <button
326
+ onClick={() => {
327
+ setCurrentPage('shop');
328
+ setIsMobileMenuOpen(false);
329
+ }}
330
+ className={`py-2 px-4 font-medium ${currentPage === 'shop' ? 'text-rose-500' : 'text-gray-700'}`}
331
+ >
332
+ Shop
333
+ </button>
334
+ <button
335
+ onClick={() => {
336
+ setCurrentPage('about');
337
+ setIsMobileMenuOpen(false);
338
+ }}
339
+ className={`py-2 px-4 font-medium ${currentPage === 'about' ? 'text-rose-500' : 'text-gray-700'}`}
340
+ >
341
+ About
342
+ </button>
343
+ <button
344
+ onClick={() => {
345
+ setCurrentPage('contact');
346
+ setIsMobileMenuOpen(false);
347
+ }}
348
+ className={`py-2 px-4 font-medium ${currentPage === 'contact' ? 'text-rose-500' : 'text-gray-700'}`}
349
+ >
350
+ Contact
351
+ </button>
352
+ </div>
353
+ </div>
354
+ )}
355
+ </div>
356
+ </header>
357
+ );
358
+ }
359
+
360
+ // Home Page Component
361
+ function HomePage({ products, addToCart }) {
362
+ return (
363
+ <div>
364
+ {/* Hero Section */}
365
+ <section className="relative h-screen flex items-center justify-center bg-gray-900 overflow-hidden">
366
+ <div className="absolute inset-0 hero-gradient"></div>
367
+ <div className="absolute inset-0 bg-[url('https://images.unsplash.com/photo-1483985988355-763728e1935b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80')] bg-cover bg-center opacity-30"></div>
368
+
369
+ <div className="container mx-auto px-4 relative z-10 text-center">
370
+ <h1 className="text-4xl md:text-6xl lg:text-7xl font-bold text-white title-font mb-6">
371
+ Discover Your Style
372
+ </h1>
373
+ <p className="text-xl md:text-2xl text-gray-200 mb-8 max-w-3xl mx-auto">
374
+ Elevate your wardrobe with our latest collection of trendy and timeless fashion pieces.
375
+ </p>
376
+ <button
377
+ onClick={() => {}}
378
+ className="bg-rose-500 hover:bg-rose-600 text-white font-bold py-3 px-8 rounded-full text-lg transition-colors shadow-lg"
379
+ >
380
+ Shop Now
381
+ </button>
382
+ </div>
383
+
384
+ <div className="absolute bottom-10 left-0 right-0 flex justify-center">
385
+ <a href="#featured" className="text-white animate-bounce">
386
+ <i className="fas fa-chevron-down text-2xl"></i>
387
+ </a>
388
+ </div>
389
+ </section>
390
+
391
+ {/* Featured Products */}
392
+ <section id="featured" className="py-16 bg-white">
393
+ <div className="container mx-auto px-4">
394
+ <div className="text-center mb-12">
395
+ <h2 className="text-3xl md:text-4xl font-bold text-gray-900 title-font mb-4">
396
+ Featured Collection
397
+ </h2>
398
+ <p className="text-gray-600 max-w-2xl mx-auto">
399
+ Our carefully curated selection of this season's must-have pieces
400
+ </p>
401
+ </div>
402
+
403
+ <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
404
+ {products.map(product => (
405
+ <ProductCard
406
+ key={product.id}
407
+ product={product}
408
+ addToCart={addToCart}
409
+ />
410
+ ))}
411
+ </div>
412
+
413
+ <div className="text-center mt-12">
414
+ <button
415
+ onClick={() => {}}
416
+ className="border-2 border-gray-900 hover:bg-gray-900 hover:text-white text-gray-900 font-bold py-3 px-8 rounded-full text-lg transition-colors"
417
+ >
418
+ View All Products
419
+ </button>
420
+ </div>
421
+ </div>
422
+ </section>
423
+
424
+ {/* Banner Section */}
425
+ <section className="py-16 bg-gray-100">
426
+ <div className="container mx-auto px-4">
427
+ <div className="bg-white rounded-xl shadow-lg overflow-hidden">
428
+ <div className="md:flex">
429
+ <div className="md:w-1/2 p-12 flex flex-col justify-center">
430
+ <h2 className="text-3xl font-bold text-gray-900 title-font mb-4">
431
+ Summer Sale
432
+ </h2>
433
+ <p className="text-gray-600 mb-6">
434
+ Up to 50% off on selected items. Limited time offer. Don't miss out!
435
+ </p>
436
+ <button
437
+ onClick={() => {}}
438
+ className="bg-gray-900 hover:bg-rose-500 text-white font-bold py-3 px-8 rounded-full text-lg transition-colors self-start"
439
+ >
440
+ Shop Sale
441
+ </button>
442
+ </div>
443
+ <div className="md:w-1/2">
444
+ <img
445
+ src="https://images.unsplash.com/photo-1551232864-3f0890e580d9?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=687&q=80"
446
+ alt="Summer Sale"
447
+ className="w-full h-full object-cover"
448
+ />
449
+ </div>
450
+ </div>
451
+ </div>
452
+ </div>
453
+ </section>
454
+
455
+ {/* Categories Section */}
456
+ <section className="py-16 bg-white">
457
+ <div className="container mx-auto px-4">
458
+ <div className="text-center mb-12">
459
+ <h2 className="text-3xl md:text-4xl font-bold text-gray-900 title-font mb-4">
460
+ Shop by Category
461
+ </h2>
462
+ <p className="text-gray-600 max-w-2xl mx-auto">
463
+ Find your perfect style in our diverse range of categories
464
+ </p>
465
+ </div>
466
+
467
+ <div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6">
468
+ <CategoryCard
469
+ title="Dresses"
470
+ image="https://images.unsplash.com/photo-1539109136881-3be0616acf4b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=687&q=80"
471
+ />
472
+ <CategoryCard
473
+ title="Tops"
474
+ image="https://images.unsplash.com/photo-1527719327859-c6ce80353573?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=684&q=80"
475
+ />
476
+ <CategoryCard
477
+ title="Jackets"
478
+ image="https://images.unsplash.com/photo-1591047139829-d91aecb6caea?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=736&q=80"
479
+ />
480
+ <CategoryCard
481
+ title="Accessories"
482
+ image="https://images.unsplash.com/photo-1590874103328-eac38a683ce7?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=738&q=80"
483
+ />
484
+ </div>
485
+ </div>
486
+ </section>
487
+
488
+ {/* Testimonials */}
489
+ <section className="py-16 bg-gray-100">
490
+ <div className="container mx-auto px-4">
491
+ <div className="text-center mb-12">
492
+ <h2 className="text-3xl md:text-4xl font-bold text-gray-900 title-font mb-4">
493
+ What Our Customers Say
494
+ </h2>
495
+ <p className="text-gray-600 max-w-2xl mx-auto">
496
+ Don't just take our word for it - hear from our satisfied customers
497
+ </p>
498
+ </div>
499
+
500
+ <div className="grid grid-cols-1 md:grid-cols-3 gap-8">
501
+ <TestimonialCard
502
+ quote="The quality of the dress I purchased exceeded my expectations. It's now my favorite piece in my wardrobe!"
503
+ author="Sarah Johnson"
504
+ role="Fashion Blogger"
505
+ />
506
+ <TestimonialCard
507
+ quote="Fast shipping and excellent customer service. I'll definitely be shopping here again."
508
+ author="Michael Chen"
509
+ role="Stylist"
510
+ />
511
+ <TestimonialCard
512
+ quote="I love the unique designs and attention to detail. These pieces always get me compliments!"
513
+ author="Emma Rodriguez"
514
+ role="Influencer"
515
+ />
516
+ </div>
517
+ </div>
518
+ </section>
519
+
520
+ {/* Newsletter */}
521
+ <section className="py-16 bg-gray-900 text-white">
522
+ <div className="container mx-auto px-4">
523
+ <div className="max-w-4xl mx-auto text-center">
524
+ <h2 className="text-3xl md:text-4xl font-bold title-font mb-4">
525
+ Join Our Newsletter
526
+ </h2>
527
+ <p className="text-gray-300 mb-8 max-w-2xl mx-auto">
528
+ Subscribe to get exclusive offers, styling tips, and early access to new collections
529
+ </p>
530
+
531
+ <div className="flex flex-col sm:flex-row gap-4 max-w-md mx-auto">
532
+ <input
533
+ type="email"
534
+ placeholder="Your email address"
535
+ className="flex-grow px-4 py-3 rounded-full text-gray-900 focus:outline-none focus:ring-2 focus:ring-rose-500"
536
+ />
537
+ <button className="bg-rose-500 hover:bg-rose-600 font-bold py-3 px-6 rounded-full transition-colors">
538
+ Subscribe
539
+ </button>
540
+ </div>
541
+ </div>
542
+ </div>
543
+ </section>
544
+ </div>
545
+ );
546
+ }
547
+
548
+ // Shop Page Component
549
+ function ShopPage({ products, addToCart, searchQuery, setSearchQuery }) {
550
+ const [selectedCategory, setSelectedCategory] = useState('all');
551
+
552
+ const categories = [
553
+ { id: 'all', name: 'All Products' },
554
+ { id: 'dresses', name: 'Dresses' },
555
+ { id: 'tops', name: 'Tops' },
556
+ { id: 'jackets', name: 'Jackets' },
557
+ { id: 'pants', name: 'Pants' },
558
+ { id: 'shoes', name: 'Shoes' },
559
+ { id: 'accessories', name: 'Accessories' },
560
+ ];
561
+
562
+ const filteredProducts = selectedCategory === 'all'
563
+ ? products
564
+ : products.filter(product => product.category === selectedCategory);
565
+
566
+ return (
567
+ <div className="py-12 bg-white">
568
+ <div className="container mx-auto px-4">
569
+ <div className="flex flex-col md:flex-row justify-between items-start md:items-center mb-8">
570
+ <h1 className="text-3xl md:text-4xl font-bold text-gray-900 title-font mb-4 md:mb-0">
571
+ Our Collection
572
+ </h1>
573
+
574
+ <div className="w-full md:w-auto">
575
+ <div className="relative">
576
+ <input
577
+ type="text"
578
+ placeholder="Search products..."
579
+ value={searchQuery}
580
+ onChange={(e) => setSearchQuery(e.target.value)}
581
+ className="w-full md:w-64 px-4 py-2 border border-gray-300 rounded-full focus:outline-none focus:ring-2 focus:ring-rose-500 focus:border-transparent"
582
+ />
583
+ <i className="fas fa-search absolute right-3 top-3 text-gray-400"></i>
584
+ </div>
585
+ </div>
586
+ </div>
587
+
588
+ <div className="flex flex-col md:flex-row gap-8">
589
+ {/* Filters */}
590
+ <div className="md:w-1/4">
591
+ <div className="bg-gray-50 p-6 rounded-lg shadow-sm">
592
+ <h3 className="font-bold text-lg text-gray-900 mb-4">Categories</h3>
593
+ <ul className="space-y-2">
594
+ {categories.map(category => (
595
+ <li key={category.id}>
596
+ <button
597
+ onClick={() => setSelectedCategory(category.id)}
598
+ className={`w-full text-left px-3 py-2 rounded-md ${selectedCategory === category.id ? 'bg-rose-100 text-rose-600' : 'text-gray-700 hover:bg-gray-100'}`}
599
+ >
600
+ {category.name}
601
+ </button>
602
+ </li>
603
+ ))}
604
+ </ul>
605
+
606
+ <h3 className="font-bold text-lg text-gray-900 mt-6 mb-4">Price</h3>
607
+ <div className="space-y-4">
608
+ <div className="flex items-center">
609
+ <input type="checkbox" id="price1" className="h-4 w-4 text-rose-500 focus:ring-rose-500 border-gray-300 rounded" />
610
+ <label htmlFor="price1" className="ml-2 text-gray-700">$0 - $50</label>
611
+ </div>
612
+ <div className="flex items-center">
613
+ <input type="checkbox" id="price2" className="h-4 w-4 text-rose-500 focus:ring-rose-500 border-gray-300 rounded" />
614
+ <label htmlFor="price2" className="ml-2 text-gray-700">$50 - $100</label>
615
+ </div>
616
+ <div className="flex items-center">
617
+ <input type="checkbox" id="price3" className="h-4 w-4 text-rose-500 focus:ring-rose-500 border-gray-300 rounded" />
618
+ <label htmlFor="price3" className="ml-2 text-gray-700">$100+</label>
619
+ </div>
620
+ </div>
621
+
622
+ <h3 className="font-bold text-lg text-gray-900 mt-6 mb-4">Size</h3>
623
+ <div className="grid grid-cols-3 gap-2">
624
+ {['XS', 'S', 'M', 'L', 'XL', 'XXL'].map(size => (
625
+ <button
626
+ key={size}
627
+ className="border border-gray-300 hover:border-rose-500 hover:text-rose-500 text-gray-700 py-1 px-3 rounded-md text-center"
628
+ >
629
+ {size}
630
+ </button>
631
+ ))}
632
+ </div>
633
+
634
+ <button className="mt-6 w-full bg-rose-500 hover:bg-rose-600 text-white font-bold py-2 px-4 rounded-md transition-colors">
635
+ Apply Filters
636
+ </button>
637
+ </div>
638
+ </div>
639
+
640
+ {/* Products */}
641
+ <div className="md:w-3/4">
642
+ <div className="flex justify-between items-center mb-6">
643
+ <p className="text-gray-600">
644
+ Showing {filteredProducts.length} products
645
+ </p>
646
+ <div className="flex items-center">
647
+ <span className="text-gray-600 mr-2">Sort by:</span>
648
+ <select className="border border-gray-300 rounded-md px-3 py-1 focus:outline-none focus:ring-2 focus:ring-rose-500 focus:border-transparent">
649
+ <option>Featured</option>
650
+ <option>Price: Low to High</option>
651
+ <option>Price: High to Low</option>
652
+ <option>Newest</option>
653
+ <option>Best Selling</option>
654
+ </select>
655
+ </div>
656
+ </div>
657
+
658
+ {filteredProducts.length > 0 ? (
659
+ <div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6">
660
+ {filteredProducts.map(product => (
661
+ <ProductCard
662
+ key={product.id}
663
+ product={product}
664
+ addToCart={addToCart}
665
+ />
666
+ ))}
667
+ </div>
668
+ ) : (
669
+ <div className="text-center py-12">
670
+ <i className="fas fa-search text-5xl text-gray-300 mb-4"></i>
671
+ <h3 className="text-xl font-bold text-gray-700 mb-2">No products found</h3>
672
+ <p className="text-gray-500">Try adjusting your search or filter criteria</p>
673
+ </div>
674
+ )}
675
+
676
+ {/* Pagination */}
677
+ {filteredProducts.length > 0 && (
678
+ <div className="mt-12 flex justify-center">
679
+ <nav className="flex items-center space-x-2">
680
+ <button className="px-3 py-1 rounded-md border border-gray-300 text-gray-500 hover:bg-gray-100">
681
+ <i className="fas fa-chevron-left"></i>
682
+ </button>
683
+ <button className="px-3 py-1 rounded-md bg-rose-500 text-white">1</button>
684
+ <button className="px-3 py-1 rounded-md border border-gray-300 text-gray-700 hover:bg-gray-100">2</button>
685
+ <button className="px-3 py-1 rounded-md border border-gray-300 text-gray-700 hover:bg-gray-100">3</button>
686
+ <span className="px-2 text-gray-500">...</span>
687
+ <button className="px-3 py-1 rounded-md border border-gray-300 text-gray-700 hover:bg-gray-100">8</button>
688
+ <button className="px-3 py-1 rounded-md border border-gray-300 text-gray-500 hover:bg-gray-100">
689
+ <i className="fas fa-chevron-right"></i>
690
+ </button>
691
+ </nav>
692
+ </div>
693
+ )}
694
+ </div>
695
+ </div>
696
+ </div>
697
+ </div>
698
+ );
699
+ }
700
+
701
+ // About Page Component
702
+ function AboutPage() {
703
+ return (
704
+ <div className="py-16 bg-white">
705
+ <div className="container mx-auto px-4">
706
+ <div className="text-center mb-12">
707
+ <h1 className="text-3xl md:text-4xl font-bold text-gray-900 title-font mb-4">
708
+ Our Story
709
+ </h1>
710
+ <p className="text-gray-600 max-w-3xl mx-auto">
711
+ Discover the passion and dedication behind our brand
712
+ </p>
713
+ </div>
714
+
715
+ <div className="flex flex-col lg:flex-row gap-12 items-center mb-16">
716
+ <div className="lg:w-1/2">
717
+ <img
718
+ src="https://images.unsplash.com/photo-1607082348824-0a96f2a4b9da?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80"
719
+ alt="Our Team"
720
+ className="w-full h-auto rounded-lg shadow-lg"
721
+ />
722
+ </div>
723
+ <div className="lg:w-1/2">
724
+ <h2 className="text-2xl font-bold text-gray-900 mb-6">Who We Are</h2>
725
+ <p className="text-gray-600 mb-4">
726
+ Founded in 2015, VOGUE began as a small boutique with a big vision: to bring high-quality,
727
+ fashion-forward clothing to everyone. Our founder, Alexandra Bennett, started with just
728
+ a handful of designs and a passion for sustainable fashion.
729
+ </p>
730
+ <p className="text-gray-600 mb-4">
731
+ Today, we've grown into a global brand with a commitment to ethical production,
732
+ timeless designs, and exceptional customer service. Each piece in our collection
733
+ is carefully crafted with attention to detail and a focus on sustainability.
734
+ </p>
735
+ <p className="text-gray-600">
736
+ We believe fashion should be both beautiful and responsible, which is why we work
737
+ with certified factories and use eco-friendly materials whenever possible.
738
+ </p>
739
+ </div>
740
+ </div>
741
+
742
+ <div className="flex flex-col lg:flex-row-reverse gap-12 items-center mb-16">
743
+ <div className="lg:w-1/2">
744
+ <img
745
+ src="https://images.unsplash.com/photo-1521747116042-5a810fda9664?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80"
746
+ alt="Our Process"
747
+ className="w-full h-auto rounded-lg shadow-lg"
748
+ />
749
+ </div>
750
+ <div className="lg:w-1/2">
751
+ <h2 className="text-2xl font-bold text-gray-900 mb-6">Our Process</h2>
752
+ <p className="text-gray-600 mb-4">
753
+ Every VOGUE piece begins with inspiration from global trends, art, and architecture.
754
+ Our design team sketches hundreds of concepts before selecting the best to develop
755
+ into prototypes.
756
+ </p>
757
+ <p className="text-gray-600 mb-4">
758
+ We work with skilled artisans who bring decades of experience to ensure each garment
759
+ meets our high standards. From fabric selection to final stitching, every step is
760
+ meticulously overseen by our quality control team.
761
+ </p>
762
+ <p className="text-gray-600">
763
+ Our commitment to slow fashion means we produce in small batches to minimize waste
764
+ and ensure each piece receives the attention it deserves.
765
+ </p>
766
+ </div>
767
+ </div>
768
+
769
+ <div className="bg-gray-100 rounded-xl p-8 md:p-12 mb-16">
770
+ <h2 className="text-2xl font-bold text-gray-900 mb-6 text-center">Our Values</h2>
771
+ <div className="grid grid-cols-1 md:grid-cols-3 gap-8">
772
+ <ValueCard
773
+ icon="fas fa-leaf"
774
+ title="Sustainability"
775
+ description="We prioritize eco-friendly materials and ethical production methods to minimize our environmental impact."
776
+ />
777
+ <ValueCard
778
+ icon="fas fa-star"
779
+ title="Quality"
780
+ description="Every piece is crafted with premium materials and exceptional attention to detail for lasting wear."
781
+ />
782
+ <ValueCard
783
+ icon="fas fa-heart"
784
+ title="Community"
785
+ description="We support local artisans and give back to organizations that empower women in the fashion industry."
786
+ />
787
+ </div>
788
+ </div>
789
+
790
+ <div className="text-center">
791
+ <h2 className="text-2xl font-bold text-gray-900 mb-6">Meet The Team</h2>
792
+ <p className="text-gray-600 max-w-3xl mx-auto mb-8">
793
+ Our talented team of designers, stylists, and customer service professionals are
794
+ dedicated to bringing you the best fashion experience.
795
+ </p>
796
+
797
+ <div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-8">
798
+ <TeamMember
799
+ name="Alexandra Bennett"
800
+ role="Founder & CEO"
801
+ image="https://images.unsplash.com/photo-1573496359142-b8d87734a5cd?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=688&q=80"
802
+ />
803
+ <TeamMember
804
+ name="Marcus Chen"
805
+ role="Creative Director"
806
+ image="https://images.unsplash.com/photo-1560250097-0b93528c311a?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=687&q=80"
807
+ />
808
+ <TeamMember
809
+ name="Sophia Rodriguez"
810
+ role="Head Designer"
811
+ image="https://images.unsplash.com/photo-1580489944761-15a19d654956?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=761&q=80"
812
+ />
813
+ <TeamMember
814
+ name="James Wilson"
815
+ role="Customer Experience"
816
+ image="https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=687&q=80"
817
+ />
818
+ </div>
819
+ </div>
820
+ </div>
821
+ </div>
822
+ );
823
+ }
824
+
825
+ // Contact Page Component
826
+ function ContactPage() {
827
+ const [formData, setFormData] = useState({
828
+ name: '',
829
+ email: '',
830
+ subject: '',
831
+ message: ''
832
+ });
833
+
834
+ const handleChange = (e) => {
835
+ const { name, value } = e.target;
836
+ setFormData(prev => ({
837
+ ...prev,
838
+ [name]: value
839
+ }));
840
+ };
841
+
842
+ const handleSubmit = (e) => {
843
+ e.preventDefault();
844
+ alert('Thank you for your message! We will get back to you soon.');
845
+ setFormData({
846
+ name: '',
847
+ email: '',
848
+ subject: '',
849
+ message: ''
850
+ });
851
+ };
852
+
853
+ return (
854
+ <div className="py-16 bg-white">
855
+ <div className="container mx-auto px-4">
856
+ <div className="text-center mb-12">
857
+ <h1 className="text-3xl md:text-4xl font-bold text-gray-900 title-font mb-4">
858
+ Get In Touch
859
+ </h1>
860
+ <p className="text-gray-600 max-w-3xl mx-auto">
861
+ Have questions or feedback? We'd love to hear from you!
862
+ </p>
863
+ </div>
864
+
865
+ <div className="flex flex-col lg:flex-row gap-12">
866
+ <div className="lg:w-1/2">
867
+ <div className="bg-gray-50 p-8 rounded-lg shadow-sm">
868
+ <h2 className="text-2xl font-bold text-gray-900 mb-6">Send Us a Message</h2>
869
+ <form onSubmit={handleSubmit}>
870
+ <div className="mb-4">
871
+ <label htmlFor="name" className="block text-gray-700 font-medium mb-2">Name</label>
872
+ <input
873
+ type="text"
874
+ id="name"
875
+ name="name"
876
+ value={formData.name}
877
+ onChange={handleChange}
878
+ className="w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-rose-500 focus:border-transparent"
879
+ required
880
+ />
881
+ </div>
882
+
883
+ <div className="mb-4">
884
+ <label htmlFor="email" className="block text-gray-700 font-medium mb-2">Email</label>
885
+ <input
886
+ type="email"
887
+ id="email"
888
+ name="email"
889
+ value={formData.email}
890
+ onChange={handleChange}
891
+ className="w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-rose-500 focus:border-transparent"
892
+ required
893
+ />
894
+ </div>
895
+
896
+ <div className="mb-4">
897
+ <label htmlFor="subject" className="block text-gray-700 font-medium mb-2">Subject</label>
898
+ <input
899
+ type="text"
900
+ id="subject"
901
+ name="subject"
902
+ value={formData.subject}
903
+ onChange={handleChange}
904
+ className="w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-rose-500 focus:border-transparent"
905
+ required
906
+ />
907
+ </div>
908
+
909
+ <div className="mb-6">
910
+ <label htmlFor="message" className="block text-gray-700 font-medium mb-2">Message</label>
911
+ <textarea
912
+ id="message"
913
+ name="message"
914
+ rows="5"
915
+ value={formData.message}
916
+ onChange={handleChange}
917
+ className="w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-rose-500 focus:border-transparent"
918
+ required
919
+ ></textarea>
920
+ </div>
921
+
922
+ <button
923
+ type="submit"
924
+ className="w-full bg-rose-500 hover:bg-rose-600 text-white font-bold py-3 px-4 rounded-md transition-colors"
925
+ >
926
+ Send Message
927
+ </button>
928
+ </form>
929
+ </div>
930
+ </div>
931
+
932
+ <div className="lg:w-1/2">
933
+ <div className="bg-gray-50 p-8 rounded-lg shadow-sm h-full">
934
+ <h2 className="text-2xl font-bold text-gray-900 mb-6">Contact Information</h2>
935
+
936
+ <div className="space-y-6">
937
+ <div className="flex items-start">
938
+ <div className="bg-rose-100 p-3 rounded-full mr-4">
939
+ <i className="fas fa-map-marker-alt text-rose-500"></i>
940
+ </div>
941
+ <div>
942
+ <h3 className="font-bold text-gray-900 mb-1">Our Location</h3>
943
+ <p className="text-gray-600">123 Fashion Avenue, Suite 456<br />New York, NY 10001</p>
944
+ </div>
945
+ </div>
946
+
947
+ <div className="flex items-start">
948
+ <div className="bg-rose-100 p-3 rounded-full mr-4">
949
+ <i className="fas fa-phone-alt text-rose-500"></i>
950
+ </div>
951
+ <div>
952
+ <h3 className="font-bold text-gray-900 mb-1">Phone</h3>
953
+ <p className="text-gray-600">+1 (555) 123-4567<br />Mon-Fri, 9am-6pm EST</p>
954
+ </div>
955
+ </div>
956
+
957
+ <div className="flex items-start">
958
+ <div className="bg-rose-100 p-3 rounded-full mr-4">
959
+ <i className="fas fa-envelope text-rose-500"></i>
960
+ </div>
961
+ <div>
962
+ <h3 className="font-bold text-gray-900 mb-1">Email</h3>
963
+ <p className="text-gray-600">hello@voguefashion.com<br />support@voguefashion.com</p>
964
+ </div>
965
+ </div>
966
+ </div>
967
+
968
+ <div className="mt-8">
969
+ <h3 className="font-bold text-gray-900 mb-4">Follow Us</h3>
970
+ <div className="flex space-x-4">
971
+ <a href="#" className="bg-gray-200 hover:bg-rose-500 hover:text-white text-gray-700 p-3 rounded-full transition-colors">
972
+ <i className="fab fa-facebook-f"></i>
973
+ </a>
974
+ <a href="#" className="bg-gray-200 hover:bg-rose-500 hover:text-white text-gray-700 p-3 rounded-full transition-colors">
975
+ <i className="fab fa-twitter"></i>
976
+ </a>
977
+ <a href="#" className="bg-gray-200 hover:bg-rose-500 hover:text-white text-gray-700 p-3 rounded-full transition-colors">
978
+ <i className="fab fa-instagram"></i>
979
+ </a>
980
+ <a href="#" className="bg-gray-200 hover:bg-rose-500 hover:text-white text-gray-700 p-3 rounded-full transition-colors">
981
+ <i className="fab fa-pinterest-p"></i>
982
+ </a>
983
+ </div>
984
+ </div>
985
+ </div>
986
+ </div>
987
+ </div>
988
+ </div>
989
+ </div>
990
+ );
991
+ }
992
+
993
+ // Cart Page Component
994
+ function CartPage({ cartItems, removeFromCart, updateQuantity, cartTotal }) {
995
+ return (
996
+ <div className="py-16 bg-white">
997
+ <div className="container mx-auto px-4">
998
+ <h1 className="text-3xl md:text-4xl font-bold text-gray-900 title-font mb-8">
999
+ Your Shopping Cart
1000
+ </h1>
1001
+
1002
+ {cartItems.length > 0 ? (
1003
+ <div className="flex flex-col lg:flex-row gap-8">
1004
+ <div className="lg:w-2/3">
1005
+ <div className="bg-gray-50 rounded-lg shadow-sm overflow-hidden">
1006
+ <div className="hidden md:grid grid-cols-12 bg-gray-100 p-4 font-bold text-gray-700">
1007
+ <div className="col-span-5">Product</div>
1008
+ <div className="col-span-2 text-center">Price</div>
1009
+ <div className="col-span-3 text-center">Quantity</div>
1010
+ <div className="col-span-2 text-right">Total</div>
1011
+ </div>
1012
+
1013
+ <div className="divide-y divide-gray-200">
1014
+ {cartItems.map(item => (
1015
+ <div key={item.id} className="grid grid-cols-1 md:grid-cols-12 p-4 items-center">
1016
+ <div className="col-span-5 flex items-center mb-4 md:mb-0">
1017
+ <img
1018
+ src={item.image}
1019
+ alt={item.name}
1020
+ className="w-20 h-20 object-cover rounded-md mr-4"
1021
+ />
1022
+ <div>
1023
+ <h3 className="font-medium text-gray-900">{item.name}</h3>
1024
+ <button
1025
+ onClick={() => removeFromCart(item.id)}
1026
+ className="text-rose-500 hover:text-rose-700 text-sm mt-1"
1027
+ >
1028
+ Remove
1029
+ </button>
1030
+ </div>
1031
+ </div>
1032
+
1033
+ <div className="col-span-2 text-center text-gray-700 mb-4 md:mb-0">
1034
+ ${item.price.toFixed(2)}
1035
+ </div>
1036
+
1037
+ <div className="col-span-3 flex justify-center mb-4 md:mb-0">
1038
+ <div className="flex items-center border border-gray-300 rounded-md">
1039
+ <button
1040
+ onClick={() => updateQuantity(item.id, item.quantity - 1)}
1041
+ className="px-3 py-1 text-gray-600 hover:bg-gray-100"
1042
+ >
1043
+ -
1044
+ </button>
1045
+ <input
1046
+ type="number"
1047
+ value={item.quantity}
1048
+ onChange={(e) => updateQuantity(item.id, parseInt(e.target.value))}
1049
+ className="w-12 text-center border-0 focus:ring-0"
1050
+ min="1"
1051
+ />
1052
+ <button
1053
+ onClick={() => updateQuantity(item.id, item.quantity + 1)}
1054
+ className="px-3 py-1 text-gray-600 hover:bg-gray-100"
1055
+ >
1056
+ +
1057
+ </button>
1058
+ </div>
1059
+ </div>
1060
+
1061
+ <div className="col-span-2 text-right font-medium text-gray-900">
1062
+ ${(item.price * item.quantity).toFixed(2)}
1063
+ </div>
1064
+ </div>
1065
+ ))}
1066
+ </div>
1067
+ </div>
1068
+
1069
+ <div className="mt-6 flex justify-between items-center">
1070
+ <button className="text-gray-600 hover:text-rose-500 font-medium">
1071
+ <i className="fas fa-arrow-left mr-2"></i> Continue Shopping
1072
+ </button>
1073
+ <button className="text-gray-600 hover:text-rose-500 font-medium">
1074
+ Update Cart
1075
+ </button>
1076
+ </div>
1077
+ </div>
1078
+
1079
+ <div className="lg:w-1/3">
1080
+ <div className="bg-gray-50 p-6 rounded-lg shadow-sm">
1081
+ <h2 className="text-xl font-bold text-gray-900 mb-6">Order Summary</h2>
1082
+
1083
+ <div className="space-y-4 mb-6">
1084
+ <div className="flex justify-between">
1085
+ <span className="text-gray-600">Subtotal</span>
1086
+ <span className="text-gray-900 font-medium">${cartTotal.toFixed(2)}</span>
1087
+ </div>
1088
+ <div className="flex justify-between">
1089
+ <span className="text-gray-600">Shipping</span>
1090
+ <span className="text-gray-900 font-medium">$5.99</span>
1091
+ </div>
1092
+ <div className="flex justify-between">
1093
+ <span className="text-gray-600">Tax</span>
1094
+ <span className="text-gray-900 font-medium">${(cartTotal * 0.08).toFixed(2)}</span>
1095
+ </div>
1096
+ <div className="border-t border-gray-200 pt-4 flex justify-between">
1097
+ <span className="text-lg font-bold text-gray-900">Total</span>
1098
+ <span className="text-lg font-bold text-gray-900">
1099
+ ${(cartTotal + 5.99 + (cartTotal * 0.08)).toFixed(2)}
1100
+ </span>
1101
+ </div>
1102
+ </div>
1103
+
1104
+ <button className="w-full bg-rose-500 hover:bg-rose-600 text-white font-bold py-3 px-4 rounded-md transition-colors mb-4">
1105
+ Proceed to Checkout
1106
+ </button>
1107
+
1108
+ <div className="text-center text-sm text-gray-500">
1109
+ <p>or</p>
1110
+ <button className="mt-2 text-rose-500 hover:text-rose-700 font-medium">
1111
+ Check out with PayPal
1112
+ </button>
1113
+ </div>
1114
+
1115
+ <div className="mt-6">
1116
+ <h3 className="font-bold text-gray-900 mb-2">Promo Code</h3>
1117
+ <div className="flex">
1118
+ <input
1119
+ type="text"
1120
+ placeholder="Enter promo code"
1121
+ className="flex-grow px-4 py-2 border border-gray-300 rounded-l-md focus:outline-none focus:ring-2 focus:ring-rose-500 focus:border-transparent"
1122
+ />
1123
+ <button className="bg-gray-900 hover:bg-rose-500 text-white px-4 py-2 rounded-r-md transition-colors">
1124
+ Apply
1125
+ </button>
1126
+ </div>
1127
+ </div>
1128
+ </div>
1129
+ </div>
1130
+ </div>
1131
+ ) : (
1132
+ <div className="text-center py-12">
1133
+ <i className="fas fa-shopping-bag text-5xl text-gray-300 mb-4"></i>
1134
+ <h3 className="text-xl font-bold text-gray-700 mb-2">Your cart is empty</h3>
1135
+ <p className="text-gray-500 mb-6">Looks like you haven't added anything to your cart yet</p>
1136
+ <button className="bg-rose-500 hover:bg-rose-600 text-white font-bold py-3 px-8 rounded-full text-lg transition-colors">
1137
+ Continue Shopping
1138
+ </button>
1139
+ </div>
1140
+ )}
1141
+ </div>
1142
+ </div>
1143
+ );
1144
+ }
1145
+
1146
+ // Cart Sidebar Component
1147
+ function CartSidebar({ cartItems, removeFromCart, updateQuantity, cartTotal, setIsCartOpen, setCurrentPage }) {
1148
+ const cartItemCount = cartItems.reduce((total, item) => total + item.quantity, 0);
1149
+
1150
+ return (
1151
+ <div className="fixed inset-0 z-50 overflow-hidden">
1152
+ <div className="absolute inset-0 bg-gray-500 bg-opacity-75 transition-opacity" onClick={() => setIsCartOpen(false)}></div>
1153
+
1154
+ <div className="fixed inset-y-0 right-0 max-w-full flex">
1155
+ <div className="w-screen max-w-md">
1156
+ <div className="h-full flex flex-col bg-white shadow-xl">
1157
+ <div className="flex-1 py-6 overflow-y-auto px-4 sm:px-6">
1158
+ <div className="flex items-start justify-between">
1159
+ <h2 className="text-lg font-medium text-gray-900">Shopping cart</h2>
1160
+ <button
1161
+ onClick={() => setIsCartOpen(false)}
1162
+ className="p-2 text-gray-400 hover:text-gray-500"
1163
+ >
1164
+ <i className="fas fa-times text-xl"></i>
1165
+ </button>
1166
+ </div>
1167
+
1168
+ <div className="mt-8">
1169
+ <div className="flow-root">
1170
+ {cartItemCount > 0 ? (
1171
+ <ul className="-my-6 divide-y divide-gray-200">
1172
+ {cartItems.map(item => (
1173
+ <li key={item.id} className="py-6 flex">
1174
+ <div className="flex-shrink-0 w-24 h-24 border border-gray-200 rounded-md overflow-hidden">
1175
+ <img
1176
+ src={item.image}
1177
+ alt={item.name}
1178
+ className="w-full h-full object-cover object-center"
1179
+ />
1180
+ </div>
1181
+
1182
+ <div className="ml-4 flex-1 flex flex-col">
1183
+ <div>
1184
+ <div className="flex justify-between text-base font-medium text-gray-900">
1185
+ <h3>{item.name}</h3>
1186
+ <p className="ml-4">${(item.price * item.quantity).toFixed(2)}</p>
1187
+ </div>
1188
+ </div>
1189
+
1190
+ <div className="flex-1 flex items-end justify-between text-sm">
1191
+ <div className="flex items-center border border-gray-300 rounded-md">
1192
+ <button
1193
+ onClick={() => updateQuantity(item.id, item.quantity - 1)}
1194
+ className="px-2 py-1 text-gray-600 hover:bg-gray-100"
1195
+ >
1196
+ -
1197
+ </button>
1198
+ <span className="px-2">{item.quantity}</span>
1199
+ <button
1200
+ onClick={() => updateQuantity(item.id, item.quantity + 1)}
1201
+ className="px-2 py-1 text-gray-600 hover:bg-gray-100"
1202
+ >
1203
+ +
1204
+ </button>
1205
+ </div>
1206
+
1207
+ <button
1208
+ onClick={() => removeFromCart(item.id)}
1209
+ className="font-medium text-rose-500 hover:text-rose-700"
1210
+ >
1211
+ Remove
1212
+ </button>
1213
+ </div>
1214
+ </div>
1215
+ </li>
1216
+ ))}
1217
+ </ul>
1218
+ ) : (
1219
+ <div className="text-center py-12">
1220
+ <i className="fas fa-shopping-bag text-4xl text-gray-300 mb-4"></i>
1221
+ <h3 className="text-lg font-medium text-gray-700 mb-2">Your cart is empty</h3>
1222
+ <p className="text-gray-500">Start adding some items to your cart</p>
1223
+ </div>
1224
+ )}
1225
+ </div>
1226
+ </div>
1227
+ </div>
1228
+
1229
+ {cartItemCount > 0 && (
1230
+ <div className="border-t border-gray-200 py-6 px-4 sm:px-6">
1231
+ <div className="flex justify-between text-base font-medium text-gray-900 mb-4">
1232
+ <p>Subtotal</p>
1233
+ <p>${cartTotal.toFixed(2)}</p>
1234
+ </div>
1235
+ <p className="mt-0.5 text-sm text-gray-500 mb-6">
1236
+ Shipping and taxes calculated at checkout.
1237
+ </p>
1238
+ <button
1239
+ onClick={() => {
1240
+ setIsCartOpen(false);
1241
+ setCurrentPage('cart');
1242
+ }}
1243
+ className="w-full bg-rose-500 hover:bg-rose-600 text-white font-bold py-3 px-4 rounded-md transition-colors mb-4"
1244
+ >
1245
+ Checkout
1246
+ </button>
1247
+ <div className="flex justify-center text-sm text-gray-500">
1248
+ <p>
1249
+ or{' '}
1250
+ <button
1251
+ onClick={() => setIsCartOpen(false)}
1252
+ className="text-rose-500 hover:text-rose-700 font-medium"
1253
+ >
1254
+ Continue Shopping
1255
+ </button>
1256
+ </p>
1257
+ </div>
1258
+ </div>
1259
+ )}
1260
+ </div>
1261
+ </div>
1262
+ </div>
1263
+ </div>
1264
+ );
1265
+ }
1266
+
1267
+ // Footer Component
1268
+ function Footer({ setCurrentPage }) {
1269
+ return (
1270
+ <footer className="bg-gray-900 text-white pt-16 pb-8">
1271
+ <div className="container mx-auto px-4">
1272
+ <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8 mb-12">
1273
+ <div>
1274
+ <h3 className="text-xl font-bold title-font mb-4">VOGUE</h3>
1275
+ <p className="text-gray-400 mb-4">
1276
+ Elevating your style with timeless fashion pieces since 2015.
1277
+ </p>
1278
+ <div className="flex space-x-4">
1279
+ <a href="#" className="text-gray-400 hover:text-white transition-colors">
1280
+ <i className="fab fa-facebook-f"></i>
1281
+ </a>
1282
+ <a href="#" className="text-gray-400 hover:text-white transition-colors">
1283
+ <i className="fab fa-twitter"></i>
1284
+ </a>
1285
+ <a href="#" className="text-gray-400 hover:text-white transition-colors">
1286
+ <i className="fab fa-instagram"></i>
1287
+ </a>
1288
+ <a href="#" className="text-gray-400 hover:text-white transition-colors">
1289
+ <i className="fab fa-pinterest-p"></i>
1290
+ </a>
1291
+ </div>
1292
+ </div>
1293
+
1294
+ <div>
1295
+ <h4 className="text-lg font-bold mb-4">Shop</h4>
1296
+ <ul className="space-y-2">
1297
+ <li>
1298
+ <button
1299
+ onClick={() => setCurrentPage('shop')}
1300
+ className="text-gray-400 hover:text-white transition-colors"
1301
+ >
1302
+ All Products
1303
+ </button>
1304
+ </li>
1305
+ <li>
1306
+ <a href="#" className="text-gray-400 hover:text-white transition-colors">New Arrivals</a>
1307
+ </li>
1308
+ <li>
1309
+ <a href="#" className="text-gray-400 hover:text-white transition-colors">Best Sellers</a>
1310
+ </li>
1311
+ <li>
1312
+ <a href="#" className="text-gray-400 hover:text-white transition-colors">Sale</a>
1313
+ </li>
1314
+ </ul>
1315
+ </div>
1316
+
1317
+ <div>
1318
+ <h4 className="text-lg font-bold mb-4">About</h4>
1319
+ <ul className="space-y-2">
1320
+ <li>
1321
+ <button
1322
+ onClick={() => setCurrentPage('about')}
1323
+ className="text-gray-400 hover:text-white transition-colors"
1324
+ >
1325
+ Our Story
1326
+ </button>
1327
+ </li>
1328
+ <li>
1329
+ <a href="#" className="text-gray-400 hover:text-white transition-colors">Sustainability</a>
1330
+ </li>
1331
+ <li>
1332
+ <a href="#" className="text-gray-400 hover:text-white transition-colors">Careers</a>
1333
+ </li>
1334
+ <li>
1335
+ <a href="#" className="text-gray-400 hover:text-white transition-colors">Press</a>
1336
+ </li>
1337
+ </ul>
1338
+ </div>
1339
+
1340
+ <div>
1341
+ <h4 className="text-lg font-bold mb-4">Customer Service</h4>
1342
+ <ul className="space-y-2">
1343
+ <li>
1344
+ <button
1345
+ onClick={() => setCurrentPage('contact')}
1346
+ className="text-gray-400 hover:text-white transition-colors"
1347
+ >
1348
+ Contact Us
1349
+ </button>
1350
+ </li>
1351
+ <li>
1352
+ <a href="#" className="text-gray-400 hover:text-white transition-colors">FAQs</a>
1353
+ </li>
1354
+ <li>
1355
+ <a href="#" className="text-gray-400 hover:text-white transition-colors">Shipping & Returns</a>
1356
+ </li>
1357
+ <li>
1358
+ <a href="#" className="text-gray-400 hover:text-white transition-colors">Size Guide</a>
1359
+ </li>
1360
+ </ul>
1361
+ </div>
1362
+ </div>
1363
+
1364
+ <div className="border-t border-gray-800 pt-8">
1365
+ <div className="flex flex-col md:flex-row justify-between items-center">
1366
+ <p className="text-gray-400 mb-4 md:mb-0">
1367
+ &copy; 2023 VOGUE. All rights reserved.
1368
+ </p>
1369
+ <div className="flex space-x-6">
1370
+ <a href="#" className="text-gray-400 hover:text-white transition-colors">Privacy Policy</a>
1371
+ <a href="#" className="text-gray-400 hover:text-white transition-colors">Terms of Service</a>
1372
+ <a href="#" className="text-gray-400 hover:text-white transition-colors">Accessibility</a>
1373
+ </div>
1374
+ </div>
1375
+ </div>
1376
+ </div>
1377
+ </footer>
1378
+ );
1379
+ }
1380
+
1381
+ // Product Card Component
1382
+ function ProductCard({ product, addToCart }) {
1383
+ return (
1384
+ <div className="product-card group relative bg-white rounded-lg shadow-sm overflow-hidden transition-all hover:shadow-lg">
1385
+ <div className="aspect-w-3 aspect-h-4 bg-gray-200 overflow-hidden">
1386
+ <img
1387
+ src={product.image}
1388
+ alt={product.name}
1389
+ className="w-full h-full object-cover transition-transform duration-500 group-hover:scale-105"
1390
+ />
1391
+ </div>
1392
+
1393
+ <div className="p-4">
1394
+ <h3 className="text-lg font-medium text-gray-900 mb-1">{product.name}</h3>
1395
+ <p className="text-gray-900 font-bold">${product.price.toFixed(2)}</p>
1396
+ </div>
1397
+
1398
+ <div className="product-actions absolute inset-x-0 bottom-0 p-4">
1399
+ <button
1400
+ onClick={() => addToCart(product)}
1401
+ className="w-full bg-gray-900 hover:bg-rose-500 text-white font-medium py-2 px-4 rounded-md transition-colors"
1402
+ >
1403
+ Add to Cart
1404
+ </button>
1405
+ </div>
1406
+ </div>
1407
+ );
1408
+ }
1409
+
1410
+ // Category Card Component
1411
+ function CategoryCard({ title, image }) {
1412
+ return (
1413
+ <div className="relative group overflow-hidden rounded-lg shadow-sm h-64">
1414
+ <img
1415
+ src={image}
1416
+ alt={title}
1417
+ className="w-full h-full object-cover transition-transform duration-500 group-hover:scale-110"
1418
+ />
1419
+ <div className="absolute inset-0 bg-black bg-opacity-30 group-hover:bg-opacity-40 transition-all"></div>
1420
+ <div className="absolute inset-0 flex items-center justify-center">
1421
+ <h3 className="text-2xl font-bold text-white title-font">{title}</h3>
1422
+ </div>
1423
+ </div>
1424
+ );
1425
+ }
1426
+
1427
+ // Testimonial Card Component
1428
+ function TestimonialCard({ quote, author, role }) {
1429
+ return (
1430
+ <div className="bg-white p-6 rounded-lg shadow-sm">
1431
+ <div className="mb-4">
1432
+ <i className="fas fa-quote-left text-rose-500 text-2xl"></i>
1433
+ </div>
1434
+ <p className="text-gray-700 mb-6">{quote}</p>
1435
+ <div className="flex items-center">
1436
+ <div className="bg-gray-200 w-10 h-10 rounded-full flex items-center justify-center mr-4">
1437
+ <i className="fas fa-user text-gray-500"></i>
1438
+ </div>
1439
+ <div>
1440
+ <p className="font-medium text-gray-900">{author}</p>
1441
+ <p className="text-gray-500 text-sm">{role}</p>
1442
+ </div>
1443
+ </div>
1444
+ </div>
1445
+ );
1446
+ }
1447
+
1448
+ // Value Card Component
1449
+ function ValueCard({ icon, title, description }) {
1450
+ return (
1451
+ <div className="text-center">
1452
+ <div className="bg-rose-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4">
1453
+ <i className={`${icon} text-rose-500 text-2xl`}></i>
1454
+ </div>
1455
+ <h3 className="text-lg font-bold text-gray-900 mb-2">{title}</h3>
1456
+ <p className="text-gray-600">{description}</p>
1457
+ </div>
1458
+ );
1459
+ }
1460
+
1461
+ // Team Member Card Component
1462
+ function TeamMember({ name, role, image }) {
1463
+ return (
1464
+ <div className="text-center">
1465
+ <div className="w-32 h-32 mx-auto mb-4 rounded-full overflow-hidden border-4 border-white shadow-lg">
1466
+ <img
1467
+ src={image}
1468
+ alt={name}
1469
+ className="w-full h-full object-cover"
1470
+ />
1471
+ </div>
1472
+ <h3 className="text-lg font-bold text-gray-900">{name}</h3>
1473
+ <p className="text-gray-600">{role}</p>
1474
+ </div>
1475
+ );
1476
+ }
1477
+
1478
+ // Render the app
1479
+ ReactDOM.render(<App />, document.getElementById('root'));
1480
+ </script>
1481
+ <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=bd3a/test777" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
1482
+ </html>