Skip to content

Commit 357541e

Browse files
authored
fix: responsive of seniority section (#62)
Este PR corrige el responsivo para la sección de seniority. Antes: <img width="446" height="340" alt="image" src="https://github.com/user-attachments/assets/0e0df782-98cf-4bc6-babb-945f814abc1f" /> Ahora: <img width="423" height="436" alt="image" src="https://github.com/user-attachments/assets/988aad6f-4b1c-4601-97ce-fb91998a3439" /> Fixes #60
1 parent 9313294 commit 357541e

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

src/pages/[lang]/sponsors.astro

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,17 +164,18 @@ const {
164164
<div class="bg-[#111] p-8 rounded-lg border border-[#333] mb-6">
165165
<h3 class="mb-6 font-mono text-white">{audience.seniority}</h3>
166166

167-
<div class="flex w-full h-12 rounded-md overflow-hidden mb-4">
168-
<div class="w-[20%] bg-gray-700 text-gray-300 grid place-items-center text-xs font-bold">
167+
<div class="grid grid-cols-1 w-full rounded-md mb-4 sm:grid-cols-3">
168+
<div class="bg-gray-700 text-gray-300 text-xs font-bold rounded-tl rounded-bl flex items-center justify-center py-4">
169169
🌱 JUNIOR 20%
170170
</div>
171-
<div class="w-[60%] bg-green-400 text-black grid place-items-center text-sm font-bold">
171+
<div class="bg-green-400 text-black text-sm font-bold flex items-center justify-center py-4">
172172
🚀 SENIOR / PRO 60%
173173
</div>
174-
<div class="w-[20%] bg-gray-700 text-gray-300 grid place-items-center text-xs font-bold">
174+
<div class="bg-gray-700 text-gray-300 text-xs font-bold rounded-tr rounded-br flex items-center justify-center py-4">
175175
🧠 EXPERT 20%
176176
</div>
177177
</div>
178+
178179
<p class="text-center text-gray-400 italic">
179180
{audience.quote}
180181
</p>

0 commit comments

Comments
 (0)