JatinkInnovision commited on
Commit
288358c
·
verified ·
1 Parent(s): 80b4608

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +37 -18
index.html CHANGED
@@ -1,19 +1,38 @@
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
+ <title>Redirecting...</title>
6
+ <script>
7
+ // --- PASTE YOUR LINK ONLY ONCE BELOW ---
8
+ const REDIRECT_URL = "https://ai.studio/apps/2dd7c676-dac3-441d-aa0c-1d6b64b711f7?fullscreenApplet=true";
9
+ // ---------------------------------------
10
+
11
+ // 1. Immediate Javascript Redirect
12
+ window.location.href = REDIRECT_URL;
13
+ </script>
14
+
15
+ <!-- 2. Backup Meta Redirect (runs if JS is disabled) -->
16
+ <meta http-equiv="refresh" id="meta-redirect" content="0; url=">
17
+ <script>
18
+ document.getElementById('meta-redirect').content = "0; url=" + REDIRECT_URL;
19
+ </script>
20
+
21
+ <style>
22
+ body { font-family: sans-serif; display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; background: #f9f9f9; }
23
+ .box { text-align: center; padding: 20px; border: 1px solid #ddd; border-radius: 8px; background: white; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
24
+ a { color: #2563eb; text-decoration: none; font-weight: bold; }
25
+ </style>
26
+ </head>
27
+ <body>
28
+ <div class="box">
29
+ <p>Redirecting you to the AI Studio App...</p>
30
+ <p>If nothing happens, <a id="fallback-link" href="#">click here</a>.</p>
31
+ </div>
32
+
33
+ <script>
34
+ // Sets the manual link to match the variable above
35
+ document.getElementById('fallback-link').href = REDIRECT_URL;
36
+ </script>
37
+ </body>
38
  </html>