Skip to content

Commit b71c740

Browse files
authored
Add placeholder schedule (#77)
1 parent 3aa644e commit b71c740

File tree

4 files changed

+82
-2
lines changed

4 files changed

+82
-2
lines changed

src/components/navbar/navbar.astro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ export const menuitems = [
2828
{
2929
title: "header.program",
3030
"children": [
31+
{ title: "header.schedule", path: "/schedule" },
3132
{ title: "header.sprints", path: "/sprints" },
3233
{ title: "header.attending_menu", path: "/attending" },
3334
],

src/i18n/ui.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ export const ui = {
6868
"header.features": "Features",
6969
"header.jobs": "Jobs Board",
7070
"header.primary_button_text": "Donate",
71-
"header.program": "Program",
71+
"header.program": "Conference",
72+
"header.schedule": "Schedule",
7273
"header.sprints": "Sprints",
7374
"header.sprints_subtitle": "Share, learn and contribute!",
7475
"header.secondary_button_text": "Login",
@@ -97,6 +98,8 @@ export const ui = {
9798
"org.mariatta": "Mariatta is a Python core developer where she focuses on improving the workflow and documentation. She is active in the Python community as an advisor for the Global PyLadies, and PyCon US Chair.",
9899
"org.subtitle": "The Organizers",
99100
"org.title": "PyLadies Conference",
101+
"schedule.title": "Schedule",
102+
"schedule.subtitle": "What Awaits You at PyLadiesCon",
100103
"sponsors_gallery.subtitle": "Our Sponsors",
101104
"sponsors_gallery.title": "Meet the sponsors of our conference.",
102105
"sponsorship_faq.title": "Sponsorship Frequently Asked Questions",
@@ -171,7 +174,8 @@ export const ui = {
171174
"header.attending_subtitle": "El lugar online de la conferencia",
172175
"header.features": "Características",
173176
"header.primary_button_text": "Donar",
174-
"header.program": "Programa",
177+
"header.program": "Conferencia",
178+
"header.schedule": "Programa",
175179
"header.sprints": "Sprints",
176180
"header.sprints_subtitle": "¡Comparte, aprende y contribuye!",
177181
"header.secondary_button_text": "Acceso",
@@ -200,6 +204,8 @@ export const ui = {
200204
"org.mariatta": "Mariatta es una desarrolladora principal de Python donde se enfoca en mejorar el flujo de trabajo y la documentación. Ella es activa en la comunidad de Python como asesora de PyLadies Global y la directora de PyCon.",
201205
"org.subtitle": "La organización",
202206
"org.title": "Conferencia de PyLadies",
207+
"schedule.title": "Programa",
208+
"schedule.subtitle": "Qué te espera en PyLadiesCon",
203209
"sponsors_gallery.subtitle": "Nuestros Patrocinadores",
204210
"sponsors_gallery.title": "Conoce a los patrocinadores de nuestra conferencia.",
205211
"sponsorship_faq.a_keynoteintro": "Reproduciremos un video corto de 2 a 5 minutos de nuestro patrocinador principal antes de cada sesión principal.",

src/pages/en/schedule.astro

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
import Container from "@components/container.astro";
3+
import Sectionhead from "@components/sectionhead.astro";
4+
import Layout from "@layouts/Layout.astro";
5+
import { getLangFromUrl, useTranslations } from '../../i18n/utils';
6+
7+
const lang = getLangFromUrl(Astro.url);
8+
const t = useTranslations(lang);
9+
10+
const { align = "center" } = Astro.props;
11+
12+
---
13+
14+
<Layout title="Sponsors">
15+
<Container>
16+
<Sectionhead>
17+
<Fragment slot="subtitle">{t("schedule.subtitle")}</Fragment>
18+
<Fragment slot="title">{t("schedule.title")}</Fragment>
19+
<Fragment slot="description">
20+
This year’s edition of PyLadiesCon is packed with exciting opportunities for learning and
21+
community engagement. By registering, you’ll gain access to: Keynotes, Talks, Interactive
22+
Sessions &amp; Panels, Networking, and more!
23+
</Fragment>
24+
</Sectionhead>
25+
26+
<div class="grid md:grid-cols-1 gap-10 mx-auto max-w-5xl mt-10">
27+
<div class="py-5">
28+
<p class="dark:text-white text-center">
29+
The schedule will be published soon!
30+
</p>
31+
</div>
32+
</div>
33+
))}
34+
</div>
35+
</Container>
36+
</Layout>

src/pages/es/schedule.astro

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
import Container from "@components/container.astro";
3+
import Sectionhead from "@components/sectionhead.astro";
4+
import Layout from "@layouts/Layout.astro";
5+
import { getLangFromUrl, useTranslations } from '../../i18n/utils';
6+
7+
const lang = getLangFromUrl(Astro.url);
8+
const t = useTranslations(lang);
9+
10+
const { align = "center" } = Astro.props;
11+
12+
---
13+
14+
<Layout title="Sponsors">
15+
<Container>
16+
<Sectionhead>
17+
<Fragment slot="subtitle">{t("schedule.subtitle")}</Fragment>
18+
<Fragment slot="title">{t("schedule.title")}</Fragment>
19+
<Fragment slot="description">
20+
La edición de este año de PyLadiesCon está repleta de interesantes oportunidades de
21+
aprendizaje y participación en la comunidad. Al registrarte, tendrás acceso a: ponencias
22+
principales, charlas, sesiones interactivas y paneles, oportunidades para establecer
23+
contactos y mucho más.
24+
</Fragment>
25+
</Sectionhead>
26+
27+
<div class="grid md:grid-cols-1 gap-10 mx-auto max-w-5xl mt-10">
28+
<div class="py-5">
29+
<p class="dark:text-white text-center">
30+
The schedule will be published soon!
31+
</p>
32+
</div>
33+
</div>
34+
))}
35+
</div>
36+
</Container>
37+
</Layout>

0 commit comments

Comments
 (0)