Skip to content

Commit 5490b4e

Browse files
committed
fix broken avatars
1 parent e66555d commit 5490b4e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/homepage/src/components/Tweet/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const Tweet = ({
99
<TweetsWrapper css={style} href={url} target="_blank" right={right}>
1010
<Quote>{quote}</Quote>
1111
<Author>
12-
<Avatar src={`https://avatars.io/twitter/${username}`} alt={name} />
12+
<Avatar src={`https://twitter-avatar.now.sh/${username}`} alt={name} />
1313
<div>
1414
<Info>{name}</Info>
1515
<Info>{job}</Info>

packages/homepage/src/pages/ide/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ export default () => (
194194
<Quote> "{tweet.quote}"</Quote>
195195
<div>
196196
<img
197-
src={`https://avatars.io/twitter/${tweet.username}`}
197+
src={`https://twitter-avatar.now.sh/${tweet.username}`}
198198
alt={tweet.quote}
199199
onError={e => {
200200
e.target.src = `https://avatars.io/static/default_128.jpg`;

packages/homepage/src/templates/feature.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export default ({
6363
"{tweetText}"
6464
<User>
6565
<Avatar
66-
src={`https://avatars.io/twitter/${tweetHandle}`}
66+
src={`https://twitter-avatar.now.sh/${tweetHandle}`}
6767
alt={tweetName}
6868
/>
6969
<div>

0 commit comments

Comments
 (0)