Spaces:
Running

bradleyschulz commited on
Commit
8518b5c
·
verified ·
1 Parent(s): 9ab7332

I want to rename the app "Shouts"

Browse files
Files changed (2) hide show
  1. README.md +9 -5
  2. index.html +301 -18
README.md CHANGED
@@ -1,10 +1,14 @@
1
  ---
2
- title: Undefined
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: undefined
3
+ colorFrom: pink
4
+ colorTo: yellow
5
+ emoji: 🐳
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite-v3
10
  ---
11
 
12
+ # Welcome to your new DeepSite project!
13
+ This project was created with [DeepSite](https://deepsite.hf.co).
14
+
index.html CHANGED
@@ -1,19 +1,302 @@
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>Shouts - Drink & Save</title>
7
+ <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
8
+ <script src="https://cdn.tailwindcss.com"></script>
9
+ <script src="https://unpkg.com/feather-icons"></script>
10
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
11
+ <script>
12
+ tailwind.config = {
13
+ theme: {
14
+ extend: {
15
+ colors: {
16
+ primary: '#4F46E5',
17
+ secondary: '#10B981',
18
+ }
19
+ }
20
+ }
21
+ }
22
+ </script>
23
+ <style>
24
+ @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
25
+ body {
26
+ font-family: 'Poppins', sans-serif;
27
+ }
28
+ .gradient-bg {
29
+ background: linear-gradient(135deg, #4F46E5 0%, #10B981 100%);
30
+ }
31
+ .progress-bar {
32
+ height: 8px;
33
+ border-radius: 4px;
34
+ background-color: #E5E7EB;
35
+ }
36
+ .progress-fill {
37
+ height: 100%;
38
+ border-radius: 4px;
39
+ background-color: #4F46E5;
40
+ transition: width 0.5s ease-in-out;
41
+ }
42
+ </style>
43
+ </head>
44
+ <body class="bg-gray-50 min-h-screen">
45
+ <!-- Navigation -->
46
+ <nav class="bg-white shadow-sm">
47
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
48
+ <div class="flex justify-between h-16">
49
+ <div class="flex items-center">
50
+ <div class="flex-shrink-0 flex items-center">
51
+ <i data-feather="award" class="text-primary-500 h-8 w-8"></i>
52
+ <span class="ml-2 text-xl font-bold text-gray-900">Shouts</span>
53
+ </div>
54
+ </div>
55
+ <div class="flex items-center space-x-4">
56
+ <button class="px-4 py-2 border border-transparent text-sm font-medium rounded-md text-white bg-primary-500 hover:bg-primary-600 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500">
57
+ Sign In
58
+ </button>
59
+ <button class="px-4 py-2 border border-transparent text-sm font-medium rounded-md text-primary-500 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500">
60
+ Sign Up
61
+ </button>
62
+ </div>
63
+ </div>
64
+ </div>
65
+ </nav>
66
+
67
+ <!-- Hero Section -->
68
+ <div class="gradient-bg text-white">
69
+ <div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:px-8 lg:py-24">
70
+ <div class="lg:grid lg:grid-cols-2 lg:gap-8 items-center">
71
+ <div class="mb-12 lg:mb-0">
72
+ <h1 class="text-4xl font-extrabold tracking-tight sm:text-5xl lg:text-6xl">
73
+ Drink More, Save More
74
+ </h1>
75
+ <p class="mt-5 text-xl text-white">
76
+ Earn discounts at your favorite bars with every shout. The more you drink, the more you save!
77
+ </p>
78
+ <div class="mt-8">
79
+ <button class="inline-flex items-center px-6 py-3 border border-transparent text-base font-medium rounded-md text-primary-500 bg-white hover:bg-gray-50">
80
+ Get Started
81
+ <i data-feather="arrow-right" class="ml-2"></i>
82
+ </button>
83
+ </div>
84
+ </div>
85
+ <div class="relative">
86
+ <div class="bg-white rounded-2xl shadow-xl overflow-hidden p-6">
87
+ <div class="flex justify-between items-center mb-4">
88
+ <h3 class="text-lg font-medium text-gray-900">Your Current Tier</h3>
89
+ <span class="px-2 py-1 text-xs font-semibold rounded-full bg-primary-100 text-primary-800">
90
+ Bronze (5%)
91
+ </span>
92
+ </div>
93
+ <div class="progress-bar mb-2">
94
+ <div class="progress-fill" style="width: 35%"></div>
95
+ </div>
96
+ <p class="text-sm text-gray-500 mb-6">35/50 shouts to next tier</p>
97
+ <div class="space-y-4">
98
+ <div class="flex justify-between items-center">
99
+ <span class="text-sm font-medium text-gray-700">0-49 shouts</span>
100
+ <span class="text-sm text-gray-500">5% discount</span>
101
+ </div>
102
+ <div class="flex justify-between items-center">
103
+ <span class="text-sm font-medium text-gray-700">50-99 shouts</span>
104
+ <span class="text-sm text-gray-500">10% discount</span>
105
+ </div>
106
+ <div class="flex justify-between items-center">
107
+ <span class="text-sm font-medium text-gray-700">100-149 shouts</span>
108
+ <span class="text-sm text-gray-500">18% discount</span>
109
+ </div>
110
+ <div class="flex justify-between items-center">
111
+ <span class="text-sm font-medium text-gray-700">150-200 shouts</span>
112
+ <span class="text-sm text-gray-500">25% discount</span>
113
+ </div>
114
+ </div>
115
+ </div>
116
+ </div>
117
+ </div>
118
+ </div>
119
+ </div>
120
+
121
+ <!-- How It Works -->
122
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
123
+ <h2 class="text-3xl font-extrabold text-gray-900 text-center mb-12">
124
+ How It Works
125
+ </h2>
126
+ <div class="grid md:grid-cols-3 gap-8">
127
+ <div class="bg-white p-6 rounded-lg shadow-md text-center">
128
+ <div class="mx-auto flex items-center justify-center h-12 w-12 rounded-full bg-primary-100 mb-4">
129
+ <i data-feather="map-pin" class="text-primary-500 h-6 w-6"></i>
130
+ </div>
131
+ <h3 class="text-lg font-medium text-gray-900 mb-2">1. Find Nearby Venues</h3>
132
+ <p class="text-gray-500">
133
+ Discover participating bars and pubs near you using our location-based search.
134
+ </p>
135
+ </div>
136
+ <div class="bg-white p-6 rounded-lg shadow-md text-center">
137
+ <div class="mx-auto flex items-center justify-center h-12 w-12 rounded-full bg-primary-100 mb-4">
138
+ <i data-feather="camera" class="text-primary-500 h-6 w-6"></i>
139
+ </div>
140
+ <h3 class="text-lg font-medium text-gray-900 mb-2">2. Scan QR Code</h3>
141
+ <p class="text-gray-500">
142
+ Scan the QR code at the venue to check in and start earning rewards.
143
+ </p>
144
+ </div>
145
+ <div class="bg-white p-6 rounded-lg shadow-md text-center">
146
+ <div class="mx-auto flex items-center justify-center h-12 w-12 rounded-full bg-primary-100 mb-4">
147
+ <i data-feather="award" class="text-primary-500 h-6 w-6"></i>
148
+ </div>
149
+ <h3 class="text-lg font-medium text-gray-900 mb-2">3. Earn Discounts</h3>
150
+ <p class="text-gray-500">
151
+ Unlock increasing discounts as you drink more at each venue.
152
+ </p>
153
+ </div>
154
+ </div>
155
+ </div>
156
+
157
+ <!-- Featured Venues -->
158
+ <div class="bg-gray-50">
159
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
160
+ <h2 class="text-3xl font-extrabold text-gray-900 text-center mb-12">
161
+ Popular Venues Near You
162
+ </h2>
163
+ <div class="grid md:grid-cols-3 gap-8">
164
+ <div class="bg-white overflow-hidden shadow rounded-lg">
165
+ <div class="h-48 bg-cover" style="background-image: url('http://static.photos/food/640x360/1')"></div>
166
+ <div class="p-6">
167
+ <h3 class="text-xl font-medium text-gray-900 mb-2">The Tipsy Tavern</h3>
168
+ <p class="text-gray-500 mb-4">0.3 miles away</p>
169
+ <div class="flex justify-between items-center">
170
+ <span class="text-sm font-medium text-gray-700">Current Tier: 10%</span>
171
+ <span class="text-sm text-gray-500">42/100 shouts</span>
172
+ </div>
173
+ <div class="progress-bar mt-2">
174
+ <div class="progress-fill" style="width: 42%"></div>
175
+ </div>
176
+ </div>
177
+ </div>
178
+ <div class="bg-white overflow-hidden shadow rounded-lg">
179
+ <div class="h-48 bg-cover" style="background-image: url('http://static.photos/food/640x360/2')"></div>
180
+ <div class="p-6">
181
+ <h3 class="text-xl font-medium text-gray-900 mb-2">Hop Haven</h3>
182
+ <p class="text-gray-500 mb-4">0.7 miles away</p>
183
+ <div class="flex justify-between items-center">
184
+ <span class="text-sm font-medium text-gray-700">Current Tier: 5%</span>
185
+ <span class="text-sm text-gray-500">15/50 shouts</span>
186
+ </div>
187
+ <div class="progress-bar mt-2">
188
+ <div class="progress-fill" style="width: 30%"></div>
189
+ </div>
190
+ </div>
191
+ </div>
192
+ <div class="bg-white overflow-hidden shadow rounded-lg">
193
+ <div class="h-48 bg-cover" style="background-image: url('http://static.photos/food/640x360/3')"></div>
194
+ <div class="p-6">
195
+ <h3 class="text-xl font-medium text-gray-900 mb-2">Barley & Vine</h3>
196
+ <p class="text-gray-500 mb-4">1.1 miles away</p>
197
+ <div class="flex justify-between items-center">
198
+ <span class="text-sm font-medium text-gray-700">Current Tier: 18%</span>
199
+ <span class="text-sm text-gray-500">127/150 shouts</span>
200
+ </div>
201
+ <div class="progress-bar mt-2">
202
+ <div class="progress-fill" style="width: 85%"></div>
203
+ </div>
204
+ </div>
205
+ </div>
206
+ </div>
207
+ </div>
208
+ </div>
209
+
210
+ <!-- CTA Section -->
211
+ <div class="bg-primary-500 text-white">
212
+ <div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:px-8 text-center">
213
+ <h2 class="text-3xl font-extrabold mb-6">Ready to Start Saving?</h2>
214
+ <p class="text-xl mb-8">Join thousands of happy drinkers earning rewards at their favorite bars.</p>
215
+ <button class="inline-flex items-center px-6 py-3 border border-transparent text-base font-medium rounded-md text-primary-500 bg-white hover:bg-gray-50">
216
+ Sign Up Now
217
+ <i data-feather="arrow-right" class="ml-2"></i>
218
+ </button>
219
+ </div>
220
+ </div>
221
+
222
+ <!-- Footer -->
223
+ <footer class="bg-gray-800 text-white">
224
+ <div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:px-8">
225
+ <div class="grid grid-cols-2 md:grid-cols-4 gap-8">
226
+ <div>
227
+ <h3 class="text-sm font-semibold text-gray-400 tracking-wider uppercase mb-4">Company</h3>
228
+ <ul class="space-y-2">
229
+ <li><a href="#" class="text-base text-gray-300 hover:text-white">About</a></li>
230
+ <li><a href="#" class="text-base text-gray-300 hover:text-white">Careers</a></li>
231
+ <li><a href="#" class="text-base text-gray-300 hover:text-white">Contact</a></li>
232
+ </ul>
233
+ </div>
234
+ <div>
235
+ <h3 class="text-sm font-semibold text-gray-400 tracking-wider uppercase mb-4">Support</h3>
236
+ <ul class="space-y-2">
237
+ <li><a href="#" class="text-base text-gray-300 hover:text-white">Help Center</a></li>
238
+ <li><a href="#" class="text-base text-gray-300 hover:text-white">Privacy Policy</a></li>
239
+ <li><a href="#" class="text-base text-gray-300 hover:text-white">Terms of Service</a></li>
240
+ </ul>
241
+ </div>
242
+ <div>
243
+ <h3 class="text-sm font-semibold text-gray-400 tracking-wider uppercase mb-4">For Venues</h3>
244
+ <ul class="space-y-2">
245
+ <li><a href="#" class="text-base text-gray-300 hover:text-white">Partner With Us</a></li>
246
+ <li><a href="#" class="text-base text-gray-300 hover:text-white">Venue Dashboard</a></li>
247
+ </ul>
248
+ </div>
249
+ <div>
250
+ <h3 class="text-sm font-semibold text-gray-400 tracking-wider uppercase mb-4">Connect</h3>
251
+ <div class="flex space-x-4">
252
+ <a href="#" class="text-gray-300 hover:text-white">
253
+ <i data-feather="facebook"></i>
254
+ </a>
255
+ <a href="#" class="text-gray-300 hover:text-white">
256
+ <i data-feather="twitter"></i>
257
+ </a>
258
+ <a href="#" class="text-gray-300 hover:text-white">
259
+ <i data-feather="instagram"></i>
260
+ </a>
261
+ </div>
262
+ </div>
263
+ </div>
264
+ <div class="mt-12 border-t border-gray-700 pt-8">
265
+ <p class="text-base text-gray-400 text-center">
266
+ &copy; 2023 Shouts. All rights reserved.
267
+ </p>
268
+ </div>
269
+ </div>
270
+ </footer>
271
+
272
+ <script>
273
+ feather.replace();
274
+
275
+ // Simulate geolocation prompt
276
+ document.querySelector('button').addEventListener('click', function() {
277
+ if (navigator.geolocation) {
278
+ navigator.geolocation.getCurrentPosition(
279
+ function(position) {
280
+ console.log("Location accessed:", position.coords);
281
+ // In a real app, you would use this to fetch nearby venues
282
+ },
283
+ function(error) {
284
+ console.error("Error getting location:", error);
285
+ alert("Please enable location services to find nearby venues.");
286
+ }
287
+ );
288
+ } else {
289
+ alert("Geolocation is not supported by this browser.");
290
+ }
291
+ });
292
+
293
+ // QR Code Scanner simulation
294
+ const qrButtons = document.querySelectorAll('[data-feather="camera"]');
295
+ qrButtons.forEach(button => {
296
+ button.addEventListener('click', function() {
297
+ alert("In a real app, this would open the camera to scan a QR code at the venue.");
298
+ });
299
+ });
300
+ </script>
301
+ </body>
302
  </html>