docs: update Hacker News + Product Hunt links (#7874)

update HN + ProductHunt links
This commit is contained in:
Sébastien Lorber 2022-08-01 12:33:28 +02:00 committed by GitHub
parent 1a62b41e31
commit e519858ea7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 5 deletions

View file

@ -34,7 +34,7 @@ After **4 years of work, [75 alphas](https://github.com/facebook/docusaurus/rele
<!--truncate--> <!--truncate-->
:::info We are on [ProductHunt](https://www.producthunt.com/) and [Hacker News](https://news.ycombinator.com/)! :::info We are on [ProductHunt](https://www.producthunt.com/posts/docusaurus-2-0) and [Hacker News](https://news.ycombinator.com/item?id=32303052)!
**Now** is the best time to show your love for Docusaurus! **Now** is the best time to show your love for Docusaurus!
@ -432,7 +432,7 @@ At [Meta Open Source](https://opensource.fb.com/), Docusaurus is one of our **mo
— Slash — Slash
:::info We are on [ProductHunt](https://www.producthunt.com/) and [Hacker News](https://news.ycombinator.com/)! :::info We are on [ProductHunt](https://www.producthunt.com/posts/docusaurus-2-0) and [Hacker News](https://news.ycombinator.com/item?id=32303052)!
🙏 Share your experience using Docusaurus with the community! 🙏 Share your experience using Docusaurus with the community!

View file

@ -14,7 +14,7 @@ export default function HackerNewsIcon({
}): JSX.Element { }): JSX.Element {
return ( return (
<a <a
href="https://news.ycombinator.com/" href="https://news.ycombinator.com/item?id=32303052"
target="_blank" target="_blank"
rel="noreferrer" rel="noreferrer"
style={{display: 'block', width: size, height: size}}> style={{display: 'block', width: size, height: size}}>

View file

@ -274,8 +274,14 @@ function TopBanner() {
<div className={styles.topBannerDescription}> <div className={styles.topBannerDescription}>
We are on{' '} We are on{' '}
<b> <b>
<Link to="https://www.producthunt.com/">ProductHunt</Link> and{' '} <Link to="https://www.producthunt.com/posts/docusaurus-2-0">
<Link to="https://news.ycombinator.com/">Hacker News</Link> today! ProductHunt
</Link>{' '}
and{' '}
<Link to="https://news.ycombinator.com/item?id=32303052">
Hacker News
</Link>{' '}
today!
</b> </b>
</div> </div>
</div> </div>