Skip to content

Commit 668614d

Browse files
committed
feat(Sponsors): 各社の画像のガタつきをなくすため、bg-whiteを追加
1 parent b3a75ba commit 668614d

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

2025/src/components/Sponsors/Company.astro

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,24 @@ if (images[imagePath]) {
3131
// ランクごとのスタイル設定
3232
const rankStyles = {
3333
platinum: {
34-
container: "mb-4 flex items-center justify-center",
35-
image: "h-28 w-auto object-contain md:h-36 lg:h-40",
34+
container:
35+
"mb-4 flex items-center justify-center bg-white p-6 rounded-lg border border-gray-100",
36+
image: "h-32 w-auto object-contain md:h-36 lg:h-40",
3637
},
3738
gold: {
38-
container: "mb-3 flex items-center justify-center",
39-
image: "h-20 w-auto object-contain md:h-24 lg:h-28",
39+
container:
40+
"mb-3 flex items-center justify-center bg-white p-6 rounded-lg border border-gray-100",
41+
image: "h-24 w-auto object-contain md:h-24 lg:h-28",
4042
},
4143
silver: {
42-
container: "mb-2 flex items-center justify-center",
43-
image: "h-14 w-auto object-contain md:h-16 lg:h-20",
44+
container:
45+
"mb-2 flex items-center justify-center bg-white p-6 rounded-lg border border-gray-100",
46+
image: "h-16 w-auto object-contain md:h-16 lg:h-20",
4447
},
4548
bronze: {
46-
container: "mb-2 flex items-center justify-center",
47-
image: "h-12 w-auto object-contain md:h-14 lg:h-16",
49+
container:
50+
"mb-2 flex items-center justify-center bg-white p-6 rounded-lg border border-gray-100",
51+
image: "h-8 w-auto object-contain md:h-14 lg:h-16",
4852
},
4953
};
5054

0 commit comments

Comments
 (0)