Skip to content

Feat: add jobs page#177

Merged
francescarpi merged 11 commits into
mainfrom
feat/jobs
May 12, 2026
Merged

Feat: add jobs page#177
francescarpi merged 11 commits into
mainfrom
feat/jobs

Conversation

@itziarZG
Copy link
Copy Markdown
Collaborator

@itziarZG itziarZG commented May 10, 2026

Summary

  • New job offers page at /es/jobs/, /en/jobs/, /ca/jobs/
  • Jobs managed via markdown files in src/data/jobs/{lang}/
  • Cards with description (fixed height with ellipsis), skills (colored gradient tags), location, salary, and apply button
  • Featured jobs (gold/platinum tier) highlighted with orange border
  • Draft support for sponsors to create unpublished offers (draft: true/false)
  • Accessibility: semantic HTML (section/article/header/footer), aria-labels on external links, reduced motion support
  • Menu updated with new "Ofertas de trabajo" / "Job offers" / "Ofertes de treball" link
Screenshot from 2026-05-10 19-08-28 Screenshot from 2026-05-10 19-08-05

Files

  • src/components/JobsPage.astro - Job cards component
  • src/pages/[lang]/jobs.astro - Page route
  • src/i18n/jobs/es.ts, en.ts, ca.ts, index.ts - Translations
  • src/data/jobs/{es,en,ca}/*.md - Example job offers + template
  • src/i18n/menu/es.ts, en.ts, ca.ts - Updated menu

francescarpi and others added 8 commits May 10, 2026 09:36
Adds /teams route for all locales (es, en, ca) listing all organization teams with name, description and contact email. Includes nav menu links and WCAG-compliant markup (role="list", focus-visible, aria-label with team context, aria-labelledby on sections).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@itziarZG itziarZG marked this pull request as draft May 10, 2026 17:44
@itziarZG itziarZG marked this pull request as ready for review May 10, 2026 17:48
@ctrl-alt-d
Copy link
Copy Markdown
Collaborator

Lo reviso, quería comentar a bada que en mi máquina (MacBook 13') el nav bar queda muy apretaducho:

Captura de pantalla 2026-05-10 a les 20 15 04

Copy link
Copy Markdown
Collaborator

@ctrl-alt-d ctrl-alt-d left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Por temas de a11y;

Eliminaría el h2 de sr-only por dos motivos:

<h2 id="jobs-list-heading" class="sr-only"> Ofertas de trabajo </h2>
    1. Porque dentro de cada oferta de trabajo hay otro h2
    1. Porque mejor hacemos esto:

Podría la lista de ofertas dentro de un ul y cada oferta un li. Así el lector anuncia cuantas oferta hay.

Comment thread src/components/JobsPage.astro
@itziarZG
Copy link
Copy Markdown
Collaborator Author

Lo reviso, quería comentar a bada que en mi máquina (MacBook 13') el nav bar queda muy apretaducho:

Captura de pantalla 2026-05-10 a les 20 15 04

realmente no tengo claro cómo quedaría el menú, para mí jobs estaría dentro de sponsors, junto con la ppal de sponsors.. pero no sé..

@itziarZG itziarZG force-pushed the feat/jobs branch 2 times, most recently from bc7d369 to 52d9c18 Compare May 11, 2026 20:12
@francescarpi francescarpi merged commit 9250680 into main May 12, 2026
1 check passed
@francescarpi francescarpi deleted the feat/jobs branch May 12, 2026 06:29
@ctrl-alt-d
Copy link
Copy Markdown
Collaborator

realmente no tengo claro cómo quedaría el menú, para mí jobs estaría dentro de sponsors, junto con la ppal de sponsors.. pero no sé..

Me parece muy buena solución si se acepta

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants