Skip to content

Commit 0ea1ced

Browse files
authored
Merge pull request #24 from pythonsul/add-buy-a-ticket-section
Add buy a ticket section [Hacktoberfest]
2 parents a1039ec + f94c547 commit 0ea1ced

File tree

24 files changed

+893
-434
lines changed

24 files changed

+893
-434
lines changed

config/_default/menu/menu.en.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ url = "/"
44
weight = 1
55

66
[[main]]
7-
name = "About"
8-
url = "#about"
7+
name = "Keynotes"
8+
url = "#keynotes"
99
weight = 2
1010

1111
[[main]]
12-
name = "Call for Papers"
13-
url = "#cfp"
12+
name = "Talks"
13+
url = "#buy-a-ticket"
1414
weight = 3
1515

1616
[[main]]
@@ -20,7 +20,7 @@ weight = 4
2020

2121
[[main]]
2222
name = "Sponsors"
23-
url = "#sponsors/"
23+
url = "#sponsors"
2424
weight = 5
2525

2626
[[main]]

config/_default/menu/menu.es.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ url = "/"
44
weight = 1
55

66
[[main]]
7-
name = "Sobre"
8-
url = "#about"
7+
name = "Keynotes"
8+
url = "#keynotes"
99
weight = 2
1010

1111
[[main]]
12-
name = "Envío de Charlas"
13-
url = "#cfp"
12+
name = "Charlas"
13+
url = "#buy-a-ticket"
1414
weight = 3
1515

1616
[[main]]

config/_default/menu/menus.pt-br.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ url = "/"
44
weight = 1
55

66
[[main]]
7-
name = "Sobre"
8-
url = "#about"
7+
name = "Keynotes"
8+
url = "#keynotes"
99
weight = 2
1010

1111
[[main]]
12-
name = "Submissão de Palestras"
13-
url = "#cfp"
12+
name = "Palestras"
13+
url = "#buy-a-ticket"
1414
weight = 3
1515

1616
[[main]]
Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
[
2+
{
3+
"language": "pt-br",
4+
"badge": "Grade de palestras em breve",
5+
"title": "Enquanto finalizamos a programação, garanta seu ingresso",
6+
"description": "Estamos cuidando de cada detalhe da grade com conteúdos que inspiram, informam e acolhem a comunidade Python. Assim que tudo estiver confirmado, avisaremos por aqui e nas redes sociais.",
7+
"helper": "Ao comprar um ingresso você ajuda a viabilizar a PySul 2025 e mantém o evento acessível para toda a comunidade.",
8+
"schedule": {
9+
"title": "Programação",
10+
"description": "Publicaremos a grade completa em breve. <br>Acesse o grupo no WhatsApp e Telegram ou companhe o Instagram para ser avisado em primeira mão."
11+
},
12+
"cta": {
13+
"label": "Comprar ingresso",
14+
"link": "https://www.sympla.com.br/evento/python-sul-2025-porto-alegre/3092007?lang=pt"
15+
},
16+
"tickets": [
17+
{
18+
"name": "Cancioneira (meia-entrada)",
19+
"tag": "50% off",
20+
"description": "Quero acompanhar as palestras e faço parte do grupo com direito à meia-entrada."
21+
},
22+
{
23+
"name": "Vivente mateador (inteira)",
24+
"description": "Quero acompanhar as palestras, compartilhar o mate e garantir meu certificado."
25+
},
26+
{
27+
"name": "Cusco de estância (inteira com camiseta)",
28+
"description": "Quero acompanhar as palestras + todos os benefícios da modalidade padrão e garantir minha camiseta."
29+
},
30+
{
31+
"name": "Chimarrão de ouro (Também quero apoiar)",
32+
"description": "Quero apoiar o evento e a comunidade, com agradecimento e brinde exclusivo ao final."
33+
}
34+
]
35+
},
36+
{
37+
"language": "en",
38+
"badge": "Talk schedule coming soon",
39+
"title": "While we finalize the program, secure your ticket",
40+
"description": "We’re taking care of every detail of the schedule, with content that inspires, informs, and embraces the Python community. Once everything is confirmed, we’ll announce it here and on social media.",
41+
"helper": "By purchasing a ticket, you help make PySul 2025 possible and keep the event accessible for the entire community.",
42+
"schedule": {
43+
"title": "Schedule",
44+
"description": "The full agenda will be published soon. <br>Join our WhatsApp and Telegram groups or follow us on Instagram to be notified first."
45+
},
46+
"cta": {
47+
"label": "Buy ticket",
48+
"link": "https://www.sympla.com.br/evento/python-sul-2025-porto-alegre/3092007/?lang=en"
49+
},
50+
"tickets": [
51+
{
52+
"name": "Cancioneira (half-price ticket)",
53+
"tag": "50% off",
54+
"description": "I want to attend the talks and I’m eligible for the half-price ticket."
55+
},
56+
{
57+
"name": "Vivente Mateador (regular ticket)",
58+
"description": "I want to attend the talks, share some mate, and get my participation certificate."
59+
},
60+
{
61+
"name": "Cusco de Estância (regular + T-shirt)",
62+
"description": "I want to attend the talks, enjoy all regular benefits, and get an exclusive T-shirt."
63+
},
64+
{
65+
"name": "Chimarrão de Ouro (supporter ticket)",
66+
"description": "I want to support the event and community, with a thank-you and an exclusive gift at the end."
67+
}
68+
]
69+
},
70+
{
71+
"language": "es",
72+
"badge": "Agenda de charlas próximamente",
73+
"title": "Mientras terminamos la programación, asegurá tu entrada",
74+
"description": "Estamos cuidando cada detalle del cronograma con contenidos que inspiran, informan y fortalecen a la comunidad Python. Apenas todo esté confirmado, lo anunciaremos por acá y en las redes sociales.",
75+
"helper": "Al comprar una entrada ayudás a hacer posible la PySul 2025 y mantenés el evento accesible para toda la comunidad.",
76+
"schedule": {
77+
"title": "Programación",
78+
"description": "Publicaremos la agenda completa muy pronto. <br>Unite al grupo de WhatsApp o Telegram, o seguí el Instagram para enterarte antes que nadie."
79+
},
80+
"cta": {
81+
"label": "Comprar entrada",
82+
"link": "https://www.sympla.com.br/evento/python-sul-2025-porto-alegre/3092007/?lang=es"
83+
},
84+
"tickets": [
85+
{
86+
"name": "Cancionera (media entrada)",
87+
"tag": "50% off",
88+
"description": "Quiero asistir a las charlas y formo parte del grupo con derecho a media entrada."
89+
},
90+
{
91+
"name": "Viviente matero (entrada completa)",
92+
"description": "Quiero participar en las charlas, compartir unos mates y asegurar mi certificado."
93+
},
94+
{
95+
"name": "Cusco de estancia (entrada + remera)",
96+
"description": "Quiero asistir a las charlas, disfrutar de todos los beneficios de la modalidad estándar y llevarme mi remera."
97+
},
98+
{
99+
"name": "Mate de oro (también quiero apoyar)",
100+
"description": "Quiero apoyar el evento y a la comunidad, con un agradecimiento y un regalo exclusivo al final."
101+
}
102+
]
103+
}
104+
]

src/assets/scss/components/_header.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,11 @@
132132
width: auto;
133133
margin-bottom: -$space-2;
134134
}
135+
136+
svg {
137+
width: $header-height;
138+
margin-right: -1.5rem;
139+
}
135140
}
136141
}
137142
}

src/assets/scss/main.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
@import "./sections/sponsors"; // Sponsors section
2727
@import "./sections/supporters"; // Supporters section
2828
@import "./sections/subscribe"; // Newsletter subscribe section
29+
@import "./sections/buy-ticket"; // buy-ticket/tickets section
2930
@import "./sections/keynotes"; // Keynote speakers section
3031

3132
@import "./pages/single-post"; // Single blog post layout

src/assets/scss/pages/_content-list.scss

Lines changed: 3 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import "./list/pagination";
2+
13
.card-list {
24
display: grid;
35
grid-template-columns: repeat(1, minmax(0, 1fr));
@@ -125,47 +127,4 @@
125127
}
126128
}
127129
}
128-
129-
.pagination {
130-
@include responsive-container;
131-
padding-block: $space-6;
132-
133-
&__wrapper {
134-
@include flex-center;
135-
gap: $space-2;
136-
137-
.btn {
138-
padding: $space-2 $space-4;
139-
gap: $space-3;
140-
}
141-
142-
.separator {
143-
line-height: 1;
144-
padding: 0 $space-2;
145-
padding-top: $space-4;
146-
color: var(--color-content-list-separator);
147-
}
148-
}
149-
150-
&__pages {
151-
display: flex;
152-
align-items: center;
153-
gap: $space-1;
154-
155-
.btn {
156-
padding: $space-2 $space-4;
157-
158-
&.active {
159-
background-color: var(--color-content-list-page-active-bg);
160-
border: 1px solid var(--color-content-list-page-active-border);
161-
color: var(--color-content-list-page-active-text);
162-
}
163-
}
164-
}
165-
166-
&__ellipsis {
167-
padding: 0 $space-2;
168-
color: var(--color-content-list-ellipsis);
169-
}
170-
}
171-
}
130+
}

0 commit comments

Comments
 (0)