openfree commited on
Commit
05110fd
β€’
1 Parent(s): 1f5398a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +40 -5
app.py CHANGED
@@ -254,14 +254,47 @@ def get_vercel_card(deployment, index):
254
  overflow: hidden;'
255
  onmouseover='this.style.transform="translateY(-5px) scale(1.02)"; this.style.boxShadow="0 8px 25px rgba(0,0,0,0.15)"'
256
  onmouseout='this.style.transform="translateY(0) scale(1)"; this.style.boxShadow="0 4px 15px rgba(0,0,0,0.1)"'>
257
- <!-- ... (κΈ°μ‘΄ μΉ΄λ“œ λ‚΄μš©) ... -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
258
  <div style='margin-top: 20px; display: flex; justify-content: space-between; align-items: center;'>
259
  <div class="like-section" style="display: flex; align-items: center; gap: 10px;">
260
  <button onclick="toggleLike('{card_id}')" class="like-button"
261
- style="background: none; border: none; cursor: pointer; font-size: 1.5em;">
262
  🀍
263
  </button>
264
- <span class="like-count" style="font-size: 1.2em;">0</span>
265
  </div>
266
  <a href='https://{url}' target='_blank'
267
  style='background: linear-gradient(45deg, #0084ff, #00a3ff);
@@ -274,8 +307,10 @@ def get_vercel_card(deployment, index):
274
  gap: 8px;
275
  font-weight: 500;
276
  transition: all 0.3s;
277
- box-shadow: 0 2px 8px rgba(0,132,255,0.3);'>
278
- <span>View Deployment</span> πŸš€
 
 
279
  </a>
280
  </div>
281
  </div>
 
254
  overflow: hidden;'
255
  onmouseover='this.style.transform="translateY(-5px) scale(1.02)"; this.style.boxShadow="0 8px 25px rgba(0,0,0,0.15)"'
256
  onmouseout='this.style.transform="translateY(0) scale(1)"; this.style.boxShadow="0 4px 15px rgba(0,0,0,0.1)"'>
257
+ <div style='position: absolute; top: -15px; right: -15px; font-size: 100px; opacity: 0.1;'>
258
+ {random_emojis[0]}
259
+ </div>
260
+ <div style='position: absolute; top: 10px; right: 10px; font-size: 20px;'>
261
+ {random_emojis[1]}
262
+ </div>
263
+ <div style='position: absolute; bottom: 10px; left: 10px; font-size: 20px;'>
264
+ {random_emojis[2]}
265
+ </div>
266
+ <h3 style='color: #2d2d2d;
267
+ margin: 0 0 20px 0;
268
+ font-size: 1.4em;
269
+ display: flex;
270
+ align-items: center;
271
+ gap: 10px;'>
272
+ <span style='font-size: 1.3em'>{random_emojis[0]}</span>
273
+ <a href='https://{url}' target='_blank'
274
+ style='text-decoration: none; color: #2d2d2d;'>
275
+ {name}
276
+ </a>
277
+ <span style='font-size: 1.3em'>{random_emojis[1]}</span>
278
+ </h3>
279
+ <div style='margin: 15px 0; color: #444; background: rgba(255,255,255,0.5);
280
+ padding: 15px; border-radius: 12px;'>
281
+ <p style='margin: 8px 0;'>
282
+ <strong>Status:</strong> βœ… {state}
283
+ </p>
284
+ <p style='margin: 8px 0;'>
285
+ <strong>Created:</strong> πŸ“… {created}
286
+ </p>
287
+ <p style='margin: 8px 0;'>
288
+ <strong>URL:</strong> πŸ”— https://{url}
289
+ </p>
290
+ </div>
291
  <div style='margin-top: 20px; display: flex; justify-content: space-between; align-items: center;'>
292
  <div class="like-section" style="display: flex; align-items: center; gap: 10px;">
293
  <button onclick="toggleLike('{card_id}')" class="like-button"
294
+ style="background: none; border: none; cursor: pointer; font-size: 1.5em; padding: 5px 10px;">
295
  🀍
296
  </button>
297
+ <span class="like-count" style="font-size: 1.2em; color: #666;">0</span>
298
  </div>
299
  <a href='https://{url}' target='_blank'
300
  style='background: linear-gradient(45deg, #0084ff, #00a3ff);
 
307
  gap: 8px;
308
  font-weight: 500;
309
  transition: all 0.3s;
310
+ box-shadow: 0 2px 8px rgba(0,132,255,0.3);'
311
+ onmouseover='this.style.transform="scale(1.05)"; this.style.boxShadow="0 4px 12px rgba(0,132,255,0.4)"'
312
+ onmouseout='this.style.transform="scale(1)"; this.style.boxShadow="0 2px 8px rgba(0,132,255,0.3)"'>
313
+ <span>View Deployment</span> πŸš€ {random_emojis[0]}
314
  </a>
315
  </div>
316
  </div>