Skip to content

Commit ea3fd57

Browse files
committed
chore: add speakers guide draft
1 parent 8acb495 commit ea3fd57

4 files changed

Lines changed: 209 additions & 0 deletions

File tree

‎public/i18n/en.json‎

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,5 +196,43 @@
196196
"responsibility": "Maintaining this environment is everyone's responsibility.",
197197
"community": "\"We are community\"."
198198
}
199+
},
200+
"speakerGuidelines": {
201+
"title": "Speaker guidelines",
202+
"intro": "A quick guide to prepare your Web Dev Talks session: timing, support material, slide design, and welcome topics.",
203+
"copyLink": "Copy link to this section",
204+
"linkCopied": "Link copied to clipboard",
205+
"tableOfContents": "Table of Contents",
206+
"heroEyebrow": "For speakers",
207+
"duration": {
208+
"title": "1. Talk duration",
209+
"description": "Stage time is limited so we can fit several talks and still leave room for networking.",
210+
"max": "Maximum 20 minutes per talk",
211+
"ideal": "Ideally: 15 minutes of talk and 5 minutes of Q&A"
212+
},
213+
"material": {
214+
"title": "2. Support material",
215+
"description": "Your presentation must open from our equipment. For logistics and to document sessions, we project and record the screen from one of our computers.",
216+
"formats": "Share a Google Slides or Canva link (or another cloud tool with link access)",
217+
"access": "The link must be accessible from our computer, without depending on your laptop",
218+
"recording": "Screen casting and recording happen from our equipment",
219+
"note": "Avoid local files, USB drives, or decks that only run on your machine."
220+
},
221+
"slides": {
222+
"title": "3. Slide design",
223+
"description": "We project from a fair distance—prioritize readability over dense content.",
224+
"count": "We recommend no more than 30 slides (remember you only have 20 minutes)",
225+
"typography": "Use large, easy-to-read text",
226+
"contrast": "Choose colors with strong contrast",
227+
"distance": "The screen is seen from 5–10 meters by the nearest attendees and up to 20 meters by those at the back"
228+
},
229+
"topics": {
230+
"title": "4. Topics",
231+
"description": "We look for talks that contribute to Colima's tech community.",
232+
"welcome": "Any IT-related topic is welcome",
233+
"intent": "Content should be well-intentioned and respectful",
234+
"codeOfConduct": "Please follow our",
235+
"codeOfConductLink": "code of conduct"
236+
}
199237
}
200238
}

‎public/i18n/es.json‎

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,5 +204,43 @@
204204
"responsibility": "Mantener este ambiente es responsabilidad de todos.",
205205
"community": "“Somos comunidad”"
206206
}
207+
},
208+
"speakerGuidelines": {
209+
"title": "Lineamientos para speakers",
210+
"intro": "Guía rápida para preparar tu charla en Web Dev Talks: duración, material de apoyo, diseño de slides y temas bienvenidos.",
211+
"copyLink": "Copiar enlace a esta sección",
212+
"linkCopied": "Enlace copiado al portapapeles",
213+
"tableOfContents": "Tabla de contenidos",
214+
"heroEyebrow": "Para speakers",
215+
"duration": {
216+
"title": "1. Duración de la charla",
217+
"description": "El tiempo en escenario es limitado para que quepan varias charlas y quede espacio para networking.",
218+
"max": "Máximo 20 minutos por charla",
219+
"ideal": "Idealmente: 15 minutos de charla y 5 minutos de preguntas y respuestas"
220+
},
221+
"material": {
222+
"title": "2. Material de apoyo",
223+
"description": "La presentación debe poder abrirse desde nuestros equipos. Por logística y para documentar las sesiones, proyectamos y grabamos pantalla desde una de nuestras computadoras.",
224+
"formats": "Comparte un enlace de Google Slides o Canva (u otra herramienta en la nube con acceso por link)",
225+
"access": "El link debe ser accesible desde nuestro computador, sin dependencias de tu laptop",
226+
"recording": "La transmisión y grabación de pantalla se hacen desde nuestro equipo",
227+
"note": "Evita archivos locales, USB o presentaciones que solo corran en tu máquina."
228+
},
229+
"slides": {
230+
"title": "3. Diseño de slides",
231+
"description": "Proyectamos a una distancia considerable: prioriza legibilidad sobre densidad de contenido.",
232+
"count": "Recomendamos no más de 30 slides (recuerda que solo tienes 20 minutos)",
233+
"typography": "Usa texto grande y fácil de leer",
234+
"contrast": "Elige colores con buen contraste",
235+
"distance": "La pantalla se ve a 5–10 metros para los asistentes más cercanos y hasta 20 metros para quienes están al fondo"
236+
},
237+
"topics": {
238+
"title": "4. Temas",
239+
"description": "Buscamos charlas que aporten a la comunidad tech de Colima.",
240+
"welcome": "Cualquier tema relacionado con IT es bienvenido",
241+
"intent": "El contenido debe ser bienintencionado y respetuoso",
242+
"codeOfConduct": "Recuerda seguir nuestro",
243+
"codeOfConductLink": "código de conducta"
244+
}
207245
}
208246
}

‎src/SpeakerGuidelines.tsx‎

Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
import { Link } from 'react-router-dom'
2+
import { useTranslation } from 'react-i18next'
3+
import SiteShell from './components/SiteShell'
4+
import { Card } from './components/ui/card'
5+
6+
interface SectionDefinition {
7+
id: string
8+
title: string
9+
paragraphs: string[]
10+
bullets?: string[]
11+
note?: string
12+
linkNote?: boolean
13+
}
14+
15+
function SpeakerGuidelines() {
16+
const { t } = useTranslation()
17+
18+
const sections: SectionDefinition[] = [
19+
{
20+
id: 'duracion',
21+
title: t('speakerGuidelines.duration.title'),
22+
paragraphs: [t('speakerGuidelines.duration.description')],
23+
bullets: [
24+
t('speakerGuidelines.duration.max'),
25+
t('speakerGuidelines.duration.ideal'),
26+
],
27+
},
28+
{
29+
id: 'material',
30+
title: t('speakerGuidelines.material.title'),
31+
paragraphs: [t('speakerGuidelines.material.description')],
32+
bullets: [
33+
t('speakerGuidelines.material.formats'),
34+
t('speakerGuidelines.material.access'),
35+
t('speakerGuidelines.material.recording'),
36+
],
37+
note: t('speakerGuidelines.material.note'),
38+
},
39+
{
40+
id: 'diseno-slides',
41+
title: t('speakerGuidelines.slides.title'),
42+
paragraphs: [t('speakerGuidelines.slides.description')],
43+
bullets: [
44+
t('speakerGuidelines.slides.count'),
45+
t('speakerGuidelines.slides.typography'),
46+
t('speakerGuidelines.slides.contrast'),
47+
t('speakerGuidelines.slides.distance'),
48+
],
49+
},
50+
{
51+
id: 'temas',
52+
title: t('speakerGuidelines.topics.title'),
53+
paragraphs: [t('speakerGuidelines.topics.description')],
54+
bullets: [
55+
t('speakerGuidelines.topics.welcome'),
56+
t('speakerGuidelines.topics.intent'),
57+
],
58+
note: t('speakerGuidelines.topics.codeOfConduct'),
59+
linkNote: true,
60+
},
61+
]
62+
63+
const hero = (
64+
<section className="pt-8 mb-6">
65+
<div className="mx-auto w-full max-w-6xl px-4">
66+
<Card className="rounded-3xl px-6 py-8 md:px-8 md:py-10">
67+
<span className="inline-flex items-center gap-2 rounded-full border border-yellow-300/40 bg-yellow-300/10 px-3 py-1.5 text-[0.82rem] font-bold uppercase tracking-[0.08em] text-sky-600">
68+
{t('speakerGuidelines.heroEyebrow')}
69+
</span>
70+
<h1 className="mt-4 text-4xl font-bold leading-none tracking-tight text-brand md:text-5xl">
71+
{t('speakerGuidelines.title')}
72+
</h1>
73+
<p className="mt-4 max-w-2xl text-base leading-7 text-slate-600 md:text-lg">
74+
{t('speakerGuidelines.intro')}
75+
</p>
76+
</Card>
77+
</div>
78+
</section>
79+
)
80+
81+
return (
82+
<SiteShell hero={hero}>
83+
<Card className="rounded-3xl p-6 text-left md:p-8">
84+
<div className="space-y-8">
85+
{sections.map((section) => (
86+
<section key={section.id} id={section.id} className="scroll-mt-24 text-left">
87+
<h2 className="text-xl font-bold tracking-tight text-brand md:text-2xl">
88+
{section.title}
89+
</h2>
90+
91+
<div className="mt-3 space-y-3 text-base leading-7 text-slate-700">
92+
{section.paragraphs.map((paragraph) => (
93+
<p key={paragraph}>{paragraph}</p>
94+
))}
95+
96+
{section.bullets && (
97+
<ul className="list-disc space-y-2 pl-5">
98+
{section.bullets.map((bullet) => (
99+
<li key={bullet}>{bullet}</li>
100+
))}
101+
</ul>
102+
)}
103+
104+
{section.note && (
105+
<p className="text-slate-600">
106+
{section.linkNote ? (
107+
<>
108+
{section.note}{' '}
109+
<Link
110+
to="/code-of-conduct"
111+
className="font-semibold text-brand underline underline-offset-2 hover:text-sky-700"
112+
>
113+
{t('speakerGuidelines.topics.codeOfConductLink')}
114+
</Link>
115+
.
116+
</>
117+
) : (
118+
section.note
119+
)}
120+
</p>
121+
)}
122+
</div>
123+
</section>
124+
))}
125+
</div>
126+
</Card>
127+
</SiteShell>
128+
)
129+
}
130+
131+
export default SpeakerGuidelines

‎src/routes.tsx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import Sponsorship from './Sponsorship'
55
import About from './About'
66
import Survey from './Survey'
77
import CodeOfConduct from './CodeOfConduct'
8+
import SpeakerGuidelines from './SpeakerGuidelines'
89

910
export default function Router (): ReactElement | null {
1011
const routes = useRoutes([
@@ -13,6 +14,7 @@ export default function Router (): ReactElement | null {
1314
{ path: '/sponsorship', element: <Sponsorship/> },
1415
{ path: '/survey', element: <Survey/> },
1516
{ path: '/code-of-conduct', element: <CodeOfConduct/> },
17+
{ path: '/speaker-guidelines', element: <SpeakerGuidelines/> },
1618

1719
{ path: '*', element: <Home/> },
1820
])

0 commit comments

Comments
 (0)