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
13 changes: 13 additions & 0 deletions app/page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,19 @@ export default function Home() {
onResults={handleSearch}
onReset={handleResetFilter}
/>
<a
className="product-hunt-badge"
href="https://www.producthunt.com/products/devglobe-2?embed=true&amp;utm_source=badge-featured&amp;utm_medium=badge&amp;utm_campaign=badge-devglobe-2"
target="_blank"
rel="noopener noreferrer"
>
<img
alt="DevGlobe - Discover top open source devs on an interactive 3D globe | Product Hunt"
width="250"
height="54"
src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=1216204&amp;theme=light&amp;t=1785998968385"
/>
</a>
<main className="main">
<Globe
ref={globeRef}
Expand Down
19 changes: 19 additions & 0 deletions styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,22 @@ body {
height: 100%;
}

.product-hunt-badge {
position: fixed;
bottom: 64px;
left: 24px;
z-index: 39;
display: block;
width: 250px;
height: 54px;
}

.product-hunt-badge img {
display: block;
width: 100%;
height: 100%;
}

/* Globe Legend */
.globe-legend {
position: fixed;
Expand Down Expand Up @@ -1402,6 +1418,9 @@ body {
.header__subtitle {
display: none;
}
.product-hunt-badge {
left: 12px;
}
}

/* =============== User Menu / Auth =============== */
Expand Down
Loading