Skip to content

Commit 0f2ff7b

Browse files
authored
208 update next events date (#209)
* security: temporarily hide compromised X icon and update LinkedIn company URL * data: add September Meetup and fix PyCon Chile 2026 date and website URL * style: improve event cards layout, fix mobile responsive grid and add object-fit contain * style(home): add vertical spacing above upcoming event title for better layout balance * refactor(events): remove old registro variable and implement clean meetup and url logic * docs(footer): update copyright year range to 2026 * style(events): fix alignment and adjust top spacing specifically for the introduction section * chore: restore X social link after account recovery * data: add viewer count to September Meetup card
1 parent 0d65c0f commit 0f2ff7b

10 files changed

Lines changed: 44 additions & 21 deletions

File tree

‎objects/events/_2024.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
{
6767
'type': 'PyCon Chile',
6868
'track': '2024 Auditorio',
69+
'city': 'Santiago',
6970
'date': date(2024, 11, 30),
7071
'youtube': 'c1aCTyExabM',
7172
'viewers': 603,
@@ -75,6 +76,7 @@
7576
{
7677
'type': 'PyCon Chile',
7778
'track': '2024 Laboratorios',
79+
'city': 'Santiago',
7880
'date': date(2024, 11, 30),
7981
'workshops': 8
8082
},

‎objects/events/_2025.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@
7878
{
7979
'type': 'Meetup',
8080
'track': 'Noviembre 2025',
81+
'city': 'Santiago',
8182
'date': date(2025, 11, 11),
8283
'talks': 2,
8384
'meetup': 311855939,

‎objects/events/_2026.py‎

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,21 @@
5151
'talks': 1,
5252
'meetup': 316161132
5353
},
54+
{
55+
'type': 'Meetup',
56+
'track': 'Septiembre 2026',
57+
'date': date(2026, 9, 23),
58+
'youtube': 'CDZbDjkXPdo',
59+
'viewers': 222,
60+
'talks': 1,
61+
'meetup': 316547611
62+
},
5463
{
5564
'type': 'PyCon Chile',
5665
'track': '2026 Santiago',
5766
'city': 'Santiago',
58-
'date': date(2026, 11, 7),
59-
'image': 'images/pycon2026/anuncio-pycon.webp'
67+
'date': date(2026, 11, 14),
68+
'image': 'images/pycon2026/anuncio-pycon.webp',
69+
'url': "https://pycon.cl"
6070
},
6171
]

‎pelicanconf.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@
9595
"url": "https://www.facebook.com/groups/pythonchiledev/",
9696
},
9797
"twitter": {
98-
"alt": "Twitter",
99-
"icon": "fa-x-twitter",
100-
"url": "https://x.com/pythonchiledev",
98+
"alt": "Twitter",
99+
"icon": "fa-x-twitter",
100+
"url": "https://x.com/pythonchiledev",
101101
},
102102
"instagram": {
103103
"alt": "Instagram",
@@ -112,7 +112,7 @@
112112
"linkedin": {
113113
"alt": "LinkedIn",
114114
"icon": "fa-linkedin",
115-
"url": "https://www.linkedin.com/groups/4929519/",
115+
"url": "https://cl.linkedin.com/company/pythonchiledev",
116116
},
117117
"youtube": {
118118
"alt": "YouTube",

‎pycltheme/static/css/cl.css‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,8 @@ ul.navbar-nav {
613613
.evento-proximo-media img {
614614
width: 100%;
615615
height: 100%;
616-
object-fit: cover;
616+
object-fit: contain;
617+
background-color: #0f172a;
617618
display: block;
618619
}
619620
.evento-proximo-media-icono {
@@ -778,6 +779,7 @@ ul.navbar-nav {
778779
.eventos-intro {
779780
max-width: 820px;
780781
margin: 0 auto 2.5rem;
782+
text-align: left;
781783
}
782784
.eventos-intro > p {
783785
font-size: 1.05rem;

‎pycltheme/templates/evento-proximo-compacto.html‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@ <h5>{{ event.type }} {{ event.track }}</h5>
1010
<i class="far fa-calendar-alt"></i> {{ event.date_display }}
1111
{% if event.city %} · {{ event.city }}{% endif %}
1212
</p>
13-
{% if event.registro %}
14-
<a class="evento-compacto-link" href="{{ event.registro }}" target="_blank">Inscríbete <i class="fas fa-arrow-right"></i></a>
13+
{% if event.url %}
14+
<a class="evento-compacto-link" href="{{ event.url }}" target="_blank">
15+
<i class="fas fa-globe"></i> Visitar web del evento
16+
</a>
1517
{% elif event.meetup %}
1618
<a class="evento-compacto-link" href="https://www.meetup.com/pythonchiledev/events/{{event.meetup}}" target="_blank">Inscríbete <i class="fas fa-arrow-right"></i></a>
1719
{% endif %}

‎pycltheme/templates/evento-proximo.html‎

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
{% set iconos = {'meetup': 'fa-users', 'pycon': 'fa-python', 'pyday': 'fa-calendar-day', 'hackaton': 'fa-code', 'otro': 'fa-calendar-alt'} %}
22
<div class="evento-proximo tipo-{{ event.type_slug }}">
33
<div class="evento-proximo-media">
4-
{% if event.image %}
5-
<img loading="lazy" src="/{{ event.image }}" alt="{{ event.type }} {{ event.track }}" style="width: 100%; height: 100%; object-fit: cover;" />
4+
{% if event.youtube %}
5+
<a href="https://www.youtube.com/watch?v={{ event.youtube }}" target="_blank" aria-label="Ver en YouTube">
6+
<img loading="lazy" src="https://img.youtube.com/vi/{{ event.youtube }}/hqdefault.jpg" alt="{{ event.type }} {{ event.track }}" />
7+
<span class="evento-thumb-play"><i class="fab fa-youtube"></i></span>
8+
</a>
9+
{% elif event.image %}
10+
<img loading="lazy" src="/{{ event.image }}" alt="{{ event.type }} {{ event.track }}" />
611
{% else %}
712
<div class="evento-proximo-media-icono">
813
<i class="fab {{ iconos.get(event.type_slug, 'fa-calendar-alt') }}"></i>
@@ -17,14 +22,14 @@ <h4>{{ event.type }} {{ event.track }}</h4>
1722
{% if event.city %}<span><i class="fas fa-map-marker-alt"></i> {{ event.city }}</span>{% endif %}
1823
</p>
1924
<div class="evento-proximo-cta">
20-
{% if event.registro %}
21-
<a class="btn-proximo btn-proximo-primary" href="{{ event.registro }}" target="_blank">
22-
<i class="fas fa-ticket-alt"></i> Inscríbete
23-
</a>
24-
{% elif event.meetup %}
25+
{% if event.meetup %}
2526
<a class="btn-proximo btn-proximo-primary" href="https://www.meetup.com/pythonchiledev/events/{{event.meetup}}" target="_blank">
2627
<i class="fab fa-meetup"></i> Inscríbete
2728
</a>
29+
{% elif event.url %}
30+
<a class="btn-proximo btn-proximo-primary" href="{{ event.url }}" target="_blank">
31+
<i class="fas fa-globe"></i> Visitar web del evento
32+
</a>
2833
{% else %}
2934
<a class="btn-proximo btn-proximo-primary" href="https://cl.linkedin.com/company/pythonchiledev" target="_blank">
3035
<i class="fab fa-linkedin"></i> Más info en nuestras redes

‎pycltheme/templates/eventos.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<!-- Introducción -->
77
<div class="eventos-intro">
8-
<h1>Eventos</h1>
8+
<h1 class="mt-4 pt-2">Eventos</h1>
99
<p>
1010
A lo largo del país organizamos distintas actividades para aprender y
1111
compartir en torno a Python.
@@ -159,4 +159,4 @@ <h5>
159159
const years = {{YEARS}}
160160
</script>
161161
<script src="{{ SITEURL }}/theme/js/eventos-charts.js"></script>
162-
{% endblock content %}
162+
{% endblock content %}

‎pycltheme/templates/footer.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ <h4 class="mt-lg-0 mt-sm-4">Contacto</h4>
4242
</div>
4343
<div class="row mt-5">
4444
<div class="col copyright text-center">
45-
<p class=""><small class="text-white-50">Copyright © 2022 - 2025 Python Chile. Todos los derechos reservados</small></p>
45+
<p class=""><small class="text-white-50">Copyright © 2022 - 2026 Python Chile. Todos los derechos reservados</small></p>
4646
</div>
4747
</div>
4848
</div>

‎pycltheme/templates/index.html‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@
88
<div class="container">
99
{% block content_title %}
1010
{% endblock %}
11-
<!-- SECCIÓN DEL PRÓXIMO EVENTO EN EL HOME -->
11+
<!-- SECCIÓN DEL PRÓXIMO EVENTO EN EL HOME -->
1212
{% for event in UPCOMING_EVENTS[:1] %}
1313
<div class="row justify-content-center">
1414
<div class="col-12 col-md-9 col-lg-7">
15-
<div class="text-center" style="margin-bottom:48px;">
15+
<!-- SE AÑADIÓ MARGIN-TOP: 48px PARA DESPEGARLO DE LA BARRA AZUL -->
16+
<div class="text-center" style="margin-top: 48px; margin-bottom: 48px;">
1617
<h3 class="text-center pb-2 mb-4 titulo-bold" style="text-transform: uppercase; letter-spacing: 0.5px; color: #1e293b;">
1718
Próximo evento
1819
</h3>

0 commit comments

Comments
 (0)