red_light_green_light / index.html
Anne-Charlotte's picture
Update index.html
36ab6d9 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Red Light Green Light - Reachy Mini</title>
<meta name="description" content="Play to Red Light Green light with your Reachy Mini">
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--background: #F6F6F8;
--foreground: #333333;
--primary: #FF9900;
--primary-hover: #FFB333;
--muted: #E8E8EB;
--muted-foreground: #878789;
--border: #E0E0E0;
--card: #FFFFFF;
--radius: 0.5rem;
}
body {
font-family: 'Inter', sans-serif;
background-color: var(--background);
color: var(--foreground);
line-height: 1.6;
-webkit-font-smoothing: antialiased;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 1.5rem;
}
/* Hero Section */
.hero {
padding: 4rem 0;
}
.hero-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 3rem;
align-items: center;
}
@media (max-width: 768px) {
.hero-grid {
grid-template-columns: 1fr;
}
}
.hero-content {
text-align: left;
}
.hero-header {
display: flex;
align-items: center;
justify-content: center;
gap: 1rem;
margin-bottom: 1.5rem;
}
.hero-icon {
width: 64px;
height: 64px;
object-fit: contain;
}
.hero-title {
font-size: 3rem;
font-weight: 700;
color: var(--foreground);
}
.tags {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 0.5rem;
margin-bottom: 1.5rem;
}
.tag {
display: inline-flex;
align-items: center;
padding: 0.25rem 0.75rem;
font-size: 0.75rem;
font-weight: 500;
border-radius: 9999px;
background-color: rgba(255, 153, 0, 0.15);
color: var(--primary);
}
.hero-description {
font-size: 1.125rem;
color: var(--muted-foreground);
max-width: 600px;
margin: 0 auto 2rem;
}
.hero-video {
width: 100%;
max-width: 700px;
border-radius: var(--radius);
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}
/* Technical Section */
.technical {
padding: 4rem 0;
background-color: var(--card);
}
.technical-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
align-items: start;
}
@media (max-width: 768px) {
.technical-grid {
grid-template-columns: 1fr;
gap: 2rem;
}
}
.section-title {
font-size: 1.5rem;
font-weight: 700;
color: var(--foreground);
margin-bottom: 1rem;
}
.section-text {
color: var(--muted-foreground);
margin-bottom: 1.5rem;
}
.install-steps {
list-style: none;
counter-reset: step;
}
.install-steps li {
counter-increment: step;
display: flex;
align-items: flex-start;
gap: 1rem;
margin-bottom: 1rem;
color: var(--muted-foreground);
}
.install-steps li::before {
content: counter(step);
display: flex;
align-items: center;
justify-content: center;
min-width: 1.75rem;
height: 1.75rem;
border-radius: 50%;
background-color: var(--primary);
color: white;
font-size: 0.875rem;
font-weight: 600;
}
.link-tertiary {
color: var(--muted-foreground);
text-decoration: underline;
transition: color 0.2s;
}
.link-tertiary:hover {
color: var(--primary);
}
.demo-video {
width: 100%;
border-radius: var(--radius);
box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}
/* Footer */
.footer {
background-color: #F6F6F8;
border-top: 1px solid var(--border);
padding: 3rem 0 2rem;
}
.footer-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 2rem;
margin-bottom: 2rem;
}
@media (max-width: 768px) {
.footer-grid {
grid-template-columns: 1fr;
gap: 1.5rem;
}
}
.footer-col {
text-align: left;
}
.footer-title {
font-size: 0.875rem;
font-weight: 600;
color: var(--foreground);
margin-bottom: 0.75rem;
}
.footer-list {
list-style: none;
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.footer-list a {
font-size: 0.875rem;
color: var(--muted-foreground);
text-decoration: none;
transition: color 0.2s;
}
.footer-list a:hover {
color: var(--primary);
}
.footer-social {
display: flex;
gap: 0.75rem;
}
.footer-social a {
display: flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
border-radius: 50%;
background-color: var(--muted);
color: var(--muted-foreground);
transition: background-color 0.2s, color 0.2s;
}
.footer-social a:hover {
background-color: var(--primary);
color: white;
}
.footer-credit {
font-size: 0.875rem;
color: var(--muted-foreground);
text-align: center;
padding-top: 1.5rem;
border-top: 1px solid var(--border);
}
.footer-credit a {
color: var(--foreground);
font-weight: 600;
text-decoration: none;
transition: color 0.2s;
}
.footer-credit a:hover {
color: var(--primary);
}
</style>
</head>
<body>
<!-- Hero Section -->
<section class="hero">
<div class="container">
<div class="hero-grid">
<div>
<video class="hero-video" autoplay loop muted playsinline>
<source src="assets/reachy-mini-red-light-green-light.mp4" type="video/mp4">
</video>
</div>
<div class="hero-content">
<div class="hero-header">
<img src="assets/red-light-green-light.png" alt="Reachy Mini" class="hero-icon">
<h1 class="hero-title">Red Light Green Light</h1>
</div>
<div class="tags">
<span class="tag">vision</span>
<span class="tag">lite</span>
<span class="tag">Game</span>
<span class="tag">Kids</span>
</div>
<p class="hero-description">
<strong>Be the first to reach Reachy Mini without being seen!</strong><br>
While Reachy Mini is turned away, you can move forward. But when it turns back, you must freeze.
If Reachy Mini detects any movement, it will cross its antennas to show that you've been spotted, and you must go back to the starting line.
</p>
</div>
</div>
</div>
</section>
<!-- Technical Section -->
<section class="technical">
<div class="container">
<div class="technical-grid">
<div>
<h2 class="section-title" style="margin-top: 2rem;">How to install</h2>
<ol class="install-steps">
<li>
<span>Make sure you already have the <a href="https://hf.co/reachy-mini/#download" target="_blank" class="link-tertiary">dashboard</a> installed.</span>
</li>
<li>
<span>Connect to your Reachy Mini using the dashboard.</span>
</li>
<li>
<span>Navigate to the "Applications" tab in the dashboard.</span>
</li>
<li>
<span>Find "Red Light Green Light" in the list of available applications.</span>
</li>
<li>
<span>Click "Launch" and allow camera access when prompted.</span>
</li>
</ol>
</div>
<div>
<video class="demo-video" autoplay loop muted playsinline>
<source src="assets/install-green-light-red-light.mp4" type="video/mp4">
</video>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="footer">
<div class="container">
<div class="footer-grid">
<!-- Resources -->
<div class="footer-col">
<h4 class="footer-title">Resources</h4>
<ul class="footer-list">
<li><a href="https://github.com/pollen-robotics/reachy_mini" target="_blank" rel="noopener noreferrer">Read the Documentation</a></li>
<li><a href="https://github.com/pollen-robotics/reachy_mini/blob/develop/docs/troubleshooting.md" target="_blank" rel="noopener noreferrer">Troubleshooting & FAQ</a></li>
</ul>
</div>
<!-- Reachy Mini Apps -->
<div class="footer-col">
<h4 class="footer-title">Reachy Mini Apps</h4>
<ul class="footer-list">
<li><a href="https://hf.co/reachy-mini/#apps" target="_blank" rel="noopener noreferrer">Browse other apps</a></li>
<li><a href="https://huggingface.co/blog/pollen-robotics/make-and-publish-your-reachy-mini-apps" target="_blank" rel="noopener noreferrer">Make and publish your own app</a></li>
</ul>
</div>
<!-- Follow us -->
<div class="footer-col">
<h4 class="footer-title">Follow us</h4>
<div class="footer-social">
<a href="https://discord.gg/2bAhWfXme9" target="_blank" rel="noopener noreferrer" aria-label="Discord">
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor"><path d="M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028 14.09 14.09 0 0 0 1.226-1.994.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128 10.2 10.2 0 0 0 .372-.292.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418z"/></svg>
</a>
<a href="https://www.linkedin.com/company/pollen-robotics" target="_blank" rel="noopener noreferrer" aria-label="LinkedIn">
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor"><path d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"/></svg>
</a>
<a href="https://www.youtube.com/c/pollenrobotics" target="_blank" rel="noopener noreferrer" aria-label="YouTube">
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor"><path d="M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"/></svg>
</a>
<a href="https://github.com/pollen-robotics" target="_blank" rel="noopener noreferrer" aria-label="GitHub">
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor"><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg>
</a>
<a href="https://x.com/pollenrobotics" target="_blank" rel="noopener noreferrer" aria-label="X">
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor"><path d="M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z"/></svg>
</a>
</div>
</div>
</div>
<!-- Credit -->
<div class="footer-credit">
Proudly brought by <a href="https://www.pollen-robotics.com/" target="_blank" rel="noopener noreferrer">Pollen Robotics</a> x 🤗 <a href="https://huggingface.co" target="_blank" rel="noopener noreferrer">Hugging Face</a>
</div>
</div>
</footer>
</body>
</html>