mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-25 17:51:50 +01:00
Move flags into flag directory
This commit is contained in:
parent
1912af065f
commit
38fe8df228
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 New Issue
Block a user