Spaces:
Running
Running
Update index.html
Browse files- index.html +37 -18
index.html
CHANGED
|
@@ -1,19 +1,38 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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>
|