Deploy Bot commited on
Commit
26b0b37
ยท
1 Parent(s): 137e8a1

Update: Add popup hide script and improve README metadata

Browse files
Files changed (2) hide show
  1. README.md +0 -4
  2. index.html +23 -0
README.md DELETED
@@ -1,4 +0,0 @@
1
- ---
2
- sdk: static
3
- app_file: index.html
4
- ---
 
 
 
 
 
index.html CHANGED
@@ -12,5 +12,28 @@
12
  <body>
13
  <div id="root"></div>
14
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  </body>
16
  </html>
 
12
  <body>
13
  <div id="root"></div>
14
 
15
+
16
+ <script>
17
+ // HuggingFace Spaces ํŒ์—… ์ˆจ๊ธฐ๊ธฐ
18
+ setTimeout(() => {
19
+ const popup = document.querySelector('.get-started-container');
20
+ if (popup) {
21
+ popup.style.display = 'none';
22
+ }
23
+ // ๋‹ค๋ฅธ ๊ฐ€๋Šฅํ•œ ํŒ์—… ์„ ํƒ์ž๋“ค
24
+ const selectors = [
25
+ '[data-testid="get-started"]',
26
+ '.get-started',
27
+ '.welcome-modal',
28
+ '.onboarding-overlay'
29
+ ];
30
+ selectors.forEach(selector => {
31
+ const element = document.querySelector(selector);
32
+ if (element) {
33
+ element.style.display = 'none';
34
+ }
35
+ });
36
+ }, 100);
37
+ </script>
38
  </body>
39
  </html>