updates to improve lighthouse performance (#149)

This commit is contained in:
Nader Dabit 2021-01-08 13:15:03 -06:00 committed by GitHub
parent 79269edbd3
commit 86c396edd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -102,6 +102,7 @@ const Footer: FC<Props> = ({ className, pages }) => {
<div className="flex items-center text-primary"> <div className="flex items-center text-primary">
<span className="text-primary">Crafted by</span> <span className="text-primary">Crafted by</span>
<a <a
rel="noopener"
href="https://vercel.com" href="https://vercel.com"
aria-label="Vercel.com Link" aria-label="Vercel.com Link"
target="_blank" target="_blank"

View File

@ -51,6 +51,8 @@ const I18nWidget: FC = () => {
> >
<button className={s.button} aria-label="Language selector"> <button className={s.button} aria-label="Language selector">
<img <img
width="20"
height="20"
className="block mr-2 w-5" className="block mr-2 w-5"
src={`/${LOCALES_MAP[currentLocale].img.filename}`} src={`/${LOCALES_MAP[currentLocale].img.filename}`}
alt={LOCALES_MAP[currentLocale].img.alt} alt={LOCALES_MAP[currentLocale].img.alt}