mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
feat: start of tank page
This commit is contained in:
1 parent
e7bfe81940
commit
3d5dd54ec0
4 files changed
+45
-29
No files matched your search
@@ -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>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user