1717 </div >
1818 <!-- Desktop image -->
1919 <div class =" hidden md:flex justify-end -mt-72" >
20- <img
21- src =" {{ env.baseUrl }}img/landing/sponsor-sec.svg"
22- alt =" Mascot on Bicycle"
20+ <img
21+ src =" {{ env.baseUrl }}img/landing/sponsor-sec.svg"
22+ alt =" Mascot on Bicycle"
2323 class =" w-72 relative transition-all duration-300 animate-bounce-slow hover:animate-wiggle"
2424 />
2525 </div >
2626 </div >
2727 </div >
28- {# <div class="max-w-7xl mx-auto px-2 sm:px-6 pb-10 grid gap-4 sm:gap-10 text-black">
29- {% set sponsors = {
30- "PLATINUM": 3,
31- "GOLD": 5,
32- "SILVER": 5,
33- "ASSOCIATE": 2
34- } %}
35- {% for tier, count in sponsors %}
28+ <div class =" max-w-7xl mx-auto px-2 sm:px-6 pb-10 grid gap-4 sm:gap-10 text-black" >
29+ {% for tier in sponsors .tiers %}
3630 <div >
3731 <div class =" bg-white inline-block px-4 sm:px-8 py-2 font-bold text-base sm:text-lg shadow uppercase" >
38- {{ tier }}
32+ {{ tier . title }}
3933 </div >
40- <div class="grid grid-cols-5 bg-transparent overflow-x-auto">
41- {% for i in range(0, count) %}
34+ <div class =" grid grid-cols-4 bg-transparent overflow-x-auto" >
35+ {% for company in tier . companies %}
4236 <div class =" h-16 sm:h-20 bg-white border border-gray-300 flex items-center justify-center min-w-24" >
43- <span class="text-xs font-medium text-gray-400">Logo {{ i + 1 }}</span>
37+ <a href =" {{ company.link }}" target =" _blank" rel =" noopener noreferrer" >
38+ <img src =" {{ env.baseUrl }}{{ company.logo }}" alt =" {{ company.name }} - {{ company.description }}" class =" h-full object-contain p-2" >
39+ </a >
4440 </div >
4541 {% endfor %}
4642 </div >
4743 </div >
4844 {% endfor %}
49- </div> #}
50-
45+ </div >
46+
5147 <!-- Mobile image -->
5248 <div class =" md:hidden flex justify-center pb-10" >
53- <img
54- src =" {{ env.baseUrl }}img/landing/sponsor-sec.svg"
55- alt =" Mascot on Bicycle"
49+ <img
50+ src =" {{ env.baseUrl }}img/landing/sponsor-sec.svg"
51+ alt =" Mascot on Bicycle"
5652 class =" w-48 relative transition-all duration-300 animate-float"
5753 />
5854 </div >
59- </section >
55+ </section >
0 commit comments