Move flags into flag directory

This commit is contained in:
William Oldham 2024-01-04 20:43:05 +00:00
parent 1912af065f
commit 38fe8df228
3 changed files with 2 additions and 2 deletions

View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@ -15,14 +15,14 @@ export function FlagIcon(props: FlagIconProps) {
if (props.langCode === "tok")
return (
<div className="w-8 h-6 rounded bg-[#c8e1ed] flex justify-center items-center">
<img src="/tokiPona.svg" className="w-7 h-5" />
<img src="/flags/tokiPona.svg" className="w-7 h-5" />
</div>
);
if (props.langCode === "pirate")
return (
<div className="w-8 h-6 rounded bg-[#2E3439] flex justify-center items-center">
<img src="/skull.svg" className="w-4 h-4" />
<img src="/flags/skull.svg" className="w-4 h-4" />
</div>
);