Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion apps/web/src/components/Hero.css
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,29 @@
transform: translateY(-2px);
}

.hero-producthunt {
margin-top: 1.5rem;
}

.hero-producthunt a {
display: block;
transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero-producthunt a:hover {
transform: translateY(-2px);
opacity: 0.9;
}

.hero-producthunt img {
display: block;
}

.hero-install {
display: flex;
align-items: center;
gap: 0.5rem;
margin-top: 2rem;
margin-top: 1.5rem;
padding: 0.75rem 1rem;
background: var(--bg-secondary);
border: 1px solid var(--border);
Expand Down
22 changes: 21 additions & 1 deletion apps/web/src/components/Hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,31 @@ export default function Hero() {
</a>
</motion.div>

<motion.div
className="hero-producthunt"
initial={{ opacity: 0, y: 20 }}
animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.6, delay: 0.8 }}
>
<a
href="https://www.producthunt.com/products/ember-mug-cli?embed=true&utm_source=badge-featured&utm_medium=badge&utm_campaign=badge-ember-mug-cli"
target="_blank"
rel="noopener noreferrer"
>
<img
src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=1072278&theme=light&t=1770301556157"
alt="Ember Mug CLI - Control your ember mug from the terminal | Product Hunt"
width="250"
height="54"
/>
</a>
</motion.div>

<motion.div
className="hero-install"
initial={{ opacity: 0 }}
animate={{ opacity: 1 }}
transition={{ duration: 0.6, delay: 0.9 }}
transition={{ duration: 0.6, delay: 1.0 }}
>
<code className="install-command">
<span className="prompt">$</span> npx ember-mug@latest
Expand Down