ProjectGenesis commited on
Commit
08a8b7d
Β·
verified Β·
1 Parent(s): 2442c2a

Design a Player Profile Page UI for an online sweepstakes casino using a glassmorphism layout and a warm black gradient. 🎨 Theme: Background: background: radial-gradient(ellipse farthest-corner at top left, #0a0a0a 0%, #1a0d00 30%, #2e1300 60%, #000000 100%); Two soft glowing orbs blended into the background (optional) Glassmorphic cards: black transparent base, orange/yellow glow borders, blurred backgrounds Typography: bold glowing headers, light sublabels in white or light gray 1. Hero Section – Player Identity Large full-width glass card Left: Circular avatar, player name (Kevin), tier badge overlay (NioPrime) Right: Welcome message "Welcome Back, Kevin" (animated glow text) Subtext: "Here's a quick look at your journey so far" Current tier: NioPrime glowing in orange Small progress bar: 1,250 / 2,500 Points (animated fill) 2. Stats Summary Cards (3 Side-by-Side) Three horizontal glass cards: Card 1: Lifetime Stats Total Spins Played Total Purchases Total Hours Played Card 2: This Month Spins This Month Bonuses Claimed Points Earned Card 3: VIP Snapshot Current Tier Points to Next Tier Cashback % Level All numbers should have animated counter-up effects on page load. 3. Active Perks Section Title: "Your Active Perks" Two-column grid of small glowing cards: 5% Cashback – glowing orange Daily Bonus – neon yellow flicker Exclusive Games – dimmed if inactive Early Access – grayed if locked Each card should include an icon + perk title + status label (active/inactive) 4. Recent Activity Timeline Title: "Recent Activity" Vertical timeline of actions (or table-style): Aug 16 – Purchased 5,000 SC – $50 Aug 14 – Claimed 50 Free Spins Aug 12 – Completed Daily Mission Add tab filters: Purchase / Bonuses / Games 5. Account Options 4 button-style cards in a horizontal row or grid: Edit Profile Transaction History Security Settings Manage Payment Methods Use neon-outlined buttons with hover glow πŸͺ„ Animation Instructions: Header text glow + flicker Progress bars fill smoothly Stats numbers count up Perk cards pulse if active Soft orb movement in background - Initial Deployment

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +401 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Player Profile Ui
3
- emoji: 😻
4
- colorFrom: pink
5
- colorTo: gray
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: player-profile-ui
3
+ emoji: 🐳
4
+ colorFrom: red
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,401 @@
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>Player Profile | NioPrime Casino</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
+ <script>
10
+ tailwind.config = {
11
+ theme: {
12
+ extend: {
13
+ animation: {
14
+ 'pulse-slow': 'pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite',
15
+ 'glow': 'glow 2s ease-in-out infinite alternate',
16
+ 'flicker': 'flicker 1.5s infinite alternate',
17
+ 'pulse-active': 'pulseActive 2s infinite'
18
+ },
19
+ keyframes: {
20
+ glow: {
21
+ '0%': { 'text-shadow': '0 0 5px rgba(255, 165, 0, 0.5)' },
22
+ '100%': { 'text-shadow': '0 0 20px rgba(255, 165, 0, 0.8), 0 0 30px rgba(255, 200, 0, 0.6)' }
23
+ },
24
+ flicker: {
25
+ '0%, 19%, 21%, 23%, 25%, 54%, 56%, 100%': {
26
+ 'box-shadow': '0 0 5px rgba(255, 255, 0, 0.5)',
27
+ 'opacity': '1'
28
+ },
29
+ '20%, 24%, 55%': {
30
+ 'box-shadow': '0 0 20px rgba(255, 255, 0, 0.8), 0 0 30px rgba(255, 255, 0, 0.9)',
31
+ 'opacity': '0.9'
32
+ }
33
+ },
34
+ pulseActive: {
35
+ '0%': { 'box-shadow': '0 0 0 0 rgba(255, 165, 0, 0.4)' },
36
+ '70%': { 'box-shadow': '0 0 0 10px rgba(255, 165, 0, 0)' },
37
+ '100%': { 'box-shadow': '0 0 0 0 rgba(255, 165, 0, 0)' }
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
43
+ </script>
44
+ <style>
45
+ @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&display=swap');
46
+
47
+ body {
48
+ font-family: 'Poppins', sans-serif;
49
+ background: radial-gradient(ellipse farthest-corner at top left, #0a0a0a 0%, #1a0d00 30%, #2e1300 60%, #000000 100%);
50
+ color: #f5f5f5;
51
+ min-height: 100vh;
52
+ overflow-x: hidden;
53
+ }
54
+
55
+ /* Glassmorphism card styling */
56
+ .glass-card {
57
+ background: rgba(15, 15, 15, 0.5);
58
+ backdrop-filter: blur(10px);
59
+ -webkit-backdrop-filter: blur(10px);
60
+ border: 1px solid rgba(255, 140, 0, 0.3);
61
+ border-radius: 16px;
62
+ box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
63
+ }
64
+
65
+ .glow-border {
66
+ box-shadow: 0 0 10px rgba(255, 140, 0, 0.7), 0 0 20px rgba(255, 69, 0, 0.4);
67
+ }
68
+
69
+ .hero-glow {
70
+ animation: glow 1.5s ease-in-out infinite alternate;
71
+ }
72
+
73
+ .progress-fill {
74
+ width: 0;
75
+ transition: width 2s ease-in-out;
76
+ }
77
+
78
+ .daily-flicker {
79
+ animation: flicker 1.5s infinite alternate;
80
+ }
81
+
82
+ .active-pulse {
83
+ animation: pulseActive 2s infinite;
84
+ }
85
+
86
+ .timeline-item::before {
87
+ content: '';
88
+ position: absolute;
89
+ left: 0;
90
+ top: 20px;
91
+ height: calc(100% - 20px);
92
+ width: 2px;
93
+ background: linear-gradient(to bottom, #ff8c00, transparent);
94
+ }
95
+
96
+ .tab-active {
97
+ border-bottom: 2px solid #ff8c00;
98
+ color: #ff8c00;
99
+ }
100
+
101
+ .neon-btn {
102
+ transition: all 0.3s ease;
103
+ border: 1px solid rgba(255, 140, 0, 0.5);
104
+ box-shadow: 0 0 5px rgba(255, 140, 0, 0.3);
105
+ }
106
+
107
+ .neon-btn:hover {
108
+ border: 1px solid rgba(255, 140, 0, 0.8);
109
+ box-shadow: 0 0 15px rgba(255, 140, 0, 0.6);
110
+ transform: translateY(-2px);
111
+ }
112
+
113
+ .orb {
114
+ position: fixed;
115
+ border-radius: 50%;
116
+ filter: blur(60px);
117
+ z-index: 0;
118
+ }
119
+
120
+ .orb-1 {
121
+ width: 400px;
122
+ height: 400px;
123
+ background: radial-gradient(circle, rgba(255, 100, 0, 0.2) 0%, transparent 70%);
124
+ top: -100px;
125
+ left: -100px;
126
+ }
127
+
128
+ .orb-2 {
129
+ width: 600px;
130
+ height: 600px;
131
+ background: radial-gradient(circle, rgba(255, 165, 0, 0.15) 0%, transparent 70%);
132
+ bottom: -200px;
133
+ right: -200px;
134
+ }
135
+
136
+ @keyframes countUp {
137
+ from { width: 0; }
138
+ }
139
+ </style>
140
+ </head>
141
+ <body class="relative">
142
+ <!-- Background Orbs -->
143
+ <div class="orb orb-1"></div>
144
+ <div class="orb orb-2"></div>
145
+
146
+ <div class="container mx-auto px-4 py-8 relative z-10">
147
+ <!-- Hero Section -->
148
+ <section class="glass-card glow-border p-6 mb-8">
149
+ <div class="flex flex-col md:flex-row items-center">
150
+ <div class="relative mr-6 mb-4 md:mb-0">
151
+ <div class="w-24 h-24 rounded-full bg-gradient-to-r from-orange-600 to-yellow-500 p-1">
152
+ <div class="bg-gray-800 rounded-full w-full h-full flex items-center justify-center">
153
+ <span class="text-3xl font-bold">K</span>
154
+ </div>
155
+ </div>
156
+ <div class="absolute -bottom-2 left-1/2 transform -translate-x-1/2 bg-gradient-to-r from-orange-500 to-yellow-500 text-black text-xs font-bold px-3 py-1 rounded-full">
157
+ NioPrime
158
+ </div>
159
+ </div>
160
+
161
+ <div class="flex-1 text-center md:text-left">
162
+ <h1 class="text-3xl md:text-4xl font-bold hero-glow">
163
+ Welcome Back, <span class="text-orange-400">Kevin</span>
164
+ </h1>
165
+ <p class="text-gray-300 mt-2 mb-4">
166
+ Here's a quick look at your journey so far
167
+ </p>
168
+
169
+ <div class="mt-6">
170
+ <div class="flex justify-between mb-2">
171
+ <span class="text-orange-400 font-semibold">NioPrime</span>
172
+ <span class="text-gray-400">1,250 / 2,500 Points</span>
173
+ </div>
174
+ <div class="w-full bg-gray-800 rounded-full h-3">
175
+ <div class="progress-fill h-3 rounded-full bg-gradient-to-r from-orange-500 to-yellow-500" style="width: 50%;"></div>
176
+ </div>
177
+ </div>
178
+ </div>
179
+ </div>
180
+ </section>
181
+
182
+ <!-- Stats Summary -->
183
+ <section class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-8">
184
+ <!-- Card 1: Lifetime Stats -->
185
+ <div class="glass-card p-6">
186
+ <h2 class="text-xl font-bold mb-4 text-orange-300">Lifetime Stats</h2>
187
+ <div class="space-y-4">
188
+ <div>
189
+ <p class="text-gray-400 text-sm">Total Spins Played</p>
190
+ <p class="text-2xl font-bold counter" data-target="8520">0</p>
191
+ </div>
192
+ <div>
193
+ <p class="text-gray-400 text-sm">Total Purchases</p>
194
+ <p class="text-2xl font-bold counter" data-target="47">0</p>
195
+ </div>
196
+ <div>
197
+ <p class="text-gray-400 text-sm">Total Hours Played</p>
198
+ <p class="text-2xl font-bold counter" data-target="320">0</p>
199
+ </div>
200
+ </div>
201
+ </div>
202
+
203
+ <!-- Card 2: This Month -->
204
+ <div class="glass-card p-6">
205
+ <h2 class="text-xl font-bold mb-4 text-orange-300">This Month</h2>
206
+ <div class="space-y-4">
207
+ <div>
208
+ <p class="text-gray-400 text-sm">Spins This Month</p>
209
+ <p class="text-2xl font-bold counter" data-target="1250">0</p>
210
+ </div>
211
+ <div>
212
+ <p class="text-gray-400 text-sm">Bonuses Claimed</p>
213
+ <p class="text-2xl font-bold counter" data-target="18">0</p>
214
+ </div>
215
+ <div>
216
+ <p class="text-gray-400 text-sm">Points Earned</p>
217
+ <p class="text-2xl font-bold counter" data-target="1250">0</p>
218
+ </div>
219
+ </div>
220
+ </div>
221
+
222
+ <!-- Card 3: VIP Snapshot -->
223
+ <div class="glass-card p-6">
224
+ <h2 class="text-xl font-bold mb-4 text-orange-300">VIP Snapshot</h2>
225
+ <div class="space-y-4">
226
+ <div>
227
+ <p class="text-gray-400 text-sm">Current Tier</p>
228
+ <p class="text-2xl font-bold text-yellow-400">NioPrime</p>
229
+ </div>
230
+ <div>
231
+ <p class="text-gray-400 text-sm">Points to Next Tier</p>
232
+ <p class="text-2xl font-bold counter" data-target="1250">0</p>
233
+ </div>
234
+ <div>
235
+ <p class="text-gray-400 text-sm">Cashback %</p>
236
+ <p class="text-2xl font-bold">5%</p>
237
+ </div>
238
+ </div>
239
+ </div>
240
+ </section>
241
+
242
+ <!-- Active Perks -->
243
+ <section class="glass-card p-6 mb-8">
244
+ <h2 class="text-2xl font-bold mb-6 text-orange-300 hero-glow">Your Active Perks</h2>
245
+ <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4">
246
+ <div class="glass-card p-4 flex items-center active-pulse">
247
+ <div class="w-10 h-10 rounded-full bg-orange-900 flex items-center justify-center mr-3">
248
+ <i class="fas fa-coins text-orange-400"></i>
249
+ </div>
250
+ <div>
251
+ <h3 class="font-semibold">5% Cashback</h3>
252
+ <span class="text-green-400 text-sm">Active</span>
253
+ </div>
254
+ </div>
255
+
256
+ <div class="glass-card p-4 flex items-center daily-flicker">
257
+ <div class="w-10 h-10 rounded-full bg-yellow-900 flex items-center justify-center mr-3">
258
+ <i class="fas fa-gift text-yellow-400"></i>
259
+ </div>
260
+ <div>
261
+ <h3 class="font-semibold">Daily Bonus</h3>
262
+ <span class="text-green-400 text-sm">Active</span>
263
+ </div>
264
+ </div>
265
+
266
+ <div class="glass-card p-4 flex items-center opacity-50">
267
+ <div class="w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center mr-3">
268
+ <i class="fas fa-dice text-gray-400"></i>
269
+ </div>
270
+ <div>
271
+ <h3 class="font-semibold">Exclusive Games</h3>
272
+ <span class="text-gray-400 text-sm">Inactive</span>
273
+ </div>
274
+ </div>
275
+
276
+ <div class="glass-card p-4 flex items-center opacity-50">
277
+ <div class="w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center mr-3">
278
+ <i class="fas fa-lock text-gray-400"></i>
279
+ </div>
280
+ <div>
281
+ <h3 class="font-semibold">Early Access</h3>
282
+ <span class="text-gray-400 text-sm">Locked</span>
283
+ </div>
284
+ </div>
285
+ </div>
286
+ </section>
287
+
288
+ <!-- Recent Activity -->
289
+ <section class="glass-card p-6 mb-8">
290
+ <div class="flex justify-between items-center mb-6">
291
+ <h2 class="text-2xl font-bold text-orange-300 hero-glow">Recent Activity</h2>
292
+ <div class="flex space-x-4">
293
+ <button class="tab-active px-3 py-1 text-sm font-medium">All</button>
294
+ <button class="px-3 py-1 text-sm font-medium text-gray-400 hover:text-orange-300">Purchase</button>
295
+ <button class="px-3 py-1 text-sm font-medium text-gray-400 hover:text-orange-300">Bonuses</button>
296
+ <button class="px-3 py-1 text-sm font-medium text-gray-400 hover:text-orange-300">Games</button>
297
+ </div>
298
+ </div>
299
+
300
+ <div class="space-y-4 pl-6 relative">
301
+ <!-- Timeline item -->
302
+ <div class="timeline-item relative pl-6 pb-4">
303
+ <div class="absolute left-0 top-0 w-4 h-4 rounded-full bg-orange-500"></div>
304
+ <div class="flex justify-between flex-wrap">
305
+ <span class="font-semibold">Aug 16</span>
306
+ <span class="text-orange-400 font-medium">Purchased 5,000 SC</span>
307
+ </div>
308
+ <p class="text-gray-400">$50</p>
309
+ </div>
310
+
311
+ <div class="timeline-item relative pl-6 pb-4">
312
+ <div class="absolute left-0 top-0 w-4 h-4 rounded-full bg-yellow-500"></div>
313
+ <div class="flex justify-between flex-wrap">
314
+ <span class="font-semibold">Aug 14</span>
315
+ <span class="text-yellow-400 font-medium">Claimed 50 Free Spins</span>
316
+ </div>
317
+ <p class="text-gray-400">Daily Bonus</p>
318
+ </div>
319
+
320
+ <div class="timeline-item relative pl-6">
321
+ <div class="absolute left-0 top-0 w-4 h-4 rounded-full bg-green-500"></div>
322
+ <div class="flex justify-between flex-wrap">
323
+ <span class="font-semibold">Aug 12</span>
324
+ <span class="text-green-400 font-medium">Completed Daily Mission</span>
325
+ </div>
326
+ <p class="text-gray-400">+250 Points</p>
327
+ </div>
328
+ </div>
329
+ </section>
330
+
331
+ <!-- Account Options -->
332
+ <section>
333
+ <h2 class="text-2xl font-bold mb-6 text-orange-300 hero-glow">Account Settings</h2>
334
+ <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4">
335
+ <button class="glass-card neon-btn p-6 flex flex-col items-center justify-center">
336
+ <i class="fas fa-user-edit text-3xl mb-3 text-orange-400"></i>
337
+ <h3 class="font-bold">Edit Profile</h3>
338
+ </button>
339
+
340
+ <button class="glass-card neon-btn p-6 flex flex-col items-center justify-center">
341
+ <i class="fas fa-history text-3xl mb-3 text-orange-400"></i>
342
+ <h3 class="font-bold">Transaction History</h3>
343
+ </button>
344
+
345
+ <button class="glass-card neon-btn p-6 flex flex-col items-center justify-center">
346
+ <i class="fas fa-shield-alt text-3xl mb-3 text-orange-400"></i>
347
+ <h3 class="font-bold">Security Settings</h3>
348
+ </button>
349
+
350
+ <button class="glass-card neon-btn p-6 flex flex-col items-center justify-center">
351
+ <i class="fas fa-credit-card text-3xl mb-3 text-orange-400"></i>
352
+ <h3 class="font-bold">Payment Methods</h3>
353
+ </button>
354
+ </div>
355
+ </section>
356
+ </div>
357
+
358
+ <script>
359
+ // Counter animation
360
+ document.addEventListener('DOMContentLoaded', function() {
361
+ // Animate progress bar
362
+ document.querySelector('.progress-fill').style.width = '50%';
363
+
364
+ // Animate counters
365
+ const counters = document.querySelectorAll('.counter');
366
+ const duration = 2000; // ms
367
+
368
+ counters.forEach(counter => {
369
+ const target = +counter.getAttribute('data-target');
370
+ const start = 0;
371
+ const increment = target / (duration / 16);
372
+ let current = start;
373
+
374
+ const updateCounter = () => {
375
+ current += increment;
376
+ if (current < target) {
377
+ counter.textContent = Math.ceil(current).toLocaleString();
378
+ requestAnimationFrame(updateCounter);
379
+ } else {
380
+ counter.textContent = target.toLocaleString();
381
+ }
382
+ };
383
+
384
+ updateCounter();
385
+ });
386
+
387
+ // Add hover effects to buttons
388
+ const neonButtons = document.querySelectorAll('.neon-btn');
389
+ neonButtons.forEach(button => {
390
+ button.addEventListener('mouseenter', () => {
391
+ button.classList.add('glow-border');
392
+ });
393
+
394
+ button.addEventListener('mouseleave', () => {
395
+ button.classList.remove('glow-border');
396
+ });
397
+ });
398
+ });
399
+ </script>
400
+ <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/player-profile-ui" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
401
+ </html>