Skip to content

Commit

Permalink
Merge pull request #125 from pythoncanarias/psf-pythonesp-mover
Browse files Browse the repository at this point in the history
added logos and templates for psf,pes,eps
  • Loading branch information
jata84 authored Oct 3, 2023
2 parents 5adbf7e + 603e989 commit 335d557
Show file tree
Hide file tree
Showing 9 changed files with 70 additions and 18 deletions.
37 changes: 28 additions & 9 deletions config/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -782,10 +782,7 @@ def lookup_lang_name(lang_code):

SPONSORS = {
"teide": {
"Europython Society": {
"logo": "/theme/assets/images/sponsors/logo_europython.png",
"url": "https://www.europython-society.org/",
},

"APSL": {
"logo": "/theme/assets/images/sponsors/logo_apsl.png",
"url": "https://apsl.tech/",
Expand Down Expand Up @@ -881,22 +878,44 @@ def lookup_lang_name(lang_code):
"""


SPECIALS_CONTRIBUTORS = [
{
"name": "Europython Society",
"logo": "/theme/assets/images/sponsors/logo_europython.png",
"url": "https://www.europython-society.org/",
},
{
"name": "PSF",
"logo": "/theme/assets/images/sponsors/logo_psf.png",
"url": "https://www.python.org/psf/",
},
{
"name": "Python España",
"logo": "/theme/assets/images/sponsors/logo_python_esp.png",
"url": "https://es.python.org/",
},
]



CONTRIBUTORS = [
{
"name": "PCTT",
"logo": "/theme/assets/images/sponsors/logo_pctt.png",
"url": "https://pctt.es/",
},
{
"name": "Cabildo Tenerife",
"logo": "/theme/assets/images/sponsors/logo_cabildo.png",
"url": "https://www.tenerife.es/portalcabtfe/es/",
},
{
"name": "Tenerife Innova",
"logo": "/theme/assets/images/sponsors/logo_tenerifeinnova.png",
"url": "https://innova.tenerife.es/",
},
{
"name": "Cabildo Tenerife",
"logo": "/theme/assets/images/sponsors/logo_cabildo.png",
"url": "https://www.tenerife.es/portalcabtfe/es/",
},

{
"name": "FDCAN",
"logo": "/theme/assets/images/sponsors/logo_ecan.png",
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 21 additions & 9 deletions theme/pycones23/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,27 @@ <h2 class="subtitle">Patrocinios</h1>
Con la ayuda de estas empresas conseguimos hacer un evento diverso
e inclusivo enfocado en cuidar la comunidad de Python.
</p>


<div class="title-badge">
<span style="font-size: 1.5em;"></span>Comunidades Patrocinadoras
</div>

<div class="special-grid sponsors-grid">

{% for contributor in SPECIALS_CONTRIBUTORS %}
<div class="card">
<a href={{ contributor.url }}>
<figure class="sponsor-figure">
<img src="{{ SITEURL }}{{ contributor.logo }}" alt="Logo {{ contributor.name }}" />
</figure>
</a>
</div>
{% endfor %}

</div>


{% for level, sponsors in SPONSORS.items() %}
{% if sponsors %}
<div class="title-badge">
Expand Down Expand Up @@ -132,15 +153,6 @@ <h2 class="subtitle">Patrocinios</h1>
</div>


<!-- PSF -->
<div class="card">
<a href="https://www.python.org/psf-landing/">
<figure class="sponsor-figure special">
<img src="{{ SITEURL }}/theme/assets/images/sponsors/logo_psf.svg" alt="Logo psf" />
</figure>
</a>
</div>

</div>


Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions theme/pycones23_en/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,27 @@ <h2 class="subtitle">Sponsors</h1>
With the help of these companies we managed to make a diverse and inclusive
event focused on taking care of the Python community.
</p>

<div class="title-badge">
<span style="font-size: 1.5em;"></span>Sponsoring Communities
</div>

<div class="special-grid sponsors-grid">

{% for contributor in SPECIALS_CONTRIBUTORS %}
<div class="card">
<a href={{ contributor.url }}>
<figure class="sponsor-figure">
<img src="{{ SITEURL }}{{ contributor.logo }}" alt="Logo {{ contributor.name }}" />
</figure>
</a>
</div>
{% endfor %}

</div>



{% for level, sponsors in SPONSORS.items() %}
{% if sponsors %}
<div class="title-badge">
Expand Down

0 comments on commit 335d557

Please sign in to comment.