|
1 | 1 | {% from "components/button.njk" import button %}
|
| 2 | +{% from "components/billboard.njk" import billboard %} |
2 | 3 |
|
3 |
| -<div class="bg-pycon-blue w-full space-y-6 py-16 px-4 sm:px-20 md:px-40 -mt-1"> |
4 |
| - <div class="flex justify-between w-full items-center"> |
5 |
| - <h1 class="text-white text-4xl sm:text-5xl font-extrabold leading-tight"> |
6 |
| - PYCON <br/> |
7 |
| - <span class="text-white">INDIA 2025</span> |
8 |
| - </h1> |
9 |
| - <div class="relative whitespace-nowrap"> |
10 |
| - <div class="relative z-10 text-blue-600 font-semibold px-6 sm:px-8 py-6 sm:py-8 text-xl sm:text-2xl"> |
11 |
| - 12 Sep - 15 Sep |
12 |
| - </div> |
13 |
| - <img src="{{ env.baseUrl }}img/assets/date-display.svg" alt="Date background" class="absolute inset-0 w-full h-full z-0"> |
14 |
| - <div class="absolute -bottom-8 -right-4"> |
15 |
| - <img src="{{ env.baseUrl }}img/assets/star-lime-vector.svg" alt="Groovy star" class="w-12 h-12"> |
16 |
| - </div> |
| 4 | +{% set events = event_schedule %} |
| 5 | + |
| 6 | +<div class="bg-pycon-blue w-full py-16 px-4 sm:px-20 md:px-40 -mt-1 flex flex-col md:flex-row gap-2 justify-between"> |
| 7 | + <div class="w-full"> |
| 8 | + <div class="flex justify-between w-full items-center"> |
| 9 | + <h1 class="text-white text-4xl sm:text-5xl font-extrabold leading-tight"> |
| 10 | + PYCON <br/> |
| 11 | + <span class="text-white">INDIA 2025</span> |
| 12 | + </h1> |
| 13 | + </div> |
| 14 | + <p class="text-white text-md sm:text-lg max-w-xl leading-relaxed"> |
| 15 | + PyCon India 2025 is the premier conference for Python enthusiasts and professionals, offering an unparalleled |
| 16 | + opportunity to dive deep into the world of Python and explore its limitless potential. Stay tuned for updates! |
| 17 | + </p> |
| 18 | + <div class="flex flex-wrap gap-4"> |
| 19 | + {{ button(text="Get Tickets", url=env.baseUrl + "tickets", lime_bg=true)}} |
| 20 | + {{ button(text="View Schedule", url=env.baseUrl + "program/schedule", lime_bg=true)}} |
17 | 21 | </div>
|
18 | 22 | </div>
|
19 |
| - <p class="text-white text-md sm:text-lg max-w-xl leading-relaxed"> |
20 |
| - PyCon India 2025 is the premier conference for Python enthusiasts and professionals, offering an unparalleled |
21 |
| - opportunity to dive deep into the world of Python and explore its limitless potential. Stay tuned for updates! |
22 |
| - </p> |
23 |
| - <div class="flex flex-wrap gap-4"> |
24 |
| - {{ button(text="Get Tickets", url=env.baseUrl + "tickets", lime_bg=true)}} |
25 |
| - {{ button(text="View Schedule", url=env.baseUrl + "program/schedule", lime_bg=true)}} |
| 23 | + <div class="grid w-full grid-cols-1 gap-x-1 gap-y-2 lg:grid-cols-12 lg:auto-rows-auto"> |
| 24 | + <div class="pb-2 lg:row-start-1 lg:col-start-2 lg:col-end-12 xl:col-start-3 xl:col-end-11"> |
| 25 | + {% call billboard(theme="", title=events.summary.title) -%} |
| 26 | + {%- endcall %} |
| 27 | + </div> |
| 28 | + <div class="lg:row-start-2 lg:col-start-1 lg:col-end-9 xl:col-start-1 xl:col-end-7"> |
| 29 | + {% call billboard(theme=events.workshop.theme, title=events.workshop.title, body=events.workshop.body) -%} |
| 30 | + {%- endcall %} |
| 31 | + </div> |
| 32 | + <div class="relative overflow-visible lg:row-start-2 lg:col-start-9 lg:col-end-13"> |
| 33 | + <img |
| 34 | + src="{{ env.baseUrl }}img/assets/timeline.svg" |
| 35 | + alt="Calendar" |
| 36 | + class="absolute bottom-0 right-0 hidden w-full translate-x-8 translate-y-2 max-h-[140px] object-contain pointer-events-none lg:block z-0" |
| 37 | + /> |
| 38 | + </div> |
| 39 | + <div class="lg:row-start-3 lg:col-start-3 lg:col-end-11 xl:col-start-4 xl:col-end-10"> |
| 40 | + {% call billboard(theme=events.conference.theme, title=events.conference.title, body=events.conference.body) -%} |
| 41 | + {%- endcall %} |
| 42 | + </div> |
| 43 | + <div class="lg:row-start-4 lg:col-start-5 lg:col-end-13 xl:col-start-7 xl:col-end-13"> |
| 44 | + {% call billboard(theme=events.devsprint.theme, title=events.devsprint.title, body=events.devsprint.body) -%} |
| 45 | + {%- endcall %} |
| 46 | + </div> |
26 | 47 | </div>
|
27 | 48 | </div>
|
0 commit comments