Philly123ez commited on
Commit
28be64c
·
verified ·
1 Parent(s): 50533a1

Add 2 files

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +731 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Multilisttool
3
- emoji: 🐢
4
- colorFrom: purple
5
- colorTo: blue
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: multilisttool
3
+ emoji: 🐳
4
+ colorFrom: green
5
+ colorTo: gray
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,731 @@
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>Multi-Marketplace Lister | Sell on Poshmark, Mercari & eBay</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <style>
10
+ .gradient-bg {
11
+ background: linear-gradient(135deg, #6e8efb, #a777e3);
12
+ }
13
+ .platform-card:hover {
14
+ transform: translateY(-5px);
15
+ box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
16
+ }
17
+ .platform-card {
18
+ transition: all 0.3s ease;
19
+ }
20
+ .tab-active {
21
+ border-bottom: 3px solid #6e8efb;
22
+ color: #6e8efb;
23
+ }
24
+ .image-preview {
25
+ background-size: cover;
26
+ background-position: center;
27
+ }
28
+ .progress-bar {
29
+ transition: width 0.5s ease;
30
+ }
31
+ .loading-spinner {
32
+ display: inline-block;
33
+ width: 20px;
34
+ height: 20px;
35
+ border: 3px solid rgba(255,255,255,.3);
36
+ border-radius: 50%;
37
+ border-top-color: #fff;
38
+ animation: spin 1s ease-in-out infinite;
39
+ }
40
+ @keyframes spin {
41
+ to { transform: rotate(360deg); }
42
+ }
43
+ </style>
44
+ </head>
45
+ <body class="bg-gray-50 min-h-screen">
46
+ <!-- Header -->
47
+ <header class="gradient-bg text-white shadow-lg">
48
+ <div class="container mx-auto px-4 py-6">
49
+ <div class="flex justify-between items-center">
50
+ <div class="flex items-center space-x-2">
51
+ <i class="fas fa-store text-2xl"></i>
52
+ <h1 class="text-2xl font-bold">CrossList</h1>
53
+ </div>
54
+ <nav>
55
+ <ul class="flex space-x-6">
56
+ <li><a href="#" class="hover:underline">Home</a></li>
57
+ <li><a href="#" class="hover:underline">Pricing</a></li>
58
+ <li><a href="#" class="hover:underline">FAQ</a></li>
59
+ <li><a href="#" class="hover:underline">Contact</a></li>
60
+ </ul>
61
+ </nav>
62
+ <button class="bg-white text-purple-600 px-4 py-2 rounded-full font-semibold hover:bg-purple-100 transition">Sign In</button>
63
+ </div>
64
+ <div class="mt-12 text-center pb-16">
65
+ <h2 class="text-4xl font-bold mb-4">List Once, Sell Everywhere</h2>
66
+ <p class="text-xl max-w-2xl mx-auto">Post your items to Poshmark, Mercari, and eBay simultaneously with one simple form.</p>
67
+ </div>
68
+ </div>
69
+ </header>
70
+
71
+ <!-- Main Content -->
72
+ <main class="container mx-auto px-4 py-12 -mt-10">
73
+ <div class="bg-white rounded-xl shadow-lg overflow-hidden">
74
+ <!-- Progress Bar -->
75
+ <div class="bg-gray-200 h-2">
76
+ <div class="progress-bar bg-purple-600 h-2 w-1/4"></div>
77
+ </div>
78
+
79
+ <!-- Form Tabs -->
80
+ <div class="flex border-b">
81
+ <button class="tab-active px-6 py-4 font-medium" data-tab="details">Item Details</button>
82
+ <button class="px-6 py-4 font-medium text-gray-500" data-tab="options">Marketplace Options</button>
83
+ <button class="px-6 py-4 font-medium text-gray-500" data-tab="review">Review & Post</button>
84
+ <button class="px-6 py-4 font-medium text-gray-500" data-tab="success">Success</button>
85
+ </div>
86
+
87
+ <!-- Form Content - Item Details -->
88
+ <div class="p-8 tab-content" id="details-tab">
89
+ <h3 class="text-2xl font-bold mb-6">Tell us about your item</h3>
90
+
91
+ <!-- Image Upload -->
92
+ <div class="mb-8">
93
+ <label class="block text-gray-700 font-medium mb-2">Photos (up to 12)</label>
94
+ <div class="grid grid-cols-3 md:grid-cols-6 gap-4" id="image-container">
95
+ <div class="image-preview border-2 border-dashed border-gray-300 rounded-lg h-24 flex items-center justify-center cursor-pointer hover:border-purple-400 transition">
96
+ <div class="text-center">
97
+ <i class="fas fa-camera text-gray-400 text-2xl mb-1"></i>
98
+ <p class="text-xs text-gray-500">Add Photo</p>
99
+ </div>
100
+ <input type="file" id="image-upload" class="hidden" accept="image/*" multiple>
101
+ </div>
102
+ <div class="image-preview hidden"></div>
103
+ <div class="image-preview hidden"></div>
104
+ <div class="image-preview hidden"></div>
105
+ <div class="image-preview hidden"></div>
106
+ <div class="image-preview hidden"></div>
107
+ </div>
108
+ </div>
109
+
110
+ <!-- Item Details Form -->
111
+ <form id="item-form">
112
+ <div class="grid md:grid-cols-2 gap-6 mb-6">
113
+ <div>
114
+ <label for="title" class="block text-gray-700 font-medium mb-2">Title*</label>
115
+ <input type="text" id="title" required class="w-full px-4 py-2 border rounded-lg focus:ring-2 focus:ring-purple-400 focus:border-purple-400" placeholder="e.g. Nike Air Jordan 1 Retro High OG">
116
+ </div>
117
+ <div>
118
+ <label for="category" class="block text-gray-700 font-medium mb-2">Category*</label>
119
+ <select id="category" required class="w-full px-4 py-2 border rounded-lg focus:ring-2 focus:ring-purple-400 focus:border-purple-400">
120
+ <option value="">Select a category</option>
121
+ <option value="clothing">Clothing</option>
122
+ <option value="shoes">Shoes</option>
123
+ <option value="accessories">Accessories</option>
124
+ <option value="electronics">Electronics</option>
125
+ <option value="home">Home</option>
126
+ <option value="beauty">Beauty</option>
127
+ <option value="toys">Toys</option>
128
+ <option value="other">Other</option>
129
+ </select>
130
+ </div>
131
+ </div>
132
+
133
+ <div class="mb-6">
134
+ <label for="description" class="block text-gray-700 font-medium mb-2">Description*</label>
135
+ <textarea id="description" required rows="4" class="w-full px-4 py-2 border rounded-lg focus:ring-2 focus:ring-purple-400 focus:border-purple-400" placeholder="Describe your item in detail..."></textarea>
136
+ </div>
137
+
138
+ <div class="grid md:grid-cols-3 gap-6 mb-8">
139
+ <div>
140
+ <label for="brand" class="block text-gray-700 font-medium mb-2">Brand</label>
141
+ <input type="text" id="brand" class="w-full px-4 py-2 border rounded-lg focus:ring-2 focus:ring-purple-400 focus:border-purple-400" placeholder="e.g. Nike, Apple">
142
+ </div>
143
+ <div>
144
+ <label for="condition" class="block text-gray-700 font-medium mb-2">Condition*</label>
145
+ <select id="condition" required class="w-full px-4 py-2 border rounded-lg focus:ring-2 focus:ring-purple-400 focus:border-purple-400">
146
+ <option value="">Select condition</option>
147
+ <option value="new">New with tags</option>
148
+ <option value="new_no_tags">New without tags</option>
149
+ <option value="excellent">Excellent used condition</option>
150
+ <option value="good">Good used condition</option>
151
+ <option value="fair">Fair used condition</option>
152
+ </select>
153
+ </div>
154
+ <div>
155
+ <label for="color" class="block text-gray-700 font-medium mb-2">Color</label>
156
+ <input type="text" id="color" class="w-full px-4 py-2 border rounded-lg focus:ring-2 focus:ring-purple-400 focus:border-purple-400" placeholder="e.g. Black, Red">
157
+ </div>
158
+ </div>
159
+
160
+ <div class="grid md:grid-cols-2 gap-6 mb-8">
161
+ <div>
162
+ <label for="price" class="block text-gray-700 font-medium mb-2">Price*</label>
163
+ <div class="relative">
164
+ <span class="absolute left-3 top-2 text-gray-500">$</span>
165
+ <input type="number" id="price" required step="0.01" min="0" class="w-full pl-8 pr-4 py-2 border rounded-lg focus:ring-2 focus:ring-purple-400 focus:border-purple-400" placeholder="0.00">
166
+ </div>
167
+ </div>
168
+ <div>
169
+ <label for="shipping" class="block text-gray-700 font-medium mb-2">Shipping Options</label>
170
+ <select id="shipping" class="w-full px-4 py-2 border rounded-lg focus:ring-2 focus:ring-purple-400 focus:border-purple-400">
171
+ <option value="free">Free shipping</option>
172
+ <option value="calculated">Calculated shipping</option>
173
+ <option value="flat">Flat rate: $4.99</option>
174
+ </select>
175
+ </div>
176
+ </div>
177
+
178
+ <div class="flex justify-between">
179
+ <button type="button" class="px-6 py-2 text-gray-600 font-medium rounded-lg border hover:bg-gray-50">Cancel</button>
180
+ <button type="button" id="next-to-options" class="px-6 py-2 bg-purple-600 text-white font-medium rounded-lg hover:bg-purple-700 transition">Next: Marketplace Options</button>
181
+ </div>
182
+ </form>
183
+ </div>
184
+
185
+ <!-- Form Content - Marketplace Options -->
186
+ <div class="p-8 tab-content hidden" id="options-tab">
187
+ <h3 class="text-2xl font-bold mb-6">Select Marketplaces</h3>
188
+
189
+ <!-- Marketplace Selection -->
190
+ <div class="mb-8">
191
+ <label class="block text-gray-700 font-medium mb-4">Select Marketplaces*</label>
192
+ <div class="grid md:grid-cols-3 gap-4">
193
+ <!-- Poshmark Card -->
194
+ <div class="platform-card bg-white border rounded-lg p-4 cursor-pointer hover:border-purple-400">
195
+ <div class="flex items-center mb-3">
196
+ <img src="https://play-lh.googleusercontent.com/5Xz2y0Z3XqQZQ0Q9y9Q3XqQZQ0Q9y9Q3XqQZQ0Q9y9Q3XqQZQ0Q9y9Q3XqQZQ0Q9" alt="Poshmark" class="w-8 h-8 rounded-full mr-2">
197
+ <h4 class="font-semibold">Poshmark</h4>
198
+ </div>
199
+ <p class="text-sm text-gray-600 mb-3">Best for clothing, shoes & accessories</p>
200
+ <div class="flex items-center">
201
+ <input type="checkbox" id="poshmark" class="mr-2 h-4 w-4 text-purple-600 focus:ring-purple-400" checked>
202
+ <label for="poshmark" class="text-sm">List on Poshmark</label>
203
+ </div>
204
+ </div>
205
+
206
+ <!-- Mercari Card -->
207
+ <div class="platform-card bg-white border rounded-lg p-4 cursor-pointer hover:border-purple-400">
208
+ <div class="flex items-center mb-3">
209
+ <img src="https://play-lh.googleusercontent.com/5Xz2y0Z3XqQZQ0Q9y9Q3XqQZQ0Q9y9Q3XqQZQ0Q9y9Q3XqQZQ0Q9y9Q3XqQZQ0Q9" alt="Mercari" class="w-8 h-8 rounded-full mr-2">
210
+ <h4 class="font-semibold">Mercari</h4>
211
+ </div>
212
+ <p class="text-sm text-gray-600 mb-3">Great for electronics, home goods & more</p>
213
+ <div class="flex items-center">
214
+ <input type="checkbox" id="mercari" class="mr-2 h-4 w-4 text-purple-600 focus:ring-purple-400" checked>
215
+ <label for="mercari" class="text-sm">List on Mercari</label>
216
+ </div>
217
+ </div>
218
+
219
+ <!-- eBay Card -->
220
+ <div class="platform-card bg-white border rounded-lg p-4 cursor-pointer hover:border-purple-400">
221
+ <div class="flex items-center mb-3">
222
+ <img src="https://play-lh.googleusercontent.com/5Xz2y0Z3XqQZQ0Q9y9Q3XqQZQ0Q9y9Q3XqQZQ0Q9y9Q3XqQZQ0Q9y9Q3XqQZQ0Q9" alt="eBay" class="w-8 h-8 rounded-full mr-2">
223
+ <h4 class="font-semibold">eBay</h4>
224
+ </div>
225
+ <p class="text-sm text-gray-600 mb-3">Ideal for collectibles and rare items</p>
226
+ <div class="flex items-center">
227
+ <input type="checkbox" id="ebay" class="mr-2 h-4 w-4 text-purple-600 focus:ring-purple-400" checked>
228
+ <label for="ebay" class="text-sm">List on eBay</label>
229
+ </div>
230
+ </div>
231
+ </div>
232
+ </div>
233
+
234
+ <div class="flex justify-between">
235
+ <button type="button" id="back-to-details" class="px-6 py-2 text-gray-600 font-medium rounded-lg border hover:bg-gray-50">Back</button>
236
+ <button type="button" id="next-to-review" class="px-6 py-2 bg-purple-600 text-white font-medium rounded-lg hover:bg-purple-700 transition">Next: Review & Post</button>
237
+ </div>
238
+ </div>
239
+
240
+ <!-- Form Content - Review & Post -->
241
+ <div class="p-8 tab-content hidden" id="review-tab">
242
+ <h3 class="text-2xl font-bold mb-6">Review Your Listing</h3>
243
+
244
+ <div class="grid md:grid-cols-3 gap-8 mb-8">
245
+ <!-- Item Preview -->
246
+ <div class="md:col-span-2">
247
+ <div class="bg-white border rounded-lg p-6">
248
+ <h4 class="font-semibold text-lg mb-4">Item Preview</h4>
249
+
250
+ <div class="grid grid-cols-3 gap-2 mb-4" id="review-images">
251
+ <!-- Images will be added here by JavaScript -->
252
+ </div>
253
+
254
+ <h5 class="font-medium text-lg" id="review-title">Item Title</h5>
255
+ <p class="text-gray-600 mb-2" id="review-price">$0.00</p>
256
+ <p class="text-sm text-gray-500 mb-4" id="review-condition">Condition: New</p>
257
+ <p class="text-gray-700" id="review-description">Item description goes here...</p>
258
+ </div>
259
+ </div>
260
+
261
+ <!-- Marketplace Summary -->
262
+ <div>
263
+ <div class="bg-white border rounded-lg p-6">
264
+ <h4 class="font-semibold text-lg mb-4">Posting To</h4>
265
+
266
+ <ul class="space-y-3">
267
+ <li class="flex items-center" id="poshmark-review">
268
+ <i class="fas fa-check-circle text-green-500 mr-2"></i>
269
+ <span>Poshmark</span>
270
+ </li>
271
+ <li class="flex items-center" id="mercari-review">
272
+ <i class="fas fa-check-circle text-green-500 mr-2"></i>
273
+ <span>Mercari</span>
274
+ </li>
275
+ <li class="flex items-center" id="ebay-review">
276
+ <i class="fas fa-check-circle text-green-500 mr-2"></i>
277
+ <span>eBay</span>
278
+ </li>
279
+ </ul>
280
+
281
+ <div class="mt-6 pt-4 border-t">
282
+ <p class="text-sm text-gray-500">By clicking "Post Listings", you agree to our Terms of Service.</p>
283
+ <button id="post-listings" class="w-full mt-4 px-6 py-3 bg-green-600 text-white font-medium rounded-lg hover:bg-green-700 transition flex items-center justify-center">
284
+ <span>Post Listings</span>
285
+ <span class="loading-spinner ml-2 hidden"></span>
286
+ </button>
287
+ </div>
288
+ </div>
289
+ </div>
290
+ </div>
291
+
292
+ <div class="flex justify-between">
293
+ <button type="button" id="back-to-options" class="px-6 py-2 text-gray-600 font-medium rounded-lg border hover:bg-gray-50">Back</button>
294
+ <button type="button" class="px-6 py-2 text-gray-600 font-medium rounded-lg border hover:bg-gray-50">Save Draft</button>
295
+ </div>
296
+ </div>
297
+
298
+ <!-- Form Content - Success -->
299
+ <div class="p-8 tab-content hidden" id="success-tab">
300
+ <div class="text-center py-12">
301
+ <div class="w-20 h-20 bg-green-100 rounded-full flex items-center justify-center mx-auto mb-6">
302
+ <i class="fas fa-check text-green-600 text-3xl"></i>
303
+ </div>
304
+ <h3 class="text-2xl font-bold mb-2">Listings Posted Successfully!</h3>
305
+ <p class="text-gray-600 mb-8 max-w-md mx-auto">Your item has been successfully posted to all selected marketplaces. You can view and manage your listings from your dashboard.</p>
306
+
307
+ <div class="grid md:grid-cols-3 gap-4 max-w-2xl mx-auto mb-8">
308
+ <div class="bg-white border rounded-lg p-4">
309
+ <div class="flex items-center justify-center mb-2">
310
+ <img src="https://play-lh.googleusercontent.com/5Xz2y0Z3XqQZQ0Q9y9Q3XqQZQ0Q9y9Q3XqQZQ0Q9y9Q3XqQZQ0Q9y9Q3XqQZQ0Q9" alt="Poshmark" class="w-8 h-8 rounded-full mr-2">
311
+ <span class="font-medium">Poshmark</span>
312
+ </div>
313
+ <a href="#" class="text-sm text-purple-600 hover:underline" id="poshmark-link">View Listing</a>
314
+ </div>
315
+ <div class="bg-white border rounded-lg p-4">
316
+ <div class="flex items-center justify-center mb-2">
317
+ <img src="https://play-lh.googleusercontent.com/5Xz2y0Z3XqQZQ0Q9y9Q3XqQZQ0Q9y9Q3XqQZQ0Q9y9Q3XqQZQ0Q9y9Q3XqQZQ0Q9" alt="Mercari" class="w-8 h-8 rounded-full mr-2>
318
+ <span class="font-medium">Mercari</span>
319
+ </div>
320
+ <a href="#" class="text-sm text-purple-600 hover:underline" id="mercari-link">View Listing</a>
321
+ </div>
322
+ <div class="bg-white border rounded-lg p-4">
323
+ <div class="flex items-center justify-center mb-2">
324
+ <img src="https://play-lh.googleusercontent.com/5Xz2y0Z3XqQZQ0Q9y9Q3XqQZQ0Q9y9Q3XqQZQ0Q9y9Q3XqQZQ0Q9y9Q3XqQZQ0Q9" alt="eBay" class="w-8 h-8 rounded-full mr-2">
325
+ <span class="font-medium">eBay</span>
326
+ </div>
327
+ <a href="#" class="text-sm text-purple-600 hover:underline" id="ebay-link">View Listing</a>
328
+ </div>
329
+ </div>
330
+
331
+ <div class="flex justify-center space-x-4">
332
+ <button id="post-another" class="px-6 py-2 bg-purple-600 text-white font-medium rounded-lg hover:bg-purple-700 transition">Post Another Item</button>
333
+ <button class="px-6 py-2 border border-gray-300 font-medium rounded-lg hover:bg-gray-50 transition">Go to Dashboard</button>
334
+ </div>
335
+ </div>
336
+ </div>
337
+ </div>
338
+
339
+ <!-- Features Section -->
340
+ <section class="mt-16">
341
+ <h2 class="text-3xl font-bold text-center mb-12">Why Use CrossList?</h2>
342
+ <div class="grid md:grid-cols-3 gap-8">
343
+ <div class="bg-white p-6 rounded-lg shadow-md text-center">
344
+ <div class="text-purple-600 text-4xl mb-4">
345
+ <i class="fas fa-stopwatch"></i>
346
+ </div>
347
+ <h3 class="text-xl font-semibold mb-2">Save Time</h3>
348
+ <p class="text-gray-600">List once and your item appears on multiple marketplaces simultaneously, saving you hours of work.</p>
349
+ </div>
350
+ <div class="bg-white p-6 rounded-lg shadow-md text-center">
351
+ <div class="text-purple-600 text-4xl mb-4">
352
+ <i class="fas fa-chart-line"></i>
353
+ </div>
354
+ <h3 class="text-xl font-semibold mb-2">Maximize Exposure</h3>
355
+ <p class="text-gray-600">Reach millions of potential buyers across Poshmark, Mercari, and eBay with a single listing.</p>
356
+ </div>
357
+ <div class="bg-white p-6 rounded-lg shadow-md text-center">
358
+ <div class="text-purple-600 text-4xl mb-4">
359
+ <i class="fas fa-sliders-h"></i>
360
+ </div>
361
+ <h3 class="text-xl font-semibold mb-2">Customize Per Platform</h3>
362
+ <p class="text-gray-600">Tailor your listings for each marketplace's unique requirements while maintaining consistency.</p>
363
+ </div>
364
+ </div>
365
+ </section>
366
+ </main>
367
+
368
+ <!-- Footer -->
369
+ <footer class="bg-gray-800 text-white py-12 mt-16">
370
+ <div class="container mx-auto px-4">
371
+ <div class="grid md:grid-cols-4 gap-8">
372
+ <div>
373
+ <h3 class="text-xl font-bold mb-4">CrossList</h3>
374
+ <p class="text-gray-400">The easiest way to sell across multiple marketplaces with one simple listing.</p>
375
+ </div>
376
+ <div>
377
+ <h4 class="font-semibold mb-4">Marketplaces</h4>
378
+ <ul class="space-y-2">
379
+ <li><a href="#" class="text-gray-400 hover:text-white">Poshmark</a></li>
380
+ <li><a href="#" class="text-gray-400 hover:text-white">Mercari</a></li>
381
+ <li><a href="#" class="text-gray-400 hover:text-white">eBay</a></li>
382
+ <li><a href="#" class="text-gray-400 hover:text-white">Coming Soon</a></li>
383
+ </ul>
384
+ </div>
385
+ <div>
386
+ <h4 class="font-semibold mb-4">Resources</h4>
387
+ <ul class="space-y-2">
388
+ <li><a href="#" class="text-gray-400 hover:text-white">Blog</a></li>
389
+ <li><a href="#" class="text-gray-400 hover:text-white">Selling Tips</a></li>
390
+ <li><a href="#" class="text-gray-400 hover:text-white">Pricing Guide</a></li>
391
+ <li><a href="#" class="text-gray-400 hover:text-white">API</a></li>
392
+ </ul>
393
+ </div>
394
+ <div>
395
+ <h4 class="font-semibold mb-4">Connect</h4>
396
+ <div class="flex space-x-4 mb-4">
397
+ <a href="#" class="text-gray-400 hover:text-white text-xl"><i class="fab fa-facebook"></i></a>
398
+ <a href="#" class="text-gray-400 hover:text-white text-xl"><i class="fab fa-twitter"></i></a>
399
+ <a href="#" class="text-gray-400 hover:text-white text-xl"><i class="fab fa-instagram"></i></a>
400
+ <a href="#" class="text-gray-400 hover:text-white text-xl"><i class="fab fa-pinterest"></i></a>
401
+ </div>
402
+ <p class="text-gray-400">Subscribe to our newsletter</p>
403
+ <div class="mt-2 flex">
404
+ <input type="email" placeholder="Your email" class="px-3 py-2 text-gray-800 rounded-l">
405
+ <button class="bg-purple-600 px-3 py-2 rounded-r hover:bg-purple-700"><i class="fas fa-paper-plane"></i></button>
406
+ </div>
407
+ </div>
408
+ </div>
409
+ <div class="border-t border-gray-700 mt-8 pt-8 text-center text-gray-400">
410
+ <p>&copy; 2023 CrossList. All rights reserved.</p>
411
+ </div>
412
+ </div>
413
+ </footer>
414
+
415
+ <script>
416
+ // Global variables
417
+ let uploadedImages = [];
418
+ let selectedPlatforms = {
419
+ poshmark: true,
420
+ mercari: true,
421
+ ebay: true
422
+ };
423
+
424
+ // Mock API endpoints
425
+ const mockAPIs = {
426
+ poshmark: {
427
+ postListing: function(item) {
428
+ return new Promise((resolve) => {
429
+ setTimeout(() => {
430
+ resolve({
431
+ success: true,
432
+ listingId: `posh_${Math.random().toString(36).substr(2, 9)}`,
433
+ url: "https://poshmark.com/closet/listing/" + Math.random().toString(36).substr(2, 9)
434
+ });
435
+ }, 1000);
436
+ });
437
+ }
438
+ },
439
+ mercari: {
440
+ postListing: function(item) {
441
+ return new Promise((resolve) => {
442
+ setTimeout(() => {
443
+ resolve({
444
+ success: true,
445
+ listingId: `merc_${Math.random().toString(36).substr(2, 9)}`,
446
+ url: "https://mercari.com/items/" + Math.random().toString(36).substr(2, 9)
447
+ });
448
+ }, 1500);
449
+ });
450
+ }
451
+ },
452
+ ebay: {
453
+ postListing: function(item) {
454
+ return new Promise((resolve) => {
455
+ setTimeout(() => {
456
+ resolve({
457
+ success: true,
458
+ listingId: `ebay_${Math.random().toString(36).substr(2, 9)}`,
459
+ url: "https://ebay.com/itm/" + Math.random().toString(36).substr(2, 9)
460
+ });
461
+ }, 2000);
462
+ });
463
+ }
464
+ }
465
+ };
466
+
467
+ // Tab switching functionality
468
+ function switchTab(tabName) {
469
+ // Hide all tab contents
470
+ document.querySelectorAll('.tab-content').forEach(tab => {
471
+ tab.classList.add('hidden');
472
+ });
473
+
474
+ // Show selected tab content
475
+ document.getElementById(`${tabName}-tab`).classList.remove('hidden');
476
+
477
+ // Update tab styling
478
+ document.querySelectorAll('.flex.border-b button').forEach(tab => {
479
+ tab.classList.remove('tab-active', 'text-purple-600');
480
+ tab.classList.add('text-gray-500');
481
+
482
+ if (tab.dataset.tab === tabName) {
483
+ tab.classList.add('tab-active', 'text-purple-600');
484
+ tab.classList.remove('text-gray-500');
485
+ }
486
+ });
487
+
488
+ // Update progress bar
489
+ const progressBar = document.querySelector('.progress-bar');
490
+ if (tabName === 'details') {
491
+ progressBar.style.width = '25%';
492
+ } else if (tabName === 'options') {
493
+ progressBar.style.width = '50%';
494
+ } else if (tabName === 'review') {
495
+ progressBar.style.width = '75%';
496
+ updateReviewSection();
497
+ } else if (tabName === 'success') {
498
+ progressBar.style.width = '100%';
499
+ }
500
+ }
501
+
502
+ // Image upload functionality
503
+ document.getElementById('image-upload').addEventListener('change', function(e) {
504
+ const files = e.target.files;
505
+ const previews = document.querySelectorAll('#image-container .image-preview');
506
+
507
+ // Clear previous uploads
508
+ uploadedImages = [];
509
+ previews.forEach((preview, index) => {
510
+ if (index > 0) preview.classList.add('hidden');
511
+ preview.style.backgroundImage = '';
512
+ preview.innerHTML = '';
513
+ });
514
+
515
+ // Process new files
516
+ for (let i = 0; i < Math.min(files.length, 6); i++) {
517
+ const reader = new FileReader();
518
+ reader.onload = function(event) {
519
+ uploadedImages.push(event.target.result);
520
+
521
+ const previewBox = previews[i];
522
+ previewBox.style.backgroundImage = `url(${event.target.result})`;
523
+ previewBox.innerHTML = '';
524
+ previewBox.classList.remove('border-dashed');
525
+
526
+ if (i === 0) {
527
+ // First box is the upload box, we've replaced it
528
+ // Add a new upload box at the end if we have space
529
+ if (files.length < 6) {
530
+ const uploadBox = document.createElement('div');
531
+ uploadBox.className = 'image-preview border-2 border-dashed border-gray-300 rounded-lg h-24 flex items-center justify-center cursor-pointer hover:border-purple-400 transition';
532
+ uploadBox.innerHTML = `
533
+ <div class="text-center">
534
+ <i class="fas fa-camera text-gray-400 text-2xl mb-1"></i>
535
+ <p class="text-xs text-gray-500">Add Photo</p>
536
+ </div>
537
+ <input type="file" class="hidden" accept="image/*" multiple>
538
+ `;
539
+ uploadBox.querySelector('input').addEventListener('change', function(e) {
540
+ document.getElementById('image-upload').dispatchEvent(new Event('change'));
541
+ });
542
+ document.getElementById('image-container').appendChild(uploadBox);
543
+ }
544
+ }
545
+ }
546
+ reader.readAsDataURL(files[i]);
547
+ }
548
+ });
549
+
550
+ // Marketplace selection
551
+ document.getElementById('poshmark').addEventListener('change', function() {
552
+ selectedPlatforms.poshmark = this.checked;
553
+ });
554
+ document.getElementById('mercari').addEventListener('change', function() {
555
+ selectedPlatforms.mercari = this.checked;
556
+ });
557
+ document.getElementById('ebay').addEventListener('change', function() {
558
+ selectedPlatforms.ebay = this.checked;
559
+ });
560
+
561
+ // Navigation buttons
562
+ document.getElementById('next-to-options').addEventListener('click', function() {
563
+ // Validate form
564
+ const form = document.getElementById('item-form');
565
+ const requiredFields = form.querySelectorAll('[required]');
566
+ let isValid = true;
567
+
568
+ requiredFields.forEach(field => {
569
+ if (!field.value) {
570
+ field.classList.add('border-red-500');
571
+ isValid = false;
572
+ } else {
573
+ field.classList.remove('border-red-500');
574
+ }
575
+ });
576
+
577
+ if (isValid) {
578
+ switchTab('options');
579
+ } else {
580
+ alert('Please fill in all required fields.');
581
+ }
582
+ });
583
+
584
+ document.getElementById('back-to-details').addEventListener('click', function() {
585
+ switchTab('details');
586
+ });
587
+
588
+ document.getElementById('next-to-review').addEventListener('click', function() {
589
+ // Check if at least one platform is selected
590
+ if (!selectedPlatforms.poshmark && !selectedPlatforms.mercari && !selectedPlatforms.ebay) {
591
+ alert('Please select at least one marketplace to post to.');
592
+ return;
593
+ }
594
+
595
+ switchTab('review');
596
+ });
597
+
598
+ document.getElementById('back-to-options').addEventListener('click', function() {
599
+ switchTab('options');
600
+ });
601
+
602
+ // Update review section with form data
603
+ function updateReviewSection() {
604
+ // Update images
605
+ const reviewImagesContainer = document.getElementById('review-images');
606
+ reviewImagesContainer.innerHTML = '';
607
+
608
+ uploadedImages.slice(0, 3).forEach(image => {
609
+ const imgDiv = document.createElement('div');
610
+ imgDiv.className = 'h-24 bg-cover bg-center rounded';
611
+ imgDiv.style.backgroundImage = `url(${image})`;
612
+ reviewImagesContainer.appendChild(imgDiv);
613
+ });
614
+
615
+ // Update item details
616
+ document.getElementById('review-title').textContent = document.getElementById('title').value;
617
+ document.getElementById('review-price').textContent = `$${parseFloat(document.getElementById('price').value).toFixed(2)}`;
618
+ document.getElementById('review-condition').textContent = `Condition: ${document.getElementById('condition').options[document.getElementById('condition').selectedIndex].text}`;
619
+ document.getElementById('review-description').textContent = document.getElementById('description').value;
620
+
621
+ // Update platform selection
622
+ document.getElementById('poshmark-review').style.display = selectedPlatforms.poshmark ? 'flex' : 'none';
623
+ document.getElementById('mercari-review').style.display = selectedPlatforms.mercari ? 'flex' : 'none';
624
+ document.getElementById('ebay-review').style.display = selectedPlatforms.ebay ? 'flex' : 'none';
625
+ }
626
+
627
+ // Post listings to mock APIs
628
+ document.getElementById('post-listings').addEventListener('click', async function() {
629
+ const button = this;
630
+ const spinner = button.querySelector('.loading-spinner');
631
+
632
+ // Show loading state
633
+ button.disabled = true;
634
+ spinner.classList.remove('hidden');
635
+
636
+ // Prepare item data
637
+ const item = {
638
+ title: document.getElementById('title').value,
639
+ description: document.getElementById('description').value,
640
+ price: parseFloat(document.getElementById('price').value).toFixed(2),
641
+ images: uploadedImages,
642
+ category: document.getElementById('category').value,
643
+ brand: document.getElementById('brand').value,
644
+ condition: document.getElementById('condition').value,
645
+ color: document.getElementById('color').value,
646
+ shipping: document.getElementById('shipping').value
647
+ };
648
+
649
+ try {
650
+ // Post to selected platforms
651
+ const results = {};
652
+
653
+ if (selectedPlatforms.poshmark) {
654
+ results.poshmark = await mockAPIs.poshmark.postListing(item);
655
+ }
656
+ if (selectedPlatforms.mercari) {
657
+ results.mercari = await mockAPIs.mercari.postListing(item);
658
+ }
659
+ if (selectedPlatforms.ebay) {
660
+ results.ebay = await mockAPIs.ebay.postListing(item);
661
+ }
662
+
663
+ // Update success links
664
+ if (results.poshmark) {
665
+ document.getElementById('poshmark-link').href = results.poshmark.url;
666
+ }
667
+ if (results.mercari) {
668
+ document.getElementById('mercari-link').href = results.mercari.url;
669
+ }
670
+ if (results.ebay) {
671
+ document.getElementById('ebay-link').href = results.ebay.url;
672
+ }
673
+
674
+ // Show success tab
675
+ switchTab('success');
676
+ } catch (error) {
677
+ console.error('Error posting listings:', error);
678
+ alert('There was an error posting your listings. Please try again.');
679
+ } finally {
680
+ button.disabled = false;
681
+ spinner.classList.add('hidden');
682
+ }
683
+ });
684
+
685
+ // Post another item
686
+ document.getElementById('post-another').addEventListener('click', function() {
687
+ // Reset form
688
+ document.getElementById('item-form').reset();
689
+ uploadedImages = [];
690
+ document.querySelectorAll('#image-container .image-preview').forEach((preview, index) => {
691
+ if (index > 0) preview.classList.add('hidden');
692
+ preview.style.backgroundImage = '';
693
+ preview.innerHTML = '';
694
+ if (index === 0) {
695
+ preview.innerHTML = `
696
+ <div class="text-center">
697
+ <i class="fas fa-camera text-gray-400 text-2xl mb-1"></i>
698
+ <p class="text-xs text-gray-500">Add Photo</p>
699
+ </div>
700
+ `;
701
+ preview.classList.add('border-dashed');
702
+ }
703
+ });
704
+
705
+ // Reset platform selections
706
+ selectedPlatforms = {
707
+ poshmark: true,
708
+ mercari: true,
709
+ ebay: true
710
+ };
711
+ document.getElementById('poshmark').checked = true;
712
+ document.getElementById('mercari').checked = true;
713
+ document.getElementById('ebay').checked = true;
714
+
715
+ // Go back to first tab
716
+ switchTab('details');
717
+ });
718
+
719
+ // Initialize
720
+ document.addEventListener('DOMContentLoaded', function() {
721
+ // Make first image upload box clickable
722
+ document.querySelector('.image-preview').addEventListener('click', function() {
723
+ document.getElementById('image-upload').click();
724
+ });
725
+
726
+ // Initialize tab system
727
+ switchTab('details');
728
+ });
729
+ </script>
730
+ <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=Philly123ez/multilisttool" style="color: #fff;text-decoration: underline;" target="_blank" >🧬 Remix</a></p></body>
731
+ </html>