From 74af76a9cd86aa68d4adf85e805eafc6e2583a3c Mon Sep 17 00:00:00 2001 From: Wes Bos Date: Mon, 9 Jan 2023 14:12:22 -0500 Subject: [PATCH] twitter is paid now? --- src/components/Person.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Person.js b/src/components/Person.js index 087edcff..0d6f20ab 100644 --- a/src/components/Person.js +++ b/src/components/Person.js @@ -24,7 +24,7 @@ function useIntersectionObserver(ref) { export default function Person({ person, currentTag }) { const url = new URL(person.url); - const twitter = person.twitter ? `https://unavatar.io/twitter/${person.twitter.replace('@', '')}` : null; + const twitter = person.twitter ? `https://unavatar.io/${person.twitter.replace('@', '')}` : null; const website = `https://unavatar.io/${url.host}`; const unavatar = person.twitter ? `${twitter}?fallback=${website}` : website; const img = `https://images.weserv.nl/?url=${unavatar}&w=100&l=9&af&il&n=-1`;