Skip to content

Commit 603e989

Browse files
committed
added logos and templates for psf,pes,eps
1 parent 5adbf7e commit 603e989

File tree

9 files changed

+70
-18
lines changed

9 files changed

+70
-18
lines changed

config/web.py

Lines changed: 28 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -782,10 +782,7 @@ def lookup_lang_name(lang_code):
782782

783783
SPONSORS = {
784784
"teide": {
785-
"Europython Society": {
786-
"logo": "/theme/assets/images/sponsors/logo_europython.png",
787-
"url": "https://www.europython-society.org/",
788-
},
785+
789786
"APSL": {
790787
"logo": "/theme/assets/images/sponsors/logo_apsl.png",
791788
"url": "https://apsl.tech/",
@@ -881,22 +878,44 @@ def lookup_lang_name(lang_code):
881878
882879
"""
883880

881+
882+
SPECIALS_CONTRIBUTORS = [
883+
{
884+
"name": "Europython Society",
885+
"logo": "/theme/assets/images/sponsors/logo_europython.png",
886+
"url": "https://www.europython-society.org/",
887+
},
888+
{
889+
"name": "PSF",
890+
"logo": "/theme/assets/images/sponsors/logo_psf.png",
891+
"url": "https://www.python.org/psf/",
892+
},
893+
{
894+
"name": "Python España",
895+
"logo": "/theme/assets/images/sponsors/logo_python_esp.png",
896+
"url": "https://es.python.org/",
897+
},
898+
]
899+
900+
901+
884902
CONTRIBUTORS = [
885903
{
886904
"name": "PCTT",
887905
"logo": "/theme/assets/images/sponsors/logo_pctt.png",
888906
"url": "https://pctt.es/",
907+
},
908+
{
909+
"name": "Cabildo Tenerife",
910+
"logo": "/theme/assets/images/sponsors/logo_cabildo.png",
911+
"url": "https://www.tenerife.es/portalcabtfe/es/",
889912
},
890913
{
891914
"name": "Tenerife Innova",
892915
"logo": "/theme/assets/images/sponsors/logo_tenerifeinnova.png",
893916
"url": "https://innova.tenerife.es/",
894917
},
895-
{
896-
"name": "Cabildo Tenerife",
897-
"logo": "/theme/assets/images/sponsors/logo_cabildo.png",
898-
"url": "https://www.tenerife.es/portalcabtfe/es/",
899-
},
918+
900919
{
901920
"name": "FDCAN",
902921
"logo": "/theme/assets/images/sponsors/logo_ecan.png",
-30.5 KB
Loading
24 KB
Loading
10.2 KB
Loading

theme/pycones23/templates/index.html

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,27 @@ <h2 class="subtitle">Patrocinios</h1>
8888
Con la ayuda de estas empresas conseguimos hacer un evento diverso
8989
e inclusivo enfocado en cuidar la comunidad de Python.
9090
</p>
91+
92+
93+
<div class="title-badge">
94+
<span style="font-size: 1.5em;"></span>Comunidades Patrocinadoras
95+
</div>
96+
97+
<div class="special-grid sponsors-grid">
98+
99+
{% for contributor in SPECIALS_CONTRIBUTORS %}
100+
<div class="card">
101+
<a href={{ contributor.url }}>
102+
<figure class="sponsor-figure">
103+
<img src="{{ SITEURL }}{{ contributor.logo }}" alt="Logo {{ contributor.name }}" />
104+
</figure>
105+
</a>
106+
</div>
107+
{% endfor %}
108+
109+
</div>
110+
111+
91112
{% for level, sponsors in SPONSORS.items() %}
92113
{% if sponsors %}
93114
<div class="title-badge">
@@ -132,15 +153,6 @@ <h2 class="subtitle">Patrocinios</h1>
132153
</div>
133154

134155

135-
<!-- PSF -->
136-
<div class="card">
137-
<a href="https://www.python.org/psf-landing/">
138-
<figure class="sponsor-figure special">
139-
<img src="{{ SITEURL }}/theme/assets/images/sponsors/logo_psf.svg" alt="Logo psf" />
140-
</figure>
141-
</a>
142-
</div>
143-
144156
</div>
145157

146158

61.8 KB
Loading
24 KB
Loading
10.2 KB
Loading

theme/pycones23_en/templates/index.html

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,27 @@ <h2 class="subtitle">Sponsors</h1>
8686
With the help of these companies we managed to make a diverse and inclusive
8787
event focused on taking care of the Python community.
8888
</p>
89+
90+
<div class="title-badge">
91+
<span style="font-size: 1.5em;"></span>Sponsoring Communities
92+
</div>
93+
94+
<div class="special-grid sponsors-grid">
95+
96+
{% for contributor in SPECIALS_CONTRIBUTORS %}
97+
<div class="card">
98+
<a href={{ contributor.url }}>
99+
<figure class="sponsor-figure">
100+
<img src="{{ SITEURL }}{{ contributor.logo }}" alt="Logo {{ contributor.name }}" />
101+
</figure>
102+
</a>
103+
</div>
104+
{% endfor %}
105+
106+
</div>
107+
108+
109+
89110
{% for level, sponsors in SPONSORS.items() %}
90111
{% if sponsors %}
91112
<div class="title-badge">

0 commit comments

Comments
 (0)