Skip to content

Commit 272db24

Browse files
committed
feat: make sponsors dynamic
1 parent 26d4eb3 commit 272db24

File tree

5 files changed

+317
-229
lines changed

5 files changed

+317
-229
lines changed

app/home/templates/home/index.html

Lines changed: 41 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,46 @@
11
{% extends "base.html" %}
22
{% load static %}
33
{% block content %}
4-
<main>
5-
<div class="min-h-screen"
6-
style="background-image: url('{% static 'img/background.png' %}')">
7-
<!-- Navbar -->
8-
{% include "home/components/navbar.html" %}
9-
10-
<!-- Hero Section -->
11-
{% include "home/sections/hero-section.html" %}
12-
13-
<div class="w-full py-0 my-0 z-10 -mb-25 hidden xl:block cstm_break mt-[-9vw]">
14-
<img src="{% static 'img/vectors/section-break-1.svg' %}"
15-
alt="Section Break"
16-
class="w-full block">
4+
<main>
5+
<div class="min-h-screen"
6+
style="background-image: url('{% static 'img/background.png' %}')">
7+
<!-- Navbar -->
8+
{% include "home/components/navbar.html" %}
9+
<!-- Hero Section -->
10+
{% include "home/sections/hero-section.html" %}
11+
<div class="w-full py-0 my-0 z-10 -mb-25 hidden xl:block cstm_break mt-[-9vw]">
12+
<img src="{% static 'img/vectors/section-break-1.svg' %}"
13+
alt="Section Break"
14+
class="w-full block">
15+
</div>
16+
<!-- About Us Section -->
17+
{% include "home/sections/about-us.html" %}
18+
<!-- Section Break -->
19+
<div class="w-full py-0 my-0 z-10 -mt-25 cstm_break about-us_break">
20+
<img src="{% static 'img/vectors/section-break-2.svg' %}"
21+
alt="Section Break"
22+
class="w-full block">
23+
</div>
24+
<!-- Conference at a Glance Section -->
25+
{% include "home/sections/conference-at-a-glance.html" %}
26+
<!-- Why Python Section -->
27+
{% include "home/sections/why-python.html" %}
28+
<!-- Call For X -->
29+
{% include "home/sections/call-for-x.html" %}
30+
<!-- What is PyCon Section -->
31+
{% comment%}{% include "home/sections/what-is-python-asia.html" %}{% endcomment%}
32+
<!-- Speakers Section -->
33+
{% include "home/sections/speakers-section.html" %}
34+
<!-- Announcement Section -->
35+
{% comment%}{% include "home/sections/announcement-section.html" %}{% endcomment%}
36+
<!-- When? Where? Section -->
37+
{% include "home/sections/when-where-section.html" %}
38+
<!-- Sponsors Section -->
39+
{% include "home/sections/sponsor-section.html" %}
40+
<!-- Code of Conduct Section -->
41+
{% include "home/sections/code-of-conduct.html" %}
42+
<!-- Footer Section -->
43+
{% include "home/sections/footer.html" %}
1744
</div>
18-
<!-- About Us Section -->
19-
{% include "home/sections/about-us.html" %}
20-
<!-- Section Break -->
21-
<div class="w-full py-0 my-0 z-10 -mt-25 cstm_break about-us_break">
22-
<img src="{% static 'img/vectors/section-break-2.svg' %}"
23-
alt="Section Break"
24-
class="w-full block">
25-
</div>
26-
<!-- Conference at a Glance Section -->
27-
{% include "home/sections/conference-at-a-glance.html" %}
28-
<!-- Why Python Section -->
29-
{% include "home/sections/why-python.html" %}
30-
<!-- Call For X -->
31-
{% include "home/sections/call-for-x.html" %}
32-
<!-- What is PyCon Section -->
33-
{% comment%}{% include "home/sections/what-is-python-asia.html" %}{% endcomment%}
34-
<!-- Speakers Section -->
35-
{% include "home/sections/speakers-section.html" %}
36-
<!-- Announcement Section -->
37-
{% comment%}{% include "home/sections/announcement-section.html" %}{% endcomment%}
38-
<!-- When? Where? Section -->
39-
{% include "home/sections/when-where-section.html" %}
40-
<!-- Sponsors Section -->
41-
{% comment %}{% include "home/sections/sponsor-section.html" %}{% endcomment %}
42-
<!-- Code of Conduct Section -->
43-
{% include "home/sections/code-of-conduct.html" %}
44-
<!-- Footer Section -->
45-
{% include "home/sections/footer.html" %}
46-
</div>
47-
</main>
45+
</main>
4846
{% endblock %}

0 commit comments

Comments
 (0)