style : weapon card
CI / Verify (push) Successful in 58s
CI / Build immutable images and deploy (push) Successful in 1m33s

This commit is contained in:
2026-08-30 07:35:43 +00:00 Unverified
parent 6e62ed6649
commit 639a5ab21c
+1 -1
View File
@@ -52,7 +52,7 @@ function WeaponSection({ guide }: { guide: PublicGuide }) {
<div className="grid gap-3">
{guide.weapons.map((row, index) => (
<Card key={row.id} size="sm" className="bg-white py-0">
<CardContent className="grid p-0 md:grid-cols-[minmax(0,3fr)_minmax(18rem,2fr)]">
<CardContent className="grid p-0 md:grid-cols-[minmax(0,3fr)_minmax(0,1fr)]">
<div className={cn("flex min-h-28 min-w-0 items-center gap-4 rounded-br-[4rem] p-4 pr-10 text-white md:rounded-br-[8rem] md:pr-16", rarityGradientClass(row.weapon.rarity))}>
<div className="relative size-20 shrink-0"><Image src={row.weapon.imageUrl} alt={row.weapon.name} fill className="object-contain" /></div>
<p className="truncate text-base font-semibold sm:text-lg">{index + 1}. {row.weapon.name} R{row.refinement}</p>