mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-29 16:07:40 +01:00
Move flags into flag directory
This commit is contained in:
parent
1912af065f
commit
38fe8df228
3 changed files with 2 additions and 2 deletions
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
|
@ -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>
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue