build: add avatar width

This commit is contained in:
Kiko Beats 2020-01-14 14:56:17 +01:00 committed by GitHub
parent 3fd511f4d9
commit a30c0effbe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,7 @@ import * as icons from '../util/icons';
export default function Person({ person, currentTag }) {
const url = new URL(person.url);
const img = `https://unavatar.now.sh/${url.host}`;
const img = `https://images.weserv.nl/?url=https://unavatar.now.sh/${url.host}&w=50`
return (
<PersonWrapper>
<PersonInner>