|
4 | 4 | .sponsor-card-overlay { |
5 | 5 | backdrop-filter: blur(8px); |
6 | 6 | -webkit-backdrop-filter: blur(8px); |
7 | | - pointer-events: none; |
8 | 7 | } |
9 | 8 | .sponsor-logo-blur { |
10 | 9 | transition: filter 0.3s ease, opacity 0.3s ease; |
@@ -76,7 +75,7 @@ <h3 class="text-2xl font-bold mb-8 uppercase font-bantayog font-bantayog text-br |
76 | 75 | {% endif %} |
77 | 76 | {% if sponsor.info %} |
78 | 77 | <div class="sponsor-card-overlay absolute inset-0 flex items-center justify-center p-4 bg-offwhite-3/85 opacity-0 group-hover:opacity-100 transition-opacity duration-300 z-10 rounded-lg"> |
79 | | - <p class="text-sm text-center font-nunito" style="color: #7c5e3b">{{ sponsor.info }}</p> |
| 78 | + <p class="text-sm text-center font-nunito overflow-y-auto h-[100%]" style="color: #7c5e3b">{{ sponsor.info }}</p> |
80 | 79 | </div> |
81 | 80 | {% endif %} |
82 | 81 | </div> |
@@ -114,7 +113,7 @@ <h3 class="text-2xl font-bold mb-8 uppercase font-bantayog font-bantayog text-br |
114 | 113 | {% endif %} |
115 | 114 | {% if sponsor.info %} |
116 | 115 | <div class="sponsor-card-overlay absolute inset-0 flex items-center justify-center p-4 bg-offwhite-3/85 opacity-0 group-hover:opacity-100 transition-opacity duration-300 z-10 rounded-lg"> |
117 | | - <p class="text-sm text-center font-nunito" style="color: #7c5e3b">{{ sponsor.info }}</p> |
| 116 | + <p class="text-sm text-center font-nunito overflow-y-auto h-[100%]" style="color: #7c5e3b">{{ sponsor.info }}</p> |
118 | 117 | </div> |
119 | 118 | {% endif %} |
120 | 119 | </div> |
@@ -152,7 +151,7 @@ <h3 class="text-2xl font-bold mb-8 uppercase font-bantayog font-bantayog text-br |
152 | 151 | {% endif %} |
153 | 152 | {% if sponsor.info %} |
154 | 153 | <div class="sponsor-card-overlay absolute inset-0 flex items-center justify-center p-4 bg-offwhite-3/85 opacity-0 group-hover:opacity-100 transition-opacity duration-300 z-10 rounded-lg"> |
155 | | - <p class="text-sm text-center font-nunito" style="color: #7c5e3b">{{ sponsor.info }}</p> |
| 154 | + <p class="text-sm text-center font-nunito overflow-y-auto h-[100%]" style="color: #7c5e3b">{{ sponsor.info }}</p> |
156 | 155 | </div> |
157 | 156 | {% endif %} |
158 | 157 | </div> |
@@ -190,7 +189,7 @@ <h3 class="text-2xl font-bold mb-8 uppercase font-bantayog font-bantayog text-br |
190 | 189 | {% endif %} |
191 | 190 | {% if sponsor.info %} |
192 | 191 | <div class="sponsor-card-overlay absolute inset-0 flex items-center justify-center p-4 bg-offwhite-3/85 opacity-0 group-hover:opacity-100 transition-opacity duration-300 z-10 rounded-lg"> |
193 | | - <p class="text-sm text-center font-nunito" style="color: #7c5e3b">{{ sponsor.info }}</p> |
| 192 | + <p class="text-sm text-center font-nunito overflow-y-auto h-[100%]" style="color: #7c5e3b">{{ sponsor.info }}</p> |
194 | 193 | </div> |
195 | 194 | {% endif %} |
196 | 195 | </div> |
@@ -227,7 +226,7 @@ <h3 class="text-2xl font-bold mb-8 uppercase font-bantayog font-bantayog text-br |
227 | 226 | {% endif %} |
228 | 227 | {% if sponsor.info %} |
229 | 228 | <div class="sponsor-card-overlay absolute inset-0 flex items-center justify-center p-4 bg-offwhite-3/85 opacity-0 group-hover:opacity-100 transition-opacity duration-300 z-10 rounded-lg"> |
230 | | - <p class="text-sm text-center font-nunito" style="color: #7c5e3b">{{ sponsor.info }}</p> |
| 229 | + <p class="text-sm text-center font-nunito overflow-y-auto h-[100%]" style="color: #7c5e3b">{{ sponsor.info }}</p> |
231 | 230 | </div> |
232 | 231 | {% endif %} |
233 | 232 | </div> |
@@ -264,7 +263,7 @@ <h3 class="text-2xl font-bold mb-8 uppercase font-bantayog font-bantayog text-br |
264 | 263 | {% endif %} |
265 | 264 | {% if sponsor.info %} |
266 | 265 | <div class="sponsor-card-overlay absolute inset-0 flex items-center justify-center p-4 bg-offwhite-3/85 opacity-0 group-hover:opacity-100 transition-opacity duration-300 z-10 rounded-lg"> |
267 | | - <p class="text-sm text-center font-nunito" style="color: #7c5e3b">{{ sponsor.info }}</p> |
| 266 | + <p class="text-sm text-center font-nunito overflow-y-auto h-[100%]" style="color: #7c5e3b">{{ sponsor.info }}</p> |
268 | 267 | </div> |
269 | 268 | {% endif %} |
270 | 269 | </div> |
@@ -302,7 +301,7 @@ <h3 class="text-2xl font-bold mb-8 uppercase font-bantayog font-bantayog text-br |
302 | 301 | {% endif %} |
303 | 302 | {% if sponsor.info %} |
304 | 303 | <div class="sponsor-card-overlay absolute inset-0 flex items-center justify-center p-4 bg-offwhite-3/85 opacity-0 group-hover:opacity-100 transition-opacity duration-300 z-10 rounded-lg"> |
305 | | - <p class="text-sm text-center font-nunito" style="color: #7c5e3b">{{ sponsor.info }}</p> |
| 304 | + <p class="text-sm text-center font-nunito overflow-y-auto h-[100%]" style="color: #7c5e3b">{{ sponsor.info }}</p> |
306 | 305 | </div> |
307 | 306 | {% endif %} |
308 | 307 | </div> |
@@ -340,7 +339,7 @@ <h3 class="text-2xl font-bold mb-8 uppercase font-bantayog font-bantayog text-br |
340 | 339 | {% endif %} |
341 | 340 | {% if sponsor.info %} |
342 | 341 | <div class="sponsor-card-overlay absolute inset-0 flex items-center justify-center p-4 bg-offwhite-3/85 opacity-0 group-hover:opacity-100 transition-opacity duration-300 z-10 rounded-lg"> |
343 | | - <p class="text-sm text-center font-nunito" style="color: #7c5e3b">{{ sponsor.info }}</p> |
| 342 | + <p class="text-sm text-center font-nunito overflow-y-auto h-[100%]" style="color: #7c5e3b">{{ sponsor.info }}</p> |
344 | 343 | </div> |
345 | 344 | {% endif %} |
346 | 345 | </div> |
@@ -378,13 +377,52 @@ <h3 class="text-2xl font-bold mb-8 uppercase font-bantayog font-bantayog text-br |
378 | 377 | {% endif %} |
379 | 378 | {% if sponsor.info %} |
380 | 379 | <div class="sponsor-card-overlay absolute inset-0 flex items-center justify-center p-4 bg-offwhite-3/85 opacity-0 group-hover:opacity-100 transition-opacity duration-300 z-10 rounded-lg"> |
381 | | - <p class="text-sm text-center font-nunito" style="color: #7c5e3b">{{ sponsor.info }}</p> |
| 380 | + <p class="text-sm text-center font-nunito overflow-y-auto h-[100%]" style="color: #7c5e3b">{{ sponsor.info }}</p> |
382 | 381 | </div> |
383 | 382 | {% endif %} |
384 | 383 | </div> |
385 | 384 | {% endfor %} |
386 | 385 | </div> |
387 | 386 | </div> |
| 387 | + {% elif sponsor_type_key == "ACADEMIC_PARTNER" %} |
| 388 | + <div class="mb-16"> |
| 389 | + <h3 class="text-2xl font-bold mb-8 uppercase font-bantayog" |
| 390 | + style="color: #7c5e3b">Academic Partner</h3> |
| 391 | + <div class="grid grid-cols-1 sm:grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 items-center"> |
| 392 | + {% for sponsor in sponsors %} |
| 393 | + <div class="{% if sponsor.info %}sponsor-card-container group{% endif %} relative flex h-48 items-center justify-center overflow-hidden rounded-lg bg-offwhite-3 p-8 {% if sponsor.info %}cursor-pointer{% endif %}"> |
| 394 | + {% if sponsor.is_pao_connected %} |
| 395 | + <img |
| 396 | + src="/static/img/vectors/pao-ribbon.svg" |
| 397 | + alt="PAO Ribbon" |
| 398 | + class="sponsor-pao-ribbon absolute top-0 right-[20px] w-[50px] z-20" |
| 399 | + > |
| 400 | + {% endif %} |
| 401 | + {% if sponsor.website_url %} |
| 402 | + <a href="{{ sponsor.website_url }}" |
| 403 | + target="_blank" |
| 404 | + rel="noopener noreferrer" |
| 405 | + class="w-full h-full flex items-center justify-center"> |
| 406 | + <img src="{{ sponsor.logo_url }}" |
| 407 | + alt="{{ sponsor.name }}" |
| 408 | + class="sponsor-logo-blur max-w-full max-h-32 object-contain" |
| 409 | + width="256" height="128" /> |
| 410 | + </a> |
| 411 | + {% else %} |
| 412 | + <img src="{{ sponsor.logo_url }}" |
| 413 | + alt="{{ sponsor.name }}" |
| 414 | + class="sponsor-logo-blur max-w-full max-h-32 object-contain" |
| 415 | + width="256" height="128" /> |
| 416 | + {% endif %} |
| 417 | + {% if sponsor.info %} |
| 418 | + <div class="sponsor-card-overlay absolute inset-0 flex items-center justify-center p-4 bg-offwhite-3/85 opacity-0 group-hover:opacity-100 transition-opacity duration-300 z-10 rounded-lg"> |
| 419 | + <p class="text-sm text-center font-nunito overflow-y-auto h-[100%]" style="color: #7c5e3b">{{ sponsor.info }}</p> |
| 420 | + </div> |
| 421 | + {% endif %} |
| 422 | + </div> |
| 423 | + {% endfor %} |
| 424 | + </div> |
| 425 | + </div> |
388 | 426 | {% elif sponsor_type_key == "WELLNESS_PARTNER" %} |
389 | 427 | <div class="mb-16"> |
390 | 428 | <h3 class="text-2xl font-bold mb-8 uppercase font-bantayog" |
@@ -417,7 +455,7 @@ <h3 class="text-2xl font-bold mb-8 uppercase font-bantayog font-bantayog text-br |
417 | 455 | {% endif %} |
418 | 456 | {% if sponsor.info %} |
419 | 457 | <div class="sponsor-card-overlay absolute inset-0 flex items-center justify-center p-4 bg-offwhite-3/85 opacity-0 group-hover:opacity-100 transition-opacity duration-300 z-10 rounded-lg"> |
420 | | - <p class="text-sm text-center font-nunito" style="color: #7c5e3b">{{ sponsor.info }}</p> |
| 458 | + <p class="text-sm text-center font-nunito overflow-y-auto h-[100%]" style="color: #7c5e3b">{{ sponsor.info }}</p> |
421 | 459 | </div> |
422 | 460 | {% endif %} |
423 | 461 | </div> |
@@ -456,7 +494,7 @@ <h3 class="text-2xl font-bold mb-8 uppercase font-bantayog font-bantayog text-br |
456 | 494 | {% endif %} |
457 | 495 | {% if sponsor.info %} |
458 | 496 | <div class="sponsor-card-overlay absolute inset-0 flex items-center justify-center p-4 bg-offwhite-3/85 opacity-0 group-hover:opacity-100 transition-opacity duration-300 z-10 rounded-lg"> |
459 | | - <p class="text-sm text-center font-nunito" style="color: #7c5e3b">{{ sponsor.info }}</p> |
| 497 | + <p class="text-sm text-center font-nunito overflow-y-auto h-[100%]" style="color: #7c5e3b">{{ sponsor.info }}</p> |
460 | 498 | </div> |
461 | 499 | {% endif %} |
462 | 500 | </div> |
@@ -495,13 +533,14 @@ <h3 class="text-2xl font-bold mb-8 uppercase font-bantayog font-bantayog text-br |
495 | 533 | {% endif %} |
496 | 534 | {% if sponsor.info %} |
497 | 535 | <div class="sponsor-card-overlay absolute inset-0 flex items-center justify-center p-4 bg-offwhite-3/85 opacity-0 group-hover:opacity-100 transition-opacity duration-300 z-10 rounded-lg"> |
498 | | - <p class="text-sm text-center font-nunito" style="color: #7c5e3b">{{ sponsor.info }}</p> |
| 536 | + <p class="text-sm text-center font-nunito overflow-y-auto h-[100%]" style="color: #7c5e3b">{{ sponsor.info }}</p> |
499 | 537 | </div> |
500 | 538 | {% endif %} |
501 | 539 | </div> |
502 | 540 | {% endfor %} |
503 | 541 | </div> |
504 | 542 | </div> |
| 543 | + |
505 | 544 | {% endif %} |
506 | 545 | {% endfor %} |
507 | 546 | </div> |
|
0 commit comments