Skip to content

Commit 689616b

Browse files
committed
docs(website): show the Product Hunt badge next to the download button
1 parent af64a52 commit 689616b

2 files changed

Lines changed: 14 additions & 10 deletions

File tree

‎website/src/pages/index.module.css‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,14 @@
6161
gap: 12px;
6262
flex-wrap: wrap;
6363
justify-content: center;
64+
align-items: center;
6465
margin: 32px 0 0;
6566
}
6667

68+
.productHunt {
69+
display: inline-flex;
70+
}
71+
6772
.platforms {
6873
margin: 8px 0 0;
6974
font-size: 12px;

‎website/src/pages/index.tsx‎

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -55,17 +55,8 @@ export default function Home() {
5555
</p>
5656
<div className={styles.actions}>
5757
<PlatformDownload className={styles.primaryCta} />
58-
</div>
59-
<p className={styles.reassurance}>
60-
<Translate id="home.hero.reassurance">
61-
Free and open source. No watermark. No account.
62-
</Translate>
63-
</p>
64-
<p className={styles.platforms}>
65-
<Translate id="home.features.platforms.title">Windows, macOS, Linux</Translate>
66-
</p>
67-
<p>
6858
<a
59+
className={styles.productHunt}
6960
href="https://www.producthunt.com/posts/openscreen-2-3?embed=true&utm_source=badge-featured&utm_medium=badge&utm_campaign=badge-openscreen-2-3"
7061
target="_blank"
7162
rel="noopener noreferrer"
@@ -77,6 +68,14 @@ export default function Home() {
7768
height="54"
7869
/>
7970
</a>
71+
</div>
72+
<p className={styles.reassurance}>
73+
<Translate id="home.hero.reassurance">
74+
Free and open source. No watermark. No account.
75+
</Translate>
76+
</p>
77+
<p className={styles.platforms}>
78+
<Translate id="home.features.platforms.title">Windows, macOS, Linux</Translate>
8079
</p>
8180
</div>
8281
</div>

0 commit comments

Comments
 (0)