Skip to content

Commit 10a1493

Browse files
committed
feat: add product hunt button
1 parent 6517657 commit 10a1493

1 file changed

Lines changed: 29 additions & 11 deletions

File tree

src/components/Footer.jsx

Lines changed: 29 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -158,17 +158,35 @@ function Footer() {
158158
<p className="text-xs text-text-secondary mb-3">
159159
Enjoying this project? Support my work!
160160
</p>
161-
<motion.button
162-
onClick={handleBMCClick}
163-
className="inline-flex items-center gap-2 px-4 py-2 cursor-pointer bg-[#FFDD00] hover:bg-[#FFED4E] border-2 border-black rounded-lg font-semibold text-sm text-black shadow-md transition-colors touch-manipulation min-h-[44px]"
164-
whileHover={{ scale: 1.05 }}
165-
whileTap={{ scale: 0.95 }}
166-
transition={{ type: 'spring', stiffness: 400, damping: 17 }}
167-
aria-label="Buy me a coffee - Support this project"
168-
>
169-
<span className="text-lg"></span>
170-
<span>Buy me a coffee</span>
171-
</motion.button>
161+
<div className="flex flex-col gap-3">
162+
<motion.button
163+
onClick={handleBMCClick}
164+
className="inline-flex items-center gap-2 px-4 py-2 cursor-pointer bg-[#FFDD00] hover:bg-[#FFED4E] border-2 border-black rounded-lg font-semibold text-sm text-black shadow-md transition-colors touch-manipulation min-h-[44px]"
165+
whileHover={{ scale: 1.05 }}
166+
whileTap={{ scale: 0.95 }}
167+
transition={{ type: 'spring', stiffness: 400, damping: 17 }}
168+
aria-label="Buy me a coffee - Support this project"
169+
>
170+
<span className="text-lg"></span>
171+
<span>Buy me a coffee</span>
172+
</motion.button>
173+
<motion.a
174+
href="https://www.producthunt.com/products/bayan-flow?embed=true&utm_source=badge-featured&utm_medium=badge&utm_source=badge-bayan-flow"
175+
target="_blank"
176+
rel="noopener noreferrer"
177+
whileHover={{ scale: 1.05 }}
178+
whileTap={{ scale: 0.95 }}
179+
transition={{ type: 'spring', stiffness: 400, damping: 17 }}
180+
>
181+
<img
182+
src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=1033547&theme=light&t=1762155508930"
183+
alt="Bayan Flow - Interactive algorithm visualizer | Product Hunt"
184+
width="250"
185+
height="54"
186+
className="w-[250px] h-[54px]"
187+
/>
188+
</motion.a>
189+
</div>
172190
</div>
173191
</div>
174192
</div>

0 commit comments

Comments
 (0)