Changed language icons to svg images

This commit is contained in:
Elmo Kankkunen
2022-09-13 17:29:52 +03:00
parent 11bd5a90a2
commit 0380ee7d6d
+2 -4
View File
@@ -75,8 +75,7 @@ const nameToIcon = (name: IconType): JSX.Element | null => {
viewBox="0 0 640 480"
xmlns="http://www.w3.org/2000/svg"
>
<title>Menu</title>
{/* eslint-disable-next-line max-len */}
<title>Finland flag</title>
<path fill="#fff" d="M0 0h640v480H0z" />
<path fill="#002f6c" d="M0 174.5h640v131H0z" />
<path fill="#002f6c" d="M175.5 0h130.9v480h-131z" />
@@ -90,8 +89,7 @@ const nameToIcon = (name: IconType): JSX.Element | null => {
viewBox="0 0 640 480"
xmlns="http://www.w3.org/2000/svg"
>
<title>Menu</title>
{/* eslint-disable-next-line max-len */}
<title>GB flag</title>
<path fill="#012169" d="M0 0h640v480H0z" />
<path fill="#FFF" d="m75 0 244 181L562 0h78v62L400 241l240 178v61h-80L320 301 81 480H0v-60l239-178L0 64V0h75z" />
<path fill="#C8102E" d="m424 281 216 159v40L369 281h55zm-184 20 6 35L54 480H0l240-179zM640 0v3L391 191l2-44L590 0h50zM0 0l239 176h-60L0 42V0z" />