Landing page for the WebtrES Village at Ekoparty, Buenos Aires 2026 — the blockchain hackers community village. A static, bilingual page with the confirmed talk schedule. Built with Astro, styled as a retro terminal.
- Astro 7, static output (no framework integrations, no client-side JS bundle)
- pnpm (Node >= 22.12)
- Styles are inline in
src/layouts/VillageLayout.astro, driven by the design tokens inDESIGN.md
| Command | Action |
|---|---|
pnpm install |
Install dependencies |
pnpm dev |
Dev server at localhost:4321 |
pnpm build |
Build the static site to ./dist/ |
pnpm preview |
Preview the production build locally |
pnpm og |
Regenerate the social card (commit the result) |
src/
├── data/
│ ├── village.ts # locale-independent facts (event, socials)
│ └── schedule.ts # confirmed slots: day, room, time, speaker
├── i18n/
│ ├── ui.ts # every translatable string, keyed per locale
│ └── utils.ts # useTranslations(lang), formatDay, formatDateSpan
├── lib/ics.ts # RFC 5545 builder, America/Argentina/Buenos_Aires
├── layouts/
│ └── VillageLayout.astro # the page itself; takes a `lang` prop
├── og/ # OG card sources: mascot frame + JetBrains Mono
└── pages/
├── index.astro # es — served at /
├── en/index.astro # en — served at /en/
└── calendar/[lang]/[slug].ics.ts # prerendered per-talk and full-agenda calendars
scripts/og-card.mjs # `pnpm og` — renders public/assets/og-card.png
public/assets/ # pixel-art mascot, favicon, generated OG card
public/assets/og-card.png (1200×630) is generated by pnpm og and committed — the
deploy build does not render it, so no fonts or renderer are needed on the build machine.
Re-run pnpm og after editing scripts/og-card.mjs. See AGENTS.md for
details.
The shared card uses the Spanish status EN VIVO for Ekoparty 2026. Both locales'
meta.ogImageAlt descriptions reflect that wording.
site in astro.config.mjs must point at the live origin: og:image, og:url,
canonical, and hreflang are all derived from it, and social scrapers reject relative
URLs.
Spanish is the default locale and is served at /; English lives under /en/.
Locales are declared in astro.config.mjs with prefixDefaultLocale: false.
To add a string, add the key to both locale objects in src/i18n/ui.ts —
the satisfies constraint and the UIKey type will flag a locale that is
missing one. To add a locale, add it to locales in astro.config.mjs, to
languages/ui in ui.ts, to the locale branches in utils.ts, and create
src/pages/<code>/index.astro.
See AGENTS.md for the working notes used by coding agents.
The agenda has Charlas / Actividades tabs (Talks / Activities in English). Charlas is selected by default; arrow keys, Home, and End navigate the tabs. Without JavaScript, both sections remain visible.
Activities are listed in the activities array in src/data/schedule.ts, with
names and descriptions in activity.<id>.title / activity.<id>.description
in both locales of src/i18n/ui.ts. CTF, Opsek, Sealstrology, and Phishing Dojo
are explicitly labeled “En Vivo” / “Live”; no ending times are inferred.
Trivia runs at 13:30, 14:30, 15:30, 16:30, and 17:30 on each conference day
(7–9 October, Buenos Aires time), defined by triviaTimes in schedule.ts.
Its card shows the next strictly future session and updates without a reload.
At a session's starting time it advances to the next one; after the day's last
start it shows the next conference day, if any. After the final scheduled start,
it says there are no upcoming sessions, without assuming a session duration.
Activities have no calendar downloads.
Confirmed talks are split the same way as the rest of the site: the slot
(day, room, clock time, speaker) lives in src/data/schedule.ts, and the
title plus description live in both locales of src/i18n/ui.ts
(talk.<id>.title, talk.<id>.description).
Talks show a localized “En Vivo” / “Live” badge from their scheduled start
(inclusive) until their end (exclusive), using America/Argentina/Buenos_Aires
(UTC−3). At the ending time they are marked complete with struck-through titles,
muted details, and a “Finalizada” / “Completed” label. The browser checks on load,
schedules the next starting or ending time, and refreshes when the tab becomes
visible; no rebuild or page reload is required. This relies on the visitor's
device clock. Without JavaScript, status reflects the time of the last build.
Calendar downloads are retained as part of the talk schedule history.
Día 1–3 are 7, 8 and 9 October 2026 at the CEC, Buenos Aires. Times are
America/Argentina/Buenos_Aires (UTC−3, no DST). Each talk has an "add to
calendar" link to /calendar/<lang>/<id>.ics, emitted by astro build —
those files are not committed.
The "add all talks to calendar" button above the agenda downloads
/calendar/<lang>/all.ics: one calendar containing every confirmed talk,
localized to the page language. It shares event IDs with the individual
downloads. Open the file in a calendar app to import the talks; the app may
ask for confirmation. No account or client-side JavaScript is required.