apirrone
commited on
Commit
·
0930f24
1
Parent(s):
aba8b1a
try
Browse files- README.md +1 -1
- index.html +9 -54
README.md
CHANGED
|
@@ -7,4 +7,4 @@ sdk: static
|
|
| 7 |
pinned: false
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
| 7 |
pinned: false
|
| 8 |
---
|
| 9 |
|
| 10 |
+
Hugging Face blocks automatic redirects for embedded Spaces. Use the button in the app to open https://huggingface.co/spaces/pollen-robotics/reachy-mini-landing-page#apps
|
index.html
CHANGED
|
@@ -3,8 +3,7 @@
|
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
-
<title>
|
| 7 |
-
<meta http-equiv="refresh" content="0;url=https://huggingface.co/spaces/pollen-robotics/reachy-mini-landing-page#apps">
|
| 8 |
<style>
|
| 9 |
:root {
|
| 10 |
color-scheme: light;
|
|
@@ -14,63 +13,19 @@
|
|
| 14 |
box-sizing: border-box;
|
| 15 |
}
|
| 16 |
|
| 17 |
-
body {
|
| 18 |
-
margin: 0;
|
| 19 |
-
min-height: 100vh;
|
| 20 |
-
display: grid;
|
| 21 |
-
place-items: center;
|
| 22 |
-
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
| 23 |
-
background: radial-gradient(circle at 20% 20%, #f7f5ff, #eef2ff 40%, #e0e7ff 60%, #eef2ff);
|
| 24 |
-
color: #1f2933;
|
| 25 |
-
}
|
| 26 |
-
|
| 27 |
-
main {
|
| 28 |
-
background: white;
|
| 29 |
-
border: 1px solid #dfe3ec;
|
| 30 |
-
border-radius: 16px;
|
| 31 |
-
padding: 32px 28px;
|
| 32 |
-
max-width: 640px;
|
| 33 |
-
width: min(94vw, 640px);
|
| 34 |
-
box-shadow: 0 18px 50px rgba(31, 41, 51, 0.12);
|
| 35 |
-
text-align: center;
|
| 36 |
-
}
|
| 37 |
-
|
| 38 |
-
h1 {
|
| 39 |
-
margin: 0 0 12px;
|
| 40 |
-
font-size: 1.6rem;
|
| 41 |
-
letter-spacing: -0.02em;
|
| 42 |
-
}
|
| 43 |
-
|
| 44 |
-
p {
|
| 45 |
-
margin: 0 0 12px;
|
| 46 |
-
color: #52606d;
|
| 47 |
-
line-height: 1.6;
|
| 48 |
-
}
|
| 49 |
-
|
| 50 |
-
a {
|
| 51 |
-
color: #4c51bf;
|
| 52 |
-
text-decoration: none;
|
| 53 |
-
font-weight: 600;
|
| 54 |
-
}
|
| 55 |
-
|
| 56 |
-
a:hover {
|
| 57 |
-
text-decoration: underline;
|
| 58 |
-
}
|
| 59 |
</style>
|
| 60 |
<script>
|
| 61 |
-
(function
|
| 62 |
const target = 'https://huggingface.co/spaces/pollen-robotics/reachy-mini-landing-page#apps';
|
| 63 |
-
|
| 64 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 65 |
}
|
| 66 |
})();
|
| 67 |
</script>
|
| 68 |
</head>
|
| 69 |
-
<body>
|
| 70 |
-
<main>
|
| 71 |
-
<h1>Redirecting you to Reachy Mini Apps</h1>
|
| 72 |
-
<p>If you are not redirected automatically, use the link below.</p>
|
| 73 |
-
<p><a href="https://huggingface.co/spaces/pollen-robotics/reachy-mini-landing-page#apps">Go to the Hugging Face landing page</a></p>
|
| 74 |
-
</main>
|
| 75 |
-
</body>
|
| 76 |
</html>
|
|
|
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Reachy Mini Apps</title>
|
|
|
|
| 7 |
<style>
|
| 8 |
:root {
|
| 9 |
color-scheme: light;
|
|
|
|
| 13 |
box-sizing: border-box;
|
| 14 |
}
|
| 15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
</style>
|
| 17 |
<script>
|
| 18 |
+
(function setupRedirect() {
|
| 19 |
const target = 'https://huggingface.co/spaces/pollen-robotics/reachy-mini-landing-page#apps';
|
| 20 |
+
|
| 21 |
+
// Simple auto-redirect using the external target.
|
| 22 |
+
try {
|
| 23 |
+
window.top.location.href = target;
|
| 24 |
+
} catch (err) {
|
| 25 |
+
window.location.href = target;
|
| 26 |
}
|
| 27 |
})();
|
| 28 |
</script>
|
| 29 |
</head>
|
| 30 |
+
<body></body>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
</html>
|