mirror of
https://github.com/vercel/commerce.git
synced 2025-03-30 09:05:52 +00:00
updates to improve lighthouse performance (#149)
This commit is contained in:
parent
79269edbd3
commit
86c396edd5
@ -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"
|
||||||
|
@ -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}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user