Skip to content

Commit ac342f4

Browse files
committed
refactor: improve responsive
1 parent 4d9b16a commit ac342f4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/home/SectionSponsors.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const main = filterSponsorsByTier('main')
3131
<SectionTitle title={t['sponsors.title']} />
3232
<TextBox text={t['sponsors.description']} />
3333

34-
<div class="flex flex-col w-full gap-8">
34+
<div class="w-full grid grid-cols-1 gap-8 lg:grid-cols-2">
3535
<SponsorsGroup lang={lang} title={t['sponsors.main']} sponsors={main} tierId="main" />
3636
<SponsorsGroup lang={lang} title={t['sponsors.platinum']} sponsors={platinum} tierId="platinum" />
3737
<SponsorsGroup lang={lang} title={t['sponsors.gold']} sponsors={gold} tierId="gold" />

src/components/home/sponsors/SponsorsGroup.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const IMG_WITH_BY_TIER: Record<TSponsorTier, number> = {
2424
---
2525

2626
<div>
27-
<h4 style={`background-color: ${hexToRgba(TIER_COLORS[tierId], 0.2)};`} class="p-2">{title}</h4>
27+
<h4 style={`background-color: ${hexToRgba(TIER_COLORS[tierId], 0.4)};`} class="p-2">{title}</h4>
2828
{
2929
sponsors.length > 0 ? (
3030
<div class="flex flex-wrap gap-4 mt-4">

0 commit comments

Comments
 (0)