feat: start of tank page

This commit is contained in:
TrèsAbhi committed 2023-12-06 17:58:26 -06:00
1 parent e7bfe81940
commit 3d5dd54ec0
4 files changed
+45 -29

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
import { asset } from '../core/blitzkrieg/asset';
interface FlagProps {
nation: string;
}
export function Flag({ nation }: FlagProps) {
return (
<div
style={{
width: 22,
height: 22,
overflow: 'hidden',
}}
>
<img src={asset(`flags/circle/${nation}.webp`)} alt={nation} />
</div>
);
}