mirror of
https://github.com/BradNut/awesome-uses
synced 2025-09-08 17:40:31 +00:00
Use unavatar instead of Clearbit API
Closes #376 unavatar.now.sh uses clearbit API logo (and more providers) under the hood. Also, the fallback image is customizable, e.g., https://unavatar.now.sh/daftpunk?fallback=https://i.imgur.com/0d1TFfQ.jpg
This commit is contained in:
parent
6b98ada961
commit
3fd511f4d9
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ import * as icons from '../util/icons';
|
||||||
|
|
||||||
export default function Person({ person, currentTag }) {
|
export default function Person({ person, currentTag }) {
|
||||||
const url = new URL(person.url);
|
const url = new URL(person.url);
|
||||||
const img = `https://logo.clearbit.com/${url.host}`;
|
const img = `https://unavatar.now.sh/${url.host}`;
|
||||||
return (
|
return (
|
||||||
<PersonWrapper>
|
<PersonWrapper>
|
||||||
<PersonInner>
|
<PersonInner>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue