Skip to content

Commit

Permalink
fix: Further optimize locale switcher icons
Browse files Browse the repository at this point in the history
  • Loading branch information
Dobefu committed Feb 11, 2025
1 parent 7834c29 commit f9e0b52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Binary file modified public/flags/en.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions src/components/layout/locale-switcher.client.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ export default function LocaleSwitcher({ locale: currentLocale }: Props) {
quality="90"
sizes="sm:40px md:56px"
src={`/flags/${currentLocale?.code}.gif`}
unoptimized
width={48}
/>
▼
Expand Down Expand Up @@ -161,6 +162,7 @@ export default function LocaleSwitcher({ locale: currentLocale }: Props) {
height={33}
quality="90"
src={`/flags/${locale.code}.gif`}
unoptimized
width={48}
/>
{getTranslation(currentLocale.code, `languages.${locale?.code}`)}
Expand Down

0 comments on commit f9e0b52

Please sign in to comment.