mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-25 03:29:51 +01:00
feat: better cards
This commit is contained in:
1 parent
987a14b68d
commit
7e6e480788
1 file changed
+7
-6
@@ -23,8 +23,10 @@ export function GameModeSection() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Flex
|
<Flex
|
||||||
height="calc(256px - 64px)"
|
width="256px"
|
||||||
|
height="256px"
|
||||||
overflow="hidden"
|
overflow="hidden"
|
||||||
|
direction="column"
|
||||||
style={{
|
style={{
|
||||||
borderRadius: 'var(--radius-3)',
|
borderRadius: 'var(--radius-3)',
|
||||||
background: `url(${asset(`icons/game_mode_banners/${id}.webp`)})`,
|
background: `url(${asset(`icons/game_mode_banners/${id}.webp`)})`,
|
||||||
@@ -51,7 +53,6 @@ export function GameModeSection() {
|
|||||||
}}
|
}}
|
||||||
align="center"
|
align="center"
|
||||||
justify="center"
|
justify="center"
|
||||||
gap="2"
|
|
||||||
>
|
>
|
||||||
<Text size="4" weight="bold">
|
<Text size="4" weight="bold">
|
||||||
{gameMode.name}
|
{gameMode.name}
|
||||||
@@ -66,8 +67,8 @@ export function GameModeSection() {
|
|||||||
<Flex align="center" gap="1">
|
<Flex align="center" gap="1">
|
||||||
<img
|
<img
|
||||||
style={{
|
style={{
|
||||||
width: '2em',
|
width: '1.5em',
|
||||||
height: '2em',
|
height: '1.5em',
|
||||||
objectFit: 'contain',
|
objectFit: 'contain',
|
||||||
}}
|
}}
|
||||||
src={asset(`icons/provisions/${id}.webp`)}
|
src={asset(`icons/provisions/${id}.webp`)}
|
||||||
@@ -86,8 +87,8 @@ export function GameModeSection() {
|
|||||||
<Flex align="center" gap="1">
|
<Flex align="center" gap="1">
|
||||||
<img
|
<img
|
||||||
style={{
|
style={{
|
||||||
width: '2em',
|
width: '1.5em',
|
||||||
height: '2em',
|
height: '1.5em',
|
||||||
objectFit: 'contain',
|
objectFit: 'contain',
|
||||||
}}
|
}}
|
||||||
src={asset(`icons/consumables/${id}.webp`)}
|
src={asset(`icons/consumables/${id}.webp`)}
|
||||||
|
|||||||
Reference in new issue
Block a user