ProjectGenesis commited on
Commit
f7e44a5
·
verified ·
1 Parent(s): 056e25f

Build a single showcase page displaying 10 different unique notification pop-up styles for a modern web application. Each pop-up should be visually distinct in layout, animation style, and position (e.g., top bar, bottom slide-up, floating card, corner toast, banner overlay, modal, etc.). Theme: Dark UI with neon orange and neon yellow accents on black backgrounds. Use modern, minimal, glassmorphism or neumorphism effects where appropriate. Design Requirements: Each pop-up contains a sample message, such as “New Offer Available! Claim Now” or “Breaking News: Double Rewards Weekend.” Include a call-to-action button (“View Offer” or “Learn More”). Maintain readability while emphasizing urgency and excitement. Use glowing neon orange/yellow accents, gradient borders, or animated highlights. Animation Requirements (Must Loop Continuously): Each style should use a different animation pattern, and all animations must loop infinitely rather than play only once. Example animation patterns: Slide down + glow pulse loop Slide up + bounce loop Fade in/out loop Scale up/down pulse loop Flip + shadow pulse loop Zoom in/out with neon glow loop Slide in/out horizontally loop Marquee scrolling text loop Floating hover loop Gradient color shift loop Use smooth easing for all animations (e.g., ease-in-out). Include animation timing examples such as 2.5s infinite alternate so it’s clear animations are persistent. Buttons should have hover effects that also loop continuously (e.g., glow pulsing). Showcase Layout: Arrange all 10 variations vertically on a single scrolling page. Each style clearly labeled “Style 1,” “Style 2,” etc. Consistent dark background so the neon effects pop. Ensure designs are responsive and mobile-friendly. - Initial Deployment

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +387 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Live Notification 2
3
- emoji: 🐨
4
- colorFrom: indigo
5
- colorTo: yellow
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: live-notification-2
3
+ emoji: 🐳
4
+ colorFrom: yellow
5
+ colorTo: blue
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,387 @@
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>Neon Notification Showcase</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <script>
9
+ tailwind.config = {
10
+ theme: {
11
+ extend: {
12
+ colors: {
13
+ neonOrange: '#ff5e00',
14
+ neonYellow: '#ffdd00',
15
+ darkBg: '#0a0a0a',
16
+ },
17
+ animation: {
18
+ 'glow-pulse': 'glowPulse 2.5s infinite alternate',
19
+ 'bounce': 'bounce 2.5s infinite alternate',
20
+ 'fade': 'fade 3s infinite alternate',
21
+ 'scale-pulse': 'scalePulse 2.5s infinite alternate',
22
+ 'flip': 'flip 3s infinite alternate',
23
+ 'zoom-glow': 'zoomGlow 3s infinite alternate',
24
+ 'slide-horizontal': 'slideHorizontal 4s infinite alternate',
25
+ 'marquee': 'marquee 15s linear infinite',
26
+ 'float': 'float 3s ease-in-out infinite',
27
+ 'gradient-shift': 'gradientShift 4s linear infinite',
28
+ },
29
+ keyframes: {
30
+ glowPulse: {
31
+ '0%, 100%': { 'box-shadow': '0 0 5px rgba(255, 94, 0, 0.5)' },
32
+ '50%': { 'box-shadow': '0 0 20px rgba(255, 94, 0, 0.9), 0 0 30px rgba(255, 221, 0, 0.7)' },
33
+ },
34
+ bounce: {
35
+ '0%, 100%': { transform: 'translateY(0)' },
36
+ '50%': { transform: 'translateY(-10px)' },
37
+ },
38
+ fade: {
39
+ '0%, 100%': { opacity: 0.7 },
40
+ '50%': { opacity: 1 },
41
+ },
42
+ scalePulse: {
43
+ '0%, 100%': { transform: 'scale(0.95)' },
44
+ '50%': { transform: 'scale(1.05)' },
45
+ },
46
+ flip: {
47
+ '0%, 100%': { transform: 'perspective(600px) rotateY(0deg)' },
48
+ '50%': { transform: 'perspective(600px) rotateY(10deg)' },
49
+ },
50
+ zoomGlow: {
51
+ '0%, 100%': {
52
+ transform: 'scale(0.98)',
53
+ 'box-shadow': '0 0 10px rgba(255, 94, 0, 0.5)'
54
+ },
55
+ '50%': {
56
+ transform: 'scale(1.02)',
57
+ 'box-shadow': '0 0 25px rgba(255, 94, 0, 0.9), 0 0 35px rgba(255, 221, 0, 0.7)'
58
+ },
59
+ },
60
+ slideHorizontal: {
61
+ '0%, 100%': { transform: 'translateX(100%)' },
62
+ '50%': { transform: 'translateX(-10%)' },
63
+ },
64
+ marquee: {
65
+ '0%': { transform: 'translateX(100%)' },
66
+ '100%': { transform: 'translateX(-100%)' },
67
+ },
68
+ float: {
69
+ '0%, 100%': { transform: 'translateY(0)' },
70
+ '50%': { transform: 'translateY(-15px)' },
71
+ },
72
+ gradientShift: {
73
+ '0%': { 'background-position': '0% 50%' },
74
+ '50%': { 'background-position': '100% 50%' },
75
+ '100%': { 'background-position': '0% 50%' },
76
+ },
77
+ }
78
+ }
79
+ }
80
+ }
81
+ </script>
82
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
83
+ <style>
84
+ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
85
+
86
+ body {
87
+ font-family: 'Inter', sans-serif;
88
+ background: radial-gradient(circle at center, #1a1a1a 0%, #0a0a0a 100%);
89
+ color: #f0f0f0;
90
+ min-height: 100vh;
91
+ overflow-x: hidden;
92
+ }
93
+
94
+ .notification-card {
95
+ background: rgba(20, 20, 20, 0.7);
96
+ backdrop-filter: blur(10px);
97
+ border-radius: 12px;
98
+ border: 1px solid rgba(255, 94, 0, 0.2);
99
+ box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
100
+ transition: all 0.3s ease;
101
+ }
102
+
103
+ .neon-btn {
104
+ background: linear-gradient(45deg, #ff5e00, #ffdd00);
105
+ color: #0a0a0a;
106
+ font-weight: 600;
107
+ border-radius: 30px;
108
+ padding: 8px 20px;
109
+ position: relative;
110
+ overflow: hidden;
111
+ transition: all 0.3s;
112
+ border: none;
113
+ box-shadow: 0 0 10px rgba(255, 94, 0, 0.5);
114
+ }
115
+
116
+ .neon-btn::before {
117
+ content: '';
118
+ position: absolute;
119
+ top: 0;
120
+ left: -100%;
121
+ width: 100%;
122
+ height: 100%;
123
+ background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
124
+ transition: all 0.6s;
125
+ }
126
+
127
+ .neon-btn:hover {
128
+ transform: translateY(-2px);
129
+ box-shadow: 0 0 20px rgba(255, 94, 0, 0.8);
130
+ }
131
+
132
+ .neon-btn:hover::before {
133
+ left: 100%;
134
+ }
135
+
136
+ .glow-border {
137
+ position: relative;
138
+ }
139
+
140
+ .glow-border::after {
141
+ content: '';
142
+ position: absolute;
143
+ top: -2px;
144
+ left: -2px;
145
+ right: -2px;
146
+ bottom: -2px;
147
+ background: linear-gradient(45deg, #ff5e00, #ffdd00, #ff5e00);
148
+ border-radius: 14px;
149
+ z-index: -1;
150
+ filter: blur(5px);
151
+ opacity: 0.7;
152
+ animation: glowPulse 2.5s infinite alternate;
153
+ }
154
+
155
+ .marquee-container {
156
+ overflow: hidden;
157
+ white-space: nowrap;
158
+ }
159
+
160
+ .gradient-shift {
161
+ background: linear-gradient(90deg, #ff5e00, #ffdd00, #ff5e00);
162
+ background-size: 200% 200%;
163
+ }
164
+
165
+ .glass-effect {
166
+ background: rgba(30, 30, 30, 0.5);
167
+ backdrop-filter: blur(12px);
168
+ border: 1px solid rgba(255, 94, 0, 0.1);
169
+ }
170
+
171
+ .floating {
172
+ animation: float 3s ease-in-out infinite;
173
+ }
174
+
175
+ .notification-title {
176
+ font-weight: 700;
177
+ background: linear-gradient(45deg, #ffdd00, #ff5e00);
178
+ -webkit-background-clip: text;
179
+ -webkit-text-fill-color: transparent;
180
+ background-clip: text;
181
+ }
182
+
183
+ .highlight {
184
+ color: #ffdd00;
185
+ font-weight: 600;
186
+ }
187
+
188
+ .section-title {
189
+ position: relative;
190
+ display: inline-block;
191
+ margin-bottom: 20px;
192
+ }
193
+
194
+ .section-title::after {
195
+ content: '';
196
+ position: absolute;
197
+ bottom: -5px;
198
+ left: 0;
199
+ width: 100%;
200
+ height: 2px;
201
+ background: linear-gradient(90deg, transparent, #ff5e00, #ffdd00, #ff5e00, transparent);
202
+ }
203
+ </style>
204
+ </head>
205
+ <body class="min-h-screen py-12 px-4 sm:px-8">
206
+ <div class="max-w-4xl mx-auto">
207
+ <header class="text-center mb-16">
208
+ <h1 class="text-4xl md:text-5xl font-bold mb-4">Neon Notification Showcase</h1>
209
+ <p class="text-lg text-gray-300 max-w-2xl mx-auto">10 unique notification styles with neon orange/yellow accents on dark UI. All animations loop infinitely.</p>
210
+ <div class="mt-6 flex justify-center">
211
+ <div class="w-32 h-1 bg-gradient-to-r from-transparent via-neonOrange to-transparent rounded-full"></div>
212
+ </div>
213
+ </header>
214
+
215
+ <div class="space-y-20">
216
+ <!-- Style 1: Top Bar -->
217
+ <section class="relative pt-10">
218
+ <h2 class="text-2xl font-bold mb-8 section-title">Style 1: Top Bar Slide Down</h2>
219
+ <div class="notification-card glow-border w-full max-w-3xl mx-auto h-20 flex items-center justify-between px-6 py-4 animate-glow-pulse">
220
+ <div class="flex items-center">
221
+ <div class="w-10 h-10 rounded-full bg-gradient-to-br from-neonOrange to-neonYellow flex items-center justify-center mr-4">
222
+ <i class="fas fa-bolt text-darkBg text-lg"></i>
223
+ </div>
224
+ <div>
225
+ <p class="font-medium">New Offer Available! <span class="highlight">Claim Now</span></p>
226
+ </div>
227
+ </div>
228
+ <button class="neon-btn animate-bounce">View Offer</button>
229
+ </div>
230
+ </section>
231
+
232
+ <!-- Style 2: Bottom Slide-up -->
233
+ <section class="relative pt-10">
234
+ <h2 class="text-2xl font-bold mb-8 section-title">Style 2: Bottom Slide-up</h2>
235
+ <div class="notification-card w-full max-w-lg mx-auto h-24 flex items-center px-6 py-4 animate-bounce">
236
+ <div class="flex-1">
237
+ <p class="font-medium mb-2">Breaking News: <span class="highlight">Double Rewards Weekend</span></p>
238
+ <p class="text-sm text-gray-300">Limited time offer - ends in 48 hours</p>
239
+ </div>
240
+ <button class="neon-btn">Learn More</button>
241
+ <div class="absolute bottom-0 left-0 right-0 h-1 bg-gradient-to-r from-neonOrange to-neonYellow animate-glow-pulse"></div>
242
+ </div>
243
+ </section>
244
+
245
+ <!-- Style 3: Floating Card -->
246
+ <section class="relative pt-10">
247
+ <h2 class="text-2xl font-bold mb-8 section-title">Style 3: Floating Card</h2>
248
+ <div class="notification-card w-80 mx-auto p-6 animate-float">
249
+ <div class="text-center">
250
+ <div class="w-16 h-16 rounded-full bg-gradient-to-br from-neonOrange to-neonYellow flex items-center justify-center mx-auto mb-4">
251
+ <i class="fas fa-gift text-darkBg text-2xl"></i>
252
+ </div>
253
+ <h3 class="text-xl font-bold mb-2 notification-title">Special Gift Inside!</h3>
254
+ <p class="text-gray-300 mb-4">You've received a bonus reward for being a loyal member</p>
255
+ <button class="neon-btn w-full">Claim Gift</button>
256
+ </div>
257
+ </div>
258
+ </section>
259
+
260
+ <!-- Style 4: Corner Toast -->
261
+ <section class="relative pt-10">
262
+ <h2 class="text-2xl font-bold mb-8 section-title">Style 4: Corner Toast</h2>
263
+ <div class="flex justify-end">
264
+ <div class="notification-card glass-effect w-72 p-4 animate-scale-pulse">
265
+ <div class="flex">
266
+ <div class="w-3 h-full bg-gradient-to-b from-neonOrange to-neonYellow rounded-full mr-3"></div>
267
+ <div>
268
+ <p class="font-medium mb-1">System Upgrade Complete</p>
269
+ <p class="text-sm text-gray-300">New features are now available!</p>
270
+ </div>
271
+ </div>
272
+ <button class="neon-btn mt-3 text-sm">Explore</button>
273
+ </div>
274
+ </div>
275
+ </section>
276
+
277
+ <!-- Style 5: Banner Overlay -->
278
+ <section class="relative pt-10">
279
+ <h2 class="text-2xl font-bold mb-8 section-title">Style 5: Banner Overlay</h2>
280
+ <div class="notification-card w-full max-w-2xl mx-auto p-5 animate-flip">
281
+ <div class="flex items-center">
282
+ <div class="flex-1">
283
+ <p class="text-lg font-bold mb-1"><i class="fas fa-fire text-neonOrange mr-2"></i> Flash Sale Live Now!</p>
284
+ <p class="text-gray-300">Up to 70% off on premium items - ends soon</p>
285
+ </div>
286
+ <button class="neon-btn">Shop Now</button>
287
+ </div>
288
+ </div>
289
+ </section>
290
+
291
+ <!-- Style 6: Modal Center -->
292
+ <section class="relative pt-10">
293
+ <h2 class="text-2xl font-bold mb-8 section-title">Style 6: Modal Center</h2>
294
+ <div class="notification-card glass-effect w-full max-w-sm mx-auto p-6 animate-zoom-glow">
295
+ <div class="text-center mb-5">
296
+ <div class="w-20 h-20 rounded-full border-4 border-opacity-30 border-neonYellow mx-auto mb-4 flex items-center justify-center animate-scale-pulse">
297
+ <i class="fas fa-star text-neonYellow text-3xl"></i>
298
+ </div>
299
+ <h3 class="text-xl font-bold mb-2 notification-title">You've Been Selected!</h3>
300
+ <p class="text-gray-300">Exclusive access to VIP features unlocked</p>
301
+ </div>
302
+ <div class="flex gap-3">
303
+ <button class="flex-1 py-2 px-4 bg-gray-800 rounded-lg hover:bg-gray-700 transition">Later</button>
304
+ <button class="flex-1 neon-btn">Access Now</button>
305
+ </div>
306
+ </div>
307
+ </section>
308
+
309
+ <!-- Style 7: Slide Horizontal -->
310
+ <section class="relative pt-10">
311
+ <h2 class="text-2xl font-bold mb-8 section-title">Style 7: Slide Horizontal</h2>
312
+ <div class="notification-card overflow-hidden w-full max-w-xl mx-auto animate-slide-horizontal">
313
+ <div class="flex items-center p-4">
314
+ <div class="w-10 h-10 rounded-full bg-gradient-to-br from-neonOrange to-neonYellow flex items-center justify-center mr-4">
315
+ <i class="fas fa-bell text-darkBg"></i>
316
+ </div>
317
+ <div class="flex-1">
318
+ <p class="font-medium">New Message: <span class="highlight">Your order has shipped!</span></p>
319
+ </div>
320
+ <button class="neon-btn text-sm">Track</button>
321
+ </div>
322
+ </div>
323
+ </section>
324
+
325
+ <!-- Style 8: Marquee Scrolling -->
326
+ <section class="relative pt-10">
327
+ <h2 class="text-2xl font-bold mb-8 section-title">Style 8: Marquee Scrolling</h2>
328
+ <div class="notification-card w-full max-w-3xl mx-auto p-3">
329
+ <div class="flex items-center">
330
+ <div class="bg-gradient-to-r from-neonOrange to-neonYellow text-darkBg font-bold py-1 px-3 rounded mr-4">
331
+ <i class="fas fa-bullhorn mr-2"></i> ALERT
332
+ </div>
333
+ <div class="marquee-container w-full overflow-hidden">
334
+ <p class="animate-marquee inline-block pl-[100%]">Server maintenance scheduled for tonight at 2AM GMT • Double XP weekend starts tomorrow! • New content update available - download now!</p>
335
+ </div>
336
+ </div>
337
+ </div>
338
+ </section>
339
+
340
+ <!-- Style 9: Floating Hover -->
341
+ <section class="relative pt-10">
342
+ <h2 class="text-2xl font-bold mb-8 section-title">Style 9: Floating Hover</h2>
343
+ <div class="flex justify-center">
344
+ <div class="notification-card glass-effect w-64 p-5 animate-float">
345
+ <div class="text-center">
346
+ <div class="w-12 h-12 rounded-full bg-gradient-to-br from-neonOrange to-neonYellow flex items-center justify-center mx-auto mb-3">
347
+ <i class="fas fa-user-plus text-darkBg"></i>
348
+ </div>
349
+ <h3 class="font-bold mb-1 notification-title">New Follower</h3>
350
+ <p class="text-sm text-gray-300 mb-3">@design_master started following you</p>
351
+ <button class="neon-btn text-sm">View Profile</button>
352
+ </div>
353
+ </div>
354
+ </div>
355
+ </section>
356
+
357
+ <!-- Style 10: Gradient Shift -->
358
+ <section class="relative pt-10 pb-20">
359
+ <h2 class="text-2xl font-bold mb-8 section-title">Style 10: Gradient Shift</h2>
360
+ <div class="notification-card w-full max-w-md mx-auto p-5 relative overflow-hidden">
361
+ <div class="absolute top-0 left-0 w-full h-1 gradient-shift animate-gradient-shift"></div>
362
+ <div class="pt-6 pb-4">
363
+ <div class="flex items-start">
364
+ <div class="bg-gradient-to-br from-neonOrange to-neonYellow text-darkBg p-2 rounded-lg mr-4">
365
+ <i class="fas fa-exclamation-triangle text-lg"></i>
366
+ </div>
367
+ <div>
368
+ <p class="font-bold text-lg mb-1">Security Alert</p>
369
+ <p class="text-gray-300 text-sm">Unusual login activity detected on your account</p>
370
+ </div>
371
+ </div>
372
+ <div class="flex gap-3 mt-5">
373
+ <button class="flex-1 py-2 bg-gray-800 rounded-lg hover:bg-gray-700 transition">Dismiss</button>
374
+ <button class="flex-1 neon-btn">Secure Account</button>
375
+ </div>
376
+ </div>
377
+ </div>
378
+ </section>
379
+ </div>
380
+ </div>
381
+
382
+ <footer class="mt-20 py-6 text-center text-gray-500 text-sm">
383
+ <p>Modern Notification Showcase • Neon Orange/Yellow Theme • All animations loop infinitely</p>
384
+ <p class="mt-2">Created with Tailwind CSS and custom animations</p>
385
+ </footer>
386
+ <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=ProjectGenesis/live-notification-2" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
387
+ </html>