tfrere HF Staff Cursor commited on
Commit
984412a
·
1 Parent(s): ec51c64

feat: replace the website with a "site has moved" page

Browse files

The Reachy Mini website now lives at pollen-robotics.com and the copy
hosted in this Space was out of date. The Space now serves one page for
every route and hash, with a single button to the matching page of the
new site:

getting-started -> /reachy-mini/getting-started/
download -> /reachy-mini/download/
apps -> /reachy-mini/apps/
buy -> /reachy-mini/buy/
anything else -> /reachy-mini/

Both "#/x" and "#x" are accepted, as well as the path ("/x").

The button opens a new tab: on huggingface.co the Space runs in a
sandboxed frame that is not allowed to navigate the browser tab. When the
page is opened directly (*.hf.space), it redirects to the same
destination; add ?noredirect to the URL to look at the page itself.

Remove the former React frontend (src/, public/assets). The Express API
in server/ is untouched and keeps serving its endpoints: the desktop app,
pollen-robotics.com and other clients still call them on this host.
public/assets/desktop-app-screenshot--white.png stays because the
reachy_mini documentation embeds it straight from this repository.

Frontend dependencies are left in package.json on purpose, so that the
lockfile and the Docker build are unchanged by this commit.

Co-authored-by: Cursor <cursoragent@cursor.com>

This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. index.html +229 -4
  2. public/assets/Reachy-mini-wake-up-companion.mp4 +0 -3
  3. public/assets/apple-logo.svg +0 -4
  4. public/assets/application-box.svg +0 -0
  5. public/assets/assembly-screenshot.png +0 -3
  6. public/assets/desktop-app-screenshot--dark.png +0 -3
  7. public/assets/discord-logo.svg +0 -4
  8. public/assets/expression.svg +0 -0
  9. public/assets/hf-logo.svg +0 -13
  10. public/assets/idle-reachy-ai.gif +0 -3
  11. public/assets/idle-reachy-opencv.gif +0 -3
  12. public/assets/idle-reachy.gif +0 -3
  13. public/assets/joystick.svg +0 -0
  14. public/assets/linux-logo.svg +0 -4
  15. public/assets/logo--black.svg +0 -13
  16. public/assets/logo--white.svg +0 -25
  17. public/assets/logo.svg +0 -33
  18. public/assets/miniature_lite.png +0 -3
  19. public/assets/miniature_wireless.png +0 -3
  20. public/assets/pollen-logo-icon.svg +0 -22
  21. public/assets/pollen-robotics-logo.svg +0 -92
  22. public/assets/reachies/astronaut.png +0 -3
  23. public/assets/reachies/builder.png +0 -3
  24. public/assets/reachies/captain.png +0 -3
  25. public/assets/reachies/cowboy.png +0 -3
  26. public/assets/reachies/doctor.png +0 -3
  27. public/assets/reachies/explorer.png +0 -3
  28. public/assets/reachies/hacker.png +0 -3
  29. public/assets/reachies/jazzman.png +0 -3
  30. public/assets/reachies/magician.png +0 -3
  31. public/assets/reachies/plumber.png +0 -3
  32. public/assets/reachies/student.png +0 -3
  33. public/assets/reachy-conversation-app.jpg +0 -3
  34. public/assets/reachy-detective.svg +0 -0
  35. public/assets/reachy-hand-tracking-app.jpg +0 -3
  36. public/assets/reachy-how-to-create-app.svg +0 -0
  37. public/assets/reachy-icon.svg +0 -31
  38. public/assets/reachy-mini-access-point-QR-code.png +0 -3
  39. public/assets/reachy-mini-demo-dashboard.gif +0 -3
  40. public/assets/reachy-mini-hand-tracking.gif +0 -3
  41. public/assets/reachy-stop.svg +0 -0
  42. public/assets/reachy-update-box.svg +0 -64
  43. public/assets/rocket.svg +0 -101
  44. public/assets/sleeping-reachy.svg +0 -0
  45. public/assets/windows-logo.svg +0 -4
  46. public/vite.svg +0 -1
  47. src/App.jsx +0 -113
  48. src/assets/hf-logo.svg +0 -19
  49. src/assets/original/alfred.png +0 -3
  50. src/assets/original/ambulance.png +0 -3
index.html CHANGED
@@ -18,8 +18,200 @@
18
  <meta charset="UTF-8" />
19
  <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
20
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
21
- <meta name="description" content="Reachy Mini is an expressive, open-source robot designed for human-robot interaction, creative coding, and AI experimentation." />
22
- <title>Reachy Mini - Open Source Companion Robot</title>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
  </head>
24
  <body>
25
  <!-- Google Tag Manager (noscript) -->
@@ -27,7 +219,40 @@
27
  height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
28
  <!-- End Google Tag Manager (noscript) -->
29
 
30
- <div id="root"></div>
31
- <script type="module" src="/src/main.jsx"></script>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
  </body>
33
  </html>
 
18
  <meta charset="UTF-8" />
19
  <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
20
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
21
+ <meta name="description" content="The Reachy Mini website has moved to pollen-robotics.com." />
22
+ <link rel="canonical" href="https://pollen-robotics.com/reachy-mini/" />
23
+ <title>Reachy Mini has moved to pollen-robotics.com</title>
24
+
25
+ <link rel="preconnect" href="https://fonts.googleapis.com" />
26
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
27
+ <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400..700&display=swap" />
28
+
29
+ <!--
30
+ The whole site is this one "we have moved" page: it is served for every
31
+ route (see the SPA fallback in server/index.js) and src/moved.js points
32
+ the button at the matching page of the new site. Markup and styles are
33
+ inline so the page shows at once, and still works if the script fails.
34
+ -->
35
+ <style>
36
+ :root {
37
+ color-scheme: dark;
38
+ --orange: #ff9500;
39
+ --orange-light: #ffb340;
40
+ --orange-dark: #e08500;
41
+ --ink: #1d1d1f;
42
+ }
43
+
44
+ * {
45
+ box-sizing: border-box;
46
+ }
47
+
48
+ html {
49
+ -webkit-text-size-adjust: 100%;
50
+ }
51
+
52
+ body {
53
+ margin: 0;
54
+ background: #0f0f1a linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #16213e 100%) fixed;
55
+ color: #fff;
56
+ font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
57
+ -webkit-font-smoothing: antialiased;
58
+ }
59
+
60
+ .moved {
61
+ position: relative;
62
+ display: flex;
63
+ flex-direction: column;
64
+ align-items: center;
65
+ justify-content: center;
66
+ min-height: 100vh;
67
+ min-height: 100dvh;
68
+ padding: 32px 24px 48px;
69
+ overflow: hidden;
70
+ text-align: center;
71
+ }
72
+
73
+ /* Soft orange glow, as in the hero of the former site. */
74
+ .moved::before {
75
+ content: '';
76
+ position: absolute;
77
+ top: -20%;
78
+ left: 50%;
79
+ width: 640px;
80
+ height: 640px;
81
+ transform: translateX(-50%);
82
+ background: radial-gradient(circle, rgba(255, 149, 0, 0.16) 0%, transparent 60%);
83
+ pointer-events: none;
84
+ }
85
+
86
+ .moved > * {
87
+ position: relative;
88
+ }
89
+
90
+ .moved__brand {
91
+ display: flex;
92
+ align-items: center;
93
+ gap: 12px;
94
+ margin-bottom: 32px;
95
+ font-size: 20px;
96
+ font-weight: 700;
97
+ letter-spacing: -0.03em;
98
+ }
99
+
100
+ .moved__brand img {
101
+ display: block;
102
+ width: 60px;
103
+ height: 60px;
104
+ }
105
+
106
+ .moved__title {
107
+ max-width: 560px;
108
+ margin: 0 0 16px;
109
+ font-size: 32px;
110
+ font-weight: 700;
111
+ line-height: 1.15;
112
+ letter-spacing: -0.03em;
113
+ text-wrap: balance;
114
+ }
115
+
116
+ .moved__lead {
117
+ max-width: 440px;
118
+ margin: 0 0 32px;
119
+ color: rgba(255, 255, 255, 0.75);
120
+ font-size: 17px;
121
+ line-height: 1.6;
122
+ }
123
+
124
+ .moved__lead strong {
125
+ color: #fff;
126
+ font-weight: 600;
127
+ /* Never break the domain name at its hyphen. */
128
+ white-space: nowrap;
129
+ }
130
+
131
+ .moved__button {
132
+ display: inline-flex;
133
+ align-items: center;
134
+ justify-content: center;
135
+ gap: 10px;
136
+ width: 100%;
137
+ max-width: 360px;
138
+ min-height: 56px;
139
+ padding: 14px 28px;
140
+ border-radius: 999px;
141
+ background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
142
+ box-shadow: 0 8px 28px rgba(255, 149, 0, 0.32);
143
+ /* Dark text: white on this orange is too faint to read outdoors. */
144
+ color: var(--ink);
145
+ font-size: 17px;
146
+ font-weight: 700;
147
+ line-height: 1.25;
148
+ text-decoration: none;
149
+ transition: transform 0.2s ease, background 0.2s ease;
150
+ }
151
+
152
+ .moved__button:hover {
153
+ background: linear-gradient(135deg, var(--orange-dark) 0%, var(--orange) 100%);
154
+ transform: scale(1.02);
155
+ }
156
+
157
+ .moved__button:focus-visible {
158
+ outline: 3px solid #fff;
159
+ outline-offset: 3px;
160
+ }
161
+
162
+ .moved__button svg {
163
+ flex-shrink: 0;
164
+ width: 20px;
165
+ height: 20px;
166
+ fill: currentColor;
167
+ }
168
+
169
+ .moved__destination {
170
+ max-width: 360px;
171
+ margin: 16px 0 0;
172
+ color: rgba(255, 255, 255, 0.6);
173
+ font-size: 14px;
174
+ line-height: 1.5;
175
+ overflow-wrap: anywhere;
176
+ }
177
+
178
+ .moved__sr-only {
179
+ position: absolute;
180
+ width: 1px;
181
+ height: 1px;
182
+ margin: -1px;
183
+ padding: 0;
184
+ border: 0;
185
+ overflow: hidden;
186
+ clip: rect(0 0 0 0);
187
+ white-space: nowrap;
188
+ }
189
+
190
+ @media (min-width: 600px) {
191
+ .moved__title {
192
+ font-size: 44px;
193
+ }
194
+
195
+ .moved__lead {
196
+ font-size: 18px;
197
+ }
198
+
199
+ .moved__button {
200
+ width: auto;
201
+ min-width: 300px;
202
+ }
203
+ }
204
+
205
+ @media (prefers-reduced-motion: reduce) {
206
+ .moved__button {
207
+ transition: none;
208
+ }
209
+
210
+ .moved__button:hover {
211
+ transform: none;
212
+ }
213
+ }
214
+ </style>
215
  </head>
216
  <body>
217
  <!-- Google Tag Manager (noscript) -->
 
219
  height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
220
  <!-- End Google Tag Manager (noscript) -->
221
 
222
+ <main class="moved">
223
+ <div class="moved__brand">
224
+ <img src="/favicon.svg" alt="" width="60" height="60" />
225
+ <span>Reachy Mini</span>
226
+ </div>
227
+
228
+ <h1 class="moved__title">Reachy Mini has a new home</h1>
229
+ <p class="moved__lead">
230
+ Our website now lives at <strong>pollen-robotics.com</strong>.
231
+ This page is no longer updated.
232
+ </p>
233
+
234
+ <!--
235
+ The defaults below point at the new home page. src/moved.js swaps in
236
+ the page matching the route or hash the visitor arrived with.
237
+ Keep target="_blank": inside the Hugging Face frame a link cannot
238
+ navigate the browser tab, it can only open a new one.
239
+ -->
240
+ <a
241
+ id="moved-link"
242
+ class="moved__button"
243
+ href="https://pollen-robotics.com/reachy-mini/"
244
+ target="_blank"
245
+ rel="noopener"
246
+ >
247
+ <span id="moved-label">Go to the new site</span>
248
+ <svg viewBox="0 0 24 24" aria-hidden="true" focusable="false">
249
+ <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" />
250
+ </svg>
251
+ <span class="moved__sr-only">(opens in a new tab)</span>
252
+ </a>
253
+ <p id="moved-destination" class="moved__destination">pollen-robotics.com/reachy-mini</p>
254
+ </main>
255
+
256
+ <script type="module" src="/src/moved.js"></script>
257
  </body>
258
  </html>
public/assets/Reachy-mini-wake-up-companion.mp4 DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:8a1f5d23ffddfa87218f1697533f187cf76c3327e18234fa8ed5a2d8bf05dae0
3
- size 15339406
 
 
 
 
public/assets/apple-logo.svg DELETED
public/assets/application-box.svg DELETED
public/assets/assembly-screenshot.png DELETED

Git LFS Details

  • SHA256: f63db53ee41209f30da7ffbfce633e28c5efc1c0c53c852a85063cb1f7496cef
  • Pointer size: 132 Bytes
  • Size of remote file: 1.86 MB
public/assets/desktop-app-screenshot--dark.png DELETED

Git LFS Details

  • SHA256: 88784ef09fbd28b55d44c446274240364f2737c792edc8614a408a8c72ed7175
  • Pointer size: 131 Bytes
  • Size of remote file: 637 kB
public/assets/discord-logo.svg DELETED
public/assets/expression.svg DELETED
public/assets/hf-logo.svg DELETED
public/assets/idle-reachy-ai.gif DELETED

Git LFS Details

  • SHA256: 0c496798eccd4f0a7572b257f31496484ab9b1717ec119a79c81149289193715
  • Pointer size: 132 Bytes
  • Size of remote file: 6.07 MB
public/assets/idle-reachy-opencv.gif DELETED

Git LFS Details

  • SHA256: 5643b49a1fbe6ec724cebcaaacf7796798f1295fe2122f18ef016cdad4823ea4
  • Pointer size: 132 Bytes
  • Size of remote file: 3.35 MB
public/assets/idle-reachy.gif DELETED

Git LFS Details

  • SHA256: cd1c7a487842b674720a8a3fb15393cd6e59efd71d20d395fed7d9bf9a914d99
  • Pointer size: 132 Bytes
  • Size of remote file: 7.77 MB
public/assets/joystick.svg DELETED
public/assets/linux-logo.svg DELETED
public/assets/logo--black.svg DELETED
public/assets/logo--white.svg DELETED
public/assets/logo.svg DELETED
public/assets/miniature_lite.png DELETED

Git LFS Details

  • SHA256: 52b066eb8d350bf5c63205feb9e2ec7040d8b33f8c2535841a3b4a2e851ef95e
  • Pointer size: 131 Bytes
  • Size of remote file: 112 kB
public/assets/miniature_wireless.png DELETED

Git LFS Details

  • SHA256: c80fddeda93e2d0bf25adf712409c0dc5c8054b8b9d08911c627a13a4d71f32b
  • Pointer size: 132 Bytes
  • Size of remote file: 1.16 MB
public/assets/pollen-logo-icon.svg DELETED
public/assets/pollen-robotics-logo.svg DELETED
public/assets/reachies/astronaut.png DELETED

Git LFS Details

  • SHA256: 5ec06592da609306b699d29ba701daa10013a8978663f7133902db581e71d256
  • Pointer size: 131 Bytes
  • Size of remote file: 640 kB
public/assets/reachies/builder.png DELETED

Git LFS Details

  • SHA256: 614c1e604279c03ff103e7556abbdf10aa4fef9ad262ec99927eba8cbf323465
  • Pointer size: 131 Bytes
  • Size of remote file: 297 kB
public/assets/reachies/captain.png DELETED

Git LFS Details

  • SHA256: ca71dad3aa3d6c01a59115bea40c8267a3188e2c76e3e1dc422557c0126a1849
  • Pointer size: 131 Bytes
  • Size of remote file: 717 kB
public/assets/reachies/cowboy.png DELETED

Git LFS Details

  • SHA256: 729500a893083b48e1f9b6c6e1a8878ddae358edd4eb1b48a69899c0e4363228
  • Pointer size: 131 Bytes
  • Size of remote file: 786 kB
public/assets/reachies/doctor.png DELETED

Git LFS Details

  • SHA256: 0a0d362981db03948d11a10f87f2d4b42814deb8d1a16a31e3e14fcdf76b47cd
  • Pointer size: 131 Bytes
  • Size of remote file: 280 kB
public/assets/reachies/explorer.png DELETED

Git LFS Details

  • SHA256: 3cd02a31ada7e023460289998bd11c5cbd3c7c55cfabb214420ce4ad40a37f47
  • Pointer size: 131 Bytes
  • Size of remote file: 645 kB
public/assets/reachies/hacker.png DELETED

Git LFS Details

  • SHA256: 858d6a623768e6107a56c2828494acb18209b86dd1ea494cfbee8aa8d57195ce
  • Pointer size: 131 Bytes
  • Size of remote file: 431 kB
public/assets/reachies/jazzman.png DELETED

Git LFS Details

  • SHA256: 6ded3931bef0a593ea33221c5caab27ee000b8acf52ee972ab5c52fab387f442
  • Pointer size: 131 Bytes
  • Size of remote file: 638 kB
public/assets/reachies/magician.png DELETED

Git LFS Details

  • SHA256: 6b479d32c04eaba5b52176a87ef8725bfe05f3c67469b86ba1eab09af38b3488
  • Pointer size: 131 Bytes
  • Size of remote file: 926 kB
public/assets/reachies/plumber.png DELETED

Git LFS Details

  • SHA256: 566f4854832a371d0e6f913cad89d99acc4e5f0fd04d83a4eb0de1cee9220aca
  • Pointer size: 131 Bytes
  • Size of remote file: 521 kB
public/assets/reachies/student.png DELETED

Git LFS Details

  • SHA256: 8bb2ef774a09acfd8dc496f286705422838999fc71c6fe32a597a3b4569315d8
  • Pointer size: 131 Bytes
  • Size of remote file: 622 kB
public/assets/reachy-conversation-app.jpg DELETED

Git LFS Details

  • SHA256: 0245adfd5b60c2c21bc4ae8f6e31f9565b2a35915c1f171a0538c46ecfc40e70
  • Pointer size: 131 Bytes
  • Size of remote file: 160 kB
public/assets/reachy-detective.svg DELETED
public/assets/reachy-hand-tracking-app.jpg DELETED

Git LFS Details

  • SHA256: 62e22f77be87cf46bcaae86babc0544193dc910c9c1a1909d64af0172e5a9f23
  • Pointer size: 131 Bytes
  • Size of remote file: 161 kB
public/assets/reachy-how-to-create-app.svg DELETED
public/assets/reachy-icon.svg DELETED
public/assets/reachy-mini-access-point-QR-code.png DELETED

Git LFS Details

  • SHA256: deb7d1a6526187f7513a446e062c7fbd5312943efdf6556aee468fa83d627350
  • Pointer size: 129 Bytes
  • Size of remote file: 1.87 kB
public/assets/reachy-mini-demo-dashboard.gif DELETED

Git LFS Details

  • SHA256: c665057d1a9bf0fe9bd1821b3c99fdba1d6b871f61ae9030bfb977fe0d270201
  • Pointer size: 132 Bytes
  • Size of remote file: 1.06 MB
public/assets/reachy-mini-hand-tracking.gif DELETED

Git LFS Details

  • SHA256: 3b8df0f6901b3d85e56a4a598d2a2400002c9484313fcaeb7188961eb2ed4ae6
  • Pointer size: 132 Bytes
  • Size of remote file: 5.66 MB
public/assets/reachy-stop.svg DELETED
public/assets/reachy-update-box.svg DELETED
public/assets/rocket.svg DELETED
public/assets/sleeping-reachy.svg DELETED
public/assets/windows-logo.svg DELETED
public/vite.svg DELETED
src/App.jsx DELETED
@@ -1,113 +0,0 @@
1
- import { useEffect } from 'react';
2
- import { BrowserRouter, Routes, Route, Navigate, useLocation, useNavigate } from 'react-router-dom';
3
- import { ThemeProvider, CssBaseline } from '@mui/material';
4
- import theme from './theme/theme';
5
- import { AppsProvider } from './context/AppsContext';
6
- import { AuthProvider } from './context/AuthContext';
7
-
8
- import Home from './pages/Home';
9
- import Download from './pages/Download';
10
- import FAQ from './pages/FAQ';
11
- import Apps from './pages/Apps';
12
- import Buy from './pages/Buy';
13
- import GettingStarted from './pages/GettingStarted';
14
- import Build from './pages/Build';
15
-
16
- /**
17
- * Handle hash-to-path redirect for HuggingFace Spaces iframe embedding.
18
- *
19
- * HF propagates the parent page's hash to the iframe on initial load.
20
- * For example, visiting huggingface.co/reachy-mini#/apps will load the
21
- * iframe at *.hf.space/#/apps. This component reads that hash and
22
- * converts it to a BrowserRouter path (e.g. /apps).
23
- */
24
- function HashRedirect() {
25
- const navigate = useNavigate();
26
-
27
- useEffect(() => {
28
- const hash = window.location.hash;
29
- // Match hash routes like #/apps, #/download, #apps, #download, etc.
30
- if (hash && hash.length > 1) {
31
- // Support both #/apps and #apps formats
32
- const path = hash.startsWith('#/') ? hash.slice(1) : `/${hash.slice(1)}`;
33
- // Use replaceState to cleanly remove hash without triggering navigation
34
- window.history.replaceState(null, '', window.location.pathname);
35
- navigate(path, { replace: true });
36
- }
37
- }, [navigate]);
38
-
39
- return null;
40
- }
41
-
42
- /**
43
- * Sync the current route back to the HF parent page via postMessage.
44
- * This updates the URL in the browser address bar so users can
45
- * copy/share deep links (e.g. huggingface.co/reachy-mini#/apps).
46
- *
47
- * Also handles scrollTo query parameter for anchor-like behavior.
48
- */
49
- function RouteSync() {
50
- const location = useLocation();
51
-
52
- useEffect(() => {
53
- // Sync current path to parent frame hash (for HF Spaces embedding)
54
- const isInIframe = window.parent !== window;
55
- if (isInIframe && location.pathname !== '/') {
56
- window.parent.postMessage(
57
- { hash: `#${location.pathname}` },
58
- 'https://huggingface.co'
59
- );
60
- } else if (isInIframe && location.pathname === '/') {
61
- // Clear hash when on home page
62
- window.parent.postMessage({ hash: '' }, 'https://huggingface.co');
63
- }
64
-
65
- // Handle scrollTo query parameter
66
- const params = new URLSearchParams(location.search);
67
- const scrollTo = params.get('scrollTo');
68
-
69
- if (scrollTo) {
70
- // Retry mechanism to wait for element to be rendered
71
- const scrollToElement = (retries = 0) => {
72
- const element = document.getElementById(scrollTo);
73
- if (element) {
74
- element.scrollIntoView({ behavior: 'smooth', block: 'center' });
75
- } else if (retries < 10) {
76
- setTimeout(() => scrollToElement(retries + 1), 100);
77
- }
78
- };
79
- setTimeout(() => scrollToElement(), 300);
80
- } else {
81
- window.scrollTo({ top: 0, behavior: 'smooth' });
82
- }
83
- }, [location.pathname, location.search]);
84
-
85
- return null;
86
- }
87
-
88
- export default function App() {
89
- return (
90
- <ThemeProvider theme={theme}>
91
- <CssBaseline />
92
- <AuthProvider>
93
- <AppsProvider>
94
- <BrowserRouter>
95
- <HashRedirect />
96
- <RouteSync />
97
- <Routes>
98
- <Route path="/" element={<Home />} />
99
- <Route path="/getting-started" element={<GettingStarted />} />
100
- <Route path="https://huggingface.co/docs/reachy_mini/" element={<Build />} />
101
- <Route path="/download" element={<Download />} />
102
- <Route path="https://huggingface.co/docs/reachy_mini/troubleshooting" element={<FAQ />} />
103
- <Route path="/apps" element={<Apps />} />
104
- <Route path="/buy" element={<Buy />} />
105
- {/* Catch-all: redirect unknown routes to home */}
106
- <Route path="*" element={<Navigate to="/" replace />} />
107
- </Routes>
108
- </BrowserRouter>
109
- </AppsProvider>
110
- </AuthProvider>
111
- </ThemeProvider>
112
- );
113
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
src/assets/hf-logo.svg DELETED
src/assets/original/alfred.png DELETED

Git LFS Details

  • SHA256: aa14803e93b9efd0e3c0ab5b4d7c9a7f6d86fc30e3c00d67944a21cdfdfa5020
  • Pointer size: 131 Bytes
  • Size of remote file: 862 kB
src/assets/original/ambulance.png DELETED

Git LFS Details

  • SHA256: 1ebcd3161b7a0484b19eda75ac48b8ad442a4b33aef4064ae898e890c3ca6be9
  • Pointer size: 131 Bytes
  • Size of remote file: 616 kB