Reachy_Mini / index.html
tfrere's picture
tfrere HF Staff
Cursor
feat: replace the website with a "site has moved" page
984412a
Raw History Blame Contribute Delete
7.79 kB
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-WKKZHMJJ');</script>
<!-- End Google Tag Manager -->
<!-- Privacy-friendly analytics by Plausible -->
<script async src="https://plausible.io/js/pa-4zj-sGpYxM8ggvg7a-Sjo.js"></script>
<script>
window.plausible=window.plausible||function(){(plausible.q=plausible.q||[]).push(arguments)},plausible.init=plausible.init||function(i){plausible.o=i||{}};
plausible.init()
</script>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="The Reachy Mini website has moved to pollen-robotics.com." />
<link rel="canonical" href="https://pollen-robotics.com/reachy-mini/" />
<title>Reachy Mini has moved to pollen-robotics.com</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400..700&display=swap" />
<!--
The whole site is this one "we have moved" page: it is served for every
route (see the SPA fallback in server/index.js) and src/moved.js points
the button at the matching page of the new site. Markup and styles are
inline so the page shows at once, and still works if the script fails.
-->
<style>
:root {
color-scheme: dark;
--orange: #ff9500;
--orange-light: #ffb340;
--orange-dark: #e08500;
--ink: #1d1d1f;
}
* {
box-sizing: border-box;
}
html {
-webkit-text-size-adjust: 100%;
}
body {
margin: 0;
background: #0f0f1a linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #16213e 100%) fixed;
color: #fff;
font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
-webkit-font-smoothing: antialiased;
}
.moved {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
min-height: 100dvh;
padding: 32px 24px 48px;
overflow: hidden;
text-align: center;
}
/* Soft orange glow, as in the hero of the former site. */
.moved::before {
content: '';
position: absolute;
top: -20%;
left: 50%;
width: 640px;
height: 640px;
transform: translateX(-50%);
background: radial-gradient(circle, rgba(255, 149, 0, 0.16) 0%, transparent 60%);
pointer-events: none;
}
.moved > * {
position: relative;
}
.moved__brand {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 32px;
font-size: 20px;
font-weight: 700;
letter-spacing: -0.03em;
}
.moved__brand img {
display: block;
width: 60px;
height: 60px;
}
.moved__title {
max-width: 560px;
margin: 0 0 16px;
font-size: 32px;
font-weight: 700;
line-height: 1.15;
letter-spacing: -0.03em;
text-wrap: balance;
}
.moved__lead {
max-width: 440px;
margin: 0 0 32px;
color: rgba(255, 255, 255, 0.75);
font-size: 17px;
line-height: 1.6;
}
.moved__lead strong {
color: #fff;
font-weight: 600;
/* Never break the domain name at its hyphen. */
white-space: nowrap;
}
.moved__button {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 10px;
width: 100%;
max-width: 360px;
min-height: 56px;
padding: 14px 28px;
border-radius: 999px;
background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
box-shadow: 0 8px 28px rgba(255, 149, 0, 0.32);
/* Dark text: white on this orange is too faint to read outdoors. */
color: var(--ink);
font-size: 17px;
font-weight: 700;
line-height: 1.25;
text-decoration: none;
transition: transform 0.2s ease, background 0.2s ease;
}
.moved__button:hover {
background: linear-gradient(135deg, var(--orange-dark) 0%, var(--orange) 100%);
transform: scale(1.02);
}
.moved__button:focus-visible {
outline: 3px solid #fff;
outline-offset: 3px;
}
.moved__button svg {
flex-shrink: 0;
width: 20px;
height: 20px;
fill: currentColor;
}
.moved__destination {
max-width: 360px;
margin: 16px 0 0;
color: rgba(255, 255, 255, 0.6);
font-size: 14px;
line-height: 1.5;
overflow-wrap: anywhere;
}
.moved__sr-only {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
border: 0;
overflow: hidden;
clip: rect(0 0 0 0);
white-space: nowrap;
}
@media (min-width: 600px) {
.moved__title {
font-size: 44px;
}
.moved__lead {
font-size: 18px;
}
.moved__button {
width: auto;
min-width: 300px;
}
}
@media (prefers-reduced-motion: reduce) {
.moved__button {
transition: none;
}
.moved__button:hover {
transform: none;
}
}
</style>
</head>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WKKZHMJJ"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<main class="moved">
<div class="moved__brand">
<img src="/favicon.svg" alt="" width="60" height="60" />
<span>Reachy Mini</span>
</div>
<h1 class="moved__title">Reachy Mini has a new home</h1>
<p class="moved__lead">
Our website now lives at <strong>pollen-robotics.com</strong>.
This page is no longer updated.
</p>
<!--
The defaults below point at the new home page. src/moved.js swaps in
the page matching the route or hash the visitor arrived with.
Keep target="_blank": inside the Hugging Face frame a link cannot
navigate the browser tab, it can only open a new one.
-->
<a
id="moved-link"
class="moved__button"
href="https://pollen-robotics.com/reachy-mini/"
target="_blank"
rel="noopener"
>
<span id="moved-label">Go to the new site</span>
<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z" />
</svg>
<span class="moved__sr-only">(opens in a new tab)</span>
</a>
<p id="moved-destination" class="moved__destination">pollen-robotics.com/reachy-mini</p>
</main>
<script type="module" src="/src/moved.js"></script>
</body>
</html>