Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -400,7 +400,6 @@ def get_user_spaces():
|
|
400 |
# Vercel ๋ฐฐํฌ ๊ฐ์ ธ์ค๊ธฐ
|
401 |
vercel_deployments = get_vercel_deployments()
|
402 |
|
403 |
-
|
404 |
html_content = f"""
|
405 |
<div style='padding: 20px; background-color: #f5f5f5;'>
|
406 |
<div style='margin-bottom: 20px;'>
|
@@ -419,7 +418,7 @@ def get_user_spaces():
|
|
419 |
|
420 |
<!-- Top Best -->
|
421 |
<h3 style='color: #333; margin: 20px 0;'>๐ Top Best</h3>
|
422 |
-
<div style='display: grid; grid-template-columns: repeat(auto-fill, minmax(
|
423 |
{"".join(get_vercel_card({"url": url["url"], "created": url["created"], "name": url["name"], "state": url["state"]}, idx)
|
424 |
for idx, url in enumerate(TOP_BEST_URLS))}
|
425 |
</div>
|
@@ -437,7 +436,6 @@ def get_user_spaces():
|
|
437 |
</div>
|
438 |
</div>
|
439 |
|
440 |
-
|
441 |
<script>
|
442 |
document.addEventListener('DOMContentLoaded', function() {{
|
443 |
// ์ข์์ ์ํ ๋ก๋
|
@@ -490,6 +488,7 @@ def get_user_spaces():
|
|
490 |
}});
|
491 |
</script>
|
492 |
"""
|
|
|
493 |
|
494 |
return html_content
|
495 |
|
|
|
400 |
# Vercel ๋ฐฐํฌ ๊ฐ์ ธ์ค๊ธฐ
|
401 |
vercel_deployments = get_vercel_deployments()
|
402 |
|
|
|
403 |
html_content = f"""
|
404 |
<div style='padding: 20px; background-color: #f5f5f5;'>
|
405 |
<div style='margin-bottom: 20px;'>
|
|
|
418 |
|
419 |
<!-- Top Best -->
|
420 |
<h3 style='color: #333; margin: 20px 0;'>๐ Top Best</h3>
|
421 |
+
<div style='display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px;'>
|
422 |
{"".join(get_vercel_card({"url": url["url"], "created": url["created"], "name": url["name"], "state": url["state"]}, idx)
|
423 |
for idx, url in enumerate(TOP_BEST_URLS))}
|
424 |
</div>
|
|
|
436 |
</div>
|
437 |
</div>
|
438 |
|
|
|
439 |
<script>
|
440 |
document.addEventListener('DOMContentLoaded', function() {{
|
441 |
// ์ข์์ ์ํ ๋ก๋
|
|
|
488 |
}});
|
489 |
</script>
|
490 |
"""
|
491 |
+
|
492 |
|
493 |
return html_content
|
494 |
|