docs: fix website home testimonials broken image URLs (#8443)

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
closes undefined
This commit is contained in:
Abhinandan Wadhwa 2022-12-15 17:19:38 +05:30 committed by GitHub
parent 1c40d6c821
commit 45f3e87356
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 47 deletions

View file

@ -17,8 +17,8 @@ export interface Props {
handle: string; handle: string;
name: string; name: string;
content: ReactNode; content: ReactNode;
avatar: string;
date: string; date: string;
githubUsername: string;
} }
export default function Tweet({ export default function Tweet({
@ -26,8 +26,8 @@ export default function Tweet({
handle, handle,
name, name,
content, content,
avatar,
date, date,
githubUsername,
}: Props): JSX.Element { }: Props): JSX.Element {
return ( return (
<div className={clsx('card', styles.tweet)}> <div className={clsx('card', styles.tweet)}>
@ -36,7 +36,7 @@ export default function Tweet({
<img <img
alt={name} alt={name}
className="avatar__photo" className="avatar__photo"
src={avatar} src={`https://unavatar.io/twitter/${handle}?fallback=https://github.com/${githubUsername}.png`}
width="48" width="48"
height="48" height="48"
loading="lazy" loading="lazy"

View file

@ -21,8 +21,6 @@ const TWEETS: TweetItem[] = [
handle: 'acemarke', handle: 'acemarke',
name: 'Mark Erikson', name: 'Mark Erikson',
date: 'Oct 26, 2021', date: 'Oct 26, 2021',
avatar:
'https://pbs.twimg.com/profile_images/842582724737163264/tFKLiJI5_400x400.jpg',
content: ( content: (
<> <>
We&apos;ve been using Docusaurus for all the Redux org docs sites for We&apos;ve been using Docusaurus for all the Redux org docs sites for
@ -32,14 +30,13 @@ const TWEETS: TweetItem[] = [
</> </>
), ),
showOnHomepage: true, showOnHomepage: true,
githubUsername: 'markerikson',
}, },
{ {
url: 'https://twitter.com/arcanis/status/1351620354561732608', url: 'https://twitter.com/arcanis/status/1351620354561732608',
handle: 'arcanis', handle: 'arcanis',
name: 'Maël', name: 'Maël',
date: 'Jan 20, 2021', date: 'Jan 20, 2021',
avatar:
'https://pbs.twimg.com/profile_images/1497225853931040769/5mXZAHFR_400x400.jpg',
content: ( content: (
<> <>
I&apos;ve used Docusaurus for two websites this year, and I&apos;ve been I&apos;ve used Docusaurus for two websites this year, and I&apos;ve been
@ -47,14 +44,13 @@ const TWEETS: TweetItem[] = [
</> </>
), ),
showOnHomepage: true, showOnHomepage: true,
githubUsername: 'arcanis',
}, },
{ {
url: 'https://twitter.com/maxlynch/status/1375113166007455748', url: 'https://twitter.com/maxlynch/status/1375113166007455748',
handle: 'maxlynch', handle: 'maxlynch',
name: 'Max Lynch', name: 'Max Lynch',
date: 'Mar 25, 2021', date: 'Mar 25, 2021',
avatar:
'https://pbs.twimg.com/profile_images/1318970727173885953/bln98FNj_400x400.jpg',
content: ( content: (
<> <>
Docusaurus v2 doubles as a really nice little static site generator tool Docusaurus v2 doubles as a really nice little static site generator tool
@ -62,14 +58,13 @@ const TWEETS: TweetItem[] = [
</> </>
), ),
showOnHomepage: true, showOnHomepage: true,
githubUsername: 'mlynch',
}, },
{ {
url: 'https://twitter.com/supabase/status/1328960757149671425', url: 'https://twitter.com/supabase/status/1328960757149671425',
handle: 'supabase', handle: 'supabase',
name: 'Supabase', name: 'Supabase',
date: 'Nov 18, 2020', date: 'Nov 18, 2020',
avatar:
'https://pbs.twimg.com/profile_images/1397471927132844033/jN-wuufb_400x400.jpg',
content: ( content: (
<> <>
We&apos;ve been using V2 since January and it has been great - we spend We&apos;ve been using V2 since January and it has been great - we spend
@ -80,14 +75,13 @@ const TWEETS: TweetItem[] = [
</> </>
), ),
showOnHomepage: true, showOnHomepage: true,
githubUsername: 'supabase',
}, },
{ {
url: 'https://twitter.com/paularmstrong/status/1387059593373700100', url: 'https://twitter.com/paularmstrong/status/1387059593373700100',
handle: 'paularmstrong', handle: 'paularmstrong',
name: 'Paul Armstrong', name: 'Paul Armstrong',
date: 'Apr 27, 2021', date: 'Apr 27, 2021',
avatar:
'https://pbs.twimg.com/profile_images/823614982394769408/C4KgET17_400x400.jpg',
content: ( content: (
<> <>
Continue to be impressed and excited about Docusaurus v2 alpha releases. Continue to be impressed and excited about Docusaurus v2 alpha releases.
@ -96,28 +90,26 @@ const TWEETS: TweetItem[] = [
</> </>
), ),
showOnHomepage: true, showOnHomepage: true,
githubUsername: 'paularmstrong',
}, },
{ {
url: 'https://twitter.com/sanketsahu/status/1328677366642528257', url: 'https://twitter.com/sanketsahu/status/1328677366642528257',
handle: 'sanketsahu', handle: 'sanketsahu',
name: 'Sanket Sahu', name: 'Sanket Sahu',
date: 'Nov 17, 2020', date: 'Nov 17, 2020',
avatar:
'https://pbs.twimg.com/profile_images/1481221429991718913/aNZZgZME_400x400.jpg',
content: ( content: (
<> <>
.<b>@docusaurus</b> .<b>@docusaurus</b>
</> </>
), ),
showOnHomepage: false, showOnHomepage: false,
githubUsername: 'sanketsahu',
}, },
{ {
url: 'https://twitter.com/debs_obrien/status/1374615572298801155', url: 'https://twitter.com/debs_obrien/status/1374615572298801155',
handle: 'debs_obrien', handle: 'debs_obrien',
name: "Debbie O'Brien", name: "Debbie O'Brien",
date: 'Mar 24, 2021', date: 'Mar 24, 2021',
avatar:
'https://pbs.twimg.com/profile_images/1537114604278530048/FMrBa87o_400x400.jpg',
content: ( content: (
<> <>
Been doing a lot of work with <b>@docusaurus</b> lately and I have to Been doing a lot of work with <b>@docusaurus</b> lately and I have to
@ -127,14 +119,13 @@ const TWEETS: TweetItem[] = [
</> </>
), ),
showOnHomepage: true, showOnHomepage: true,
githubUsername: 'debs-obrien',
}, },
{ {
url: 'https://twitter.com/Dr_Electron/status/1443635328376508433', url: 'https://twitter.com/Dr_Electron/status/1443635328376508433',
handle: 'Dr_Electron', handle: 'Dr_Electron',
name: 'Dr.Electron', name: 'Dr.Electron',
date: 'Oct 11, 2021', date: 'Oct 11, 2021',
avatar:
'https://pbs.twimg.com/profile_images/1280609918022815746/nCWpKbYh_400x400.jpg',
content: ( content: (
<> <>
The #IOTA wiki is now part of the <b>@docusaurus</b> showcase. We even The #IOTA wiki is now part of the <b>@docusaurus</b> showcase. We even
@ -145,14 +136,13 @@ const TWEETS: TweetItem[] = [
</> </>
), ),
showOnHomepage: true, showOnHomepage: true,
githubUsername: 'Dr-Electron',
}, },
{ {
url: 'https://twitter.com/kentcdodds/status/1323806816019468288', url: 'https://twitter.com/kentcdodds/status/1323806816019468288',
handle: 'kentcdodds', handle: 'kentcdodds',
name: 'Kent C. Dodds', name: 'Kent C. Dodds',
date: 'Nov 4, 2020', date: 'Nov 4, 2020',
avatar:
'https://pbs.twimg.com/profile_images/1529905780542959616/Ibwrp7VJ_400x400.jpg',
content: ( content: (
<> <>
http://testing-library.com just got a nice update! We&apos;re now on the http://testing-library.com just got a nice update! We&apos;re now on the
@ -164,24 +154,22 @@ const TWEETS: TweetItem[] = [
</> </>
), ),
showOnHomepage: true, showOnHomepage: true,
githubUsername: 'kentcdodds',
}, },
{ {
url: 'https://twitter.com/bantg/status/1463608561368457225', url: 'https://twitter.com/bantg/status/1463608561368457225',
handle: 'bantg', handle: 'bantg',
name: 'banteg', name: 'banteg',
date: 'Nov 25, 2021', date: 'Nov 25, 2021',
avatar:
'https://pbs.twimg.com/profile_images/1406018339835678720/fLQOnMbp_400x400.jpg',
content: <>I like docusaurus much more, it&apos;s so snappy.</>, content: <>I like docusaurus much more, it&apos;s so snappy.</>,
showOnHomepage: false, showOnHomepage: false,
githubUsername: 'banteg',
}, },
{ {
url: 'https://twitter.com/swyx/status/1418405515684581378', url: 'https://twitter.com/swyx/status/1418405515684581378',
handle: 'swyx', handle: 'swyx',
name: 'swyx', name: 'swyx',
date: 'Jul 23, 2021', date: 'Jul 23, 2021',
avatar:
'https://pbs.twimg.com/profile_images/1510319731466993664/tGoqnzGK_400x400.jpg',
content: ( content: (
<> <>
Happy to share Temporal&apos;s first open source sponsorship of{' '} Happy to share Temporal&apos;s first open source sponsorship of{' '}
@ -194,28 +182,26 @@ const TWEETS: TweetItem[] = [
</> </>
), ),
showOnHomepage: true, showOnHomepage: true,
githubUsername: 'sw-yx',
}, },
{ {
url: 'https://twitter.com/rachelnabors/status/1478490902037467137', url: 'https://twitter.com/rachelnabors/status/1478490902037467137',
handle: 'rachelnabors', handle: 'rachelnabors',
name: "R 'Nearest' Nabors 💙", name: "R 'Nearest' Nabors 💙",
date: 'Jan 5, 2022', date: 'Jan 5, 2022',
avatar:
'https://pbs.twimg.com/profile_images/1316805792893489152/7soY-vhs_400x400.jpg',
content: ( content: (
<> <>
I hear <b>@docusaurus</b> is a good tool for that! I hear <b>@docusaurus</b> is a good tool for that!
</> </>
), ),
showOnHomepage: false, showOnHomepage: false,
githubUsername: 'rachelnabors',
}, },
{ {
url: 'https://twitter.com/dabit3/status/1394685348375052295', url: 'https://twitter.com/dabit3/status/1394685348375052295',
handle: 'dabit3', handle: 'dabit3',
name: 'Nader Dabit', name: 'Nader Dabit',
date: 'May 19, 2021', date: 'May 19, 2021',
avatar:
'https://pbs.twimg.com/profile_images/1485813693682262017/E8H-p7iy_400x400.jpg',
content: ( content: (
<> <>
I did try Docusaurus, and I really liked it! Still investigating various I did try Docusaurus, and I really liked it! Still investigating various
@ -223,14 +209,13 @@ const TWEETS: TweetItem[] = [
</> </>
), ),
showOnHomepage: false, showOnHomepage: false,
githubUsername: 'dabit3',
}, },
{ {
url: 'https://twitter.com/johnny_reilly/status/1469238609266028545', url: 'https://twitter.com/johnny_reilly/status/1469238609266028545',
handle: 'johnny_reilly', handle: 'johnny_reilly',
name: 'John Reilly', name: 'John Reilly',
date: 'Dec 10, 2021', date: 'Dec 10, 2021',
avatar:
'https://pbs.twimg.com/profile_images/552803871567790081/rPdTN64o_400x400.jpeg',
content: ( content: (
<> <>
I <b>@docusaurus</b> - it makes it so easy to spin up docs, blogs and I <b>@docusaurus</b> - it makes it so easy to spin up docs, blogs and
@ -242,14 +227,13 @@ const TWEETS: TweetItem[] = [
</> </>
), ),
showOnHomepage: false, showOnHomepage: false,
githubUsername: 'johnnyreilly',
}, },
{ {
url: 'https://twitter.com/tinkertim/status/1423358665726304260', url: 'https://twitter.com/tinkertim/status/1423358665726304260',
handle: 'tinkertim', handle: 'tinkertim',
name: 'Tim Post 💉💉💉', name: 'Tim Post 💉💉💉',
date: 'Aug 6, 2021', date: 'Aug 6, 2021',
avatar:
'https://pbs.twimg.com/profile_images/1199471998650454017/59xAQG4y_400x400.jpg',
content: ( content: (
<> <>
Docusaurus is mind-bendingly flexible. <br /> Docusaurus is mind-bendingly flexible. <br />
@ -261,14 +245,13 @@ const TWEETS: TweetItem[] = [
</> </>
), ),
showOnHomepage: false, showOnHomepage: false,
githubUsername: 'tinkertim',
}, },
{ {
url: 'https://twitter.com/sebastienlorber/status/1321784071815680000', url: 'https://twitter.com/sebastienlorber/status/1321784071815680000',
handle: 'sebastienlorber', handle: 'sebastienlorber',
name: 'Sebastien Lorber', name: 'Sebastien Lorber',
date: 'Oct 29, 2020', date: 'Oct 29, 2020',
avatar:
'https://pbs.twimg.com/profile_images/573206276819140608/gKAusMeX_400x400.jpeg',
content: ( content: (
<> <>
🥳🎊🥳🎊🥳🎊🥳🎊 The @reactnative website just migrated to{' '} 🥳🎊🥳🎊🥳🎊🥳🎊 The @reactnative website just migrated to{' '}
@ -285,14 +268,13 @@ const TWEETS: TweetItem[] = [
</> </>
), ),
showOnHomepage: false, showOnHomepage: false,
githubUsername: 'slorber',
}, },
{ {
url: 'https://twitter.com/iansu/status/1184149586048245760', url: 'https://twitter.com/iansu/status/1184149586048245760',
handle: 'iansu', handle: 'iansu',
name: 'Ian Sutherland', name: 'Ian Sutherland',
date: 'Oct 16, 2019', date: 'Oct 16, 2019',
avatar:
'https://pbs.twimg.com/profile_images/916780671552516096/yzDVUVKY_400x400.jpg',
content: ( content: (
<> <>
We just updated the Create React App docs to Docusaurus v2. Now with We just updated the Create React App docs to Docusaurus v2. Now with
@ -306,14 +288,13 @@ const TWEETS: TweetItem[] = [
</> </>
), ),
showOnHomepage: false, showOnHomepage: false,
githubUsername: 'iansu',
}, },
{ {
url: 'https://twitter.com/mweststrate/status/1181276252293853186', url: 'https://twitter.com/mweststrate/status/1181276252293853186',
handle: 'mweststrate', handle: 'mweststrate',
name: 'Michel Weststrate', name: 'Michel Weststrate',
date: 'Oct 8, 2019', date: 'Oct 8, 2019',
avatar:
'https://pbs.twimg.com/profile_images/1192174732189339649/NYGFeR-K_400x400.jpg',
content: ( content: (
<> <>
New #mobx docs are online! More modern, fixing many UI issues. New #mobx docs are online! More modern, fixing many UI issues.
@ -327,14 +308,13 @@ const TWEETS: TweetItem[] = [
</> </>
), ),
showOnHomepage: false, showOnHomepage: false,
githubUsername: 'mweststrate',
}, },
{ {
url: 'https://twitter.com/verdaccio_npm/status/1420187249145118722', url: 'https://twitter.com/verdaccio_npm/status/1420187249145118722',
handle: 'verdaccio_npm', handle: 'verdaccio_npm',
name: 'verdaccio', name: 'verdaccio',
date: 'Jul 28, 2021', date: 'Jul 28, 2021',
avatar:
'https://pbs.twimg.com/profile_images/1423143362232823809/4khdTyVZ_400x400.png',
content: ( content: (
<> <>
The new website has landed 🚀 powered by <b>@docusaurus</b> v2 and made The new website has landed 🚀 powered by <b>@docusaurus</b> v2 and made
@ -344,6 +324,7 @@ const TWEETS: TweetItem[] = [
</> </>
), ),
showOnHomepage: false, showOnHomepage: false,
githubUsername: 'verdaccio',
}, },
{ {
@ -351,8 +332,6 @@ const TWEETS: TweetItem[] = [
handle: 'yangshunz', handle: 'yangshunz',
name: 'Yangshun Tay', name: 'Yangshun Tay',
date: 'Jul 19, 2020', date: 'Jul 19, 2020',
avatar:
'https://pbs.twimg.com/profile_images/1247950572096868352/3kuZJz5j_400x400.jpg',
content: ( content: (
<> <>
I made a <b>@docusaurus</b> website for answers to the H5BP Front End I made a <b>@docusaurus</b> website for answers to the H5BP Front End
@ -361,6 +340,7 @@ const TWEETS: TweetItem[] = [
</> </>
), ),
showOnHomepage: false, showOnHomepage: false,
githubUsername: 'yangshun',
}, },
{ {
@ -368,8 +348,6 @@ const TWEETS: TweetItem[] = [
handle: 'pierregillesl', handle: 'pierregillesl',
name: 'Pierre-Gilles Leymarie', name: 'Pierre-Gilles Leymarie',
date: 'Mar 19, 2021', date: 'Mar 19, 2021',
avatar:
'https://pbs.twimg.com/profile_images/1302550637197000705/pg5XF8rA_400x400.jpg',
content: ( content: (
<> <>
Just upgraded our website to <b>@docusaurus</b> latest with Just upgraded our website to <b>@docusaurus</b> latest with
@ -384,14 +362,13 @@ const TWEETS: TweetItem[] = [
</> </>
), ),
showOnHomepage: false, showOnHomepage: false,
githubUsername: 'Pierre-Gilles',
}, },
{ {
url: 'https://twitter.com/biantris_/status/1480259279487741953', url: 'https://twitter.com/biantris_/status/1480259279487741953',
handle: 'biantris_', handle: 'biantris_',
name: 'biazita', name: 'biazita',
date: 'Jan 10, 2022', date: 'Jan 10, 2022',
avatar:
'https://pbs.twimg.com/profile_images/1371525161829208064/UCzm0Zye_400x400.jpg',
content: ( content: (
<> <>
Today I tried <b>@docusaurus</b> in a project, I really like the ease Today I tried <b>@docusaurus</b> in a project, I really like the ease
@ -399,6 +376,7 @@ const TWEETS: TweetItem[] = [
</> </>
), ),
showOnHomepage: false, showOnHomepage: false,
githubUsername: 'biantris',
}, },
]; ];