My personal portfolio: who I am, where I've worked and the projects I've built, in Spanish and English.
A single-page, bilingual portfolio built with Astro and Tailwind CSS v4. Static, fast and fully typed: every translation is checked at build time.
- π Bilingual by route: Spanish at
/and English at/en/, each a fully static page with its ownhreflang, canonical URL, Open Graph tags and JSON-LD. - π Typed translations: strings live in one TypeScript dictionary; a missing English key fails
astro checkand the build. - ποΈ Scroll storytelling: the header takes the colour of the section beneath it, company logos trace themselves in, project cards stick and stack as you scroll, and the contact screen is revealed like a blind.
- π₯οΈ Interface fragments: each project shows a small HTML/CSS recreation of its real UI instead of a screenshot.
- βΏ Accessible and calm: semantic landmarks, visible focus, and every animation switched off under
prefers-reduced-motion. - π Downloadable CV in English and Spanish.
- π€ Automated deployment to GitHub Pages with GitHub Actions.
| Area | Technology |
|---|---|
| Framework | Astro (static output, i18n routing) |
| Styling | Tailwind CSS v4 via the Vite plugin, design tokens in @theme |
| Language | TypeScript (strict) |
| Font | General Sans, self-hosted |
| Hosting & CI/CD | GitHub Pages + GitHub Actions |
portfolio/
βββ .github/workflows/deploy.yml # GitHub Pages deployment
βββ public/ # CVs, images, favicon, Open Graph image
βββ src/
β βββ assets/fonts/ # General Sans (woff2)
β βββ components/
β β βββ Header, Hero, Experience, Projects, About, Contact
β β βββ logos/ # Inline SVG logos (animated on scroll)
β β βββ mocks/ # HTML/CSS recreations of each project's UI
β βββ data/ # Experience and projects
β βββ i18n/ui.ts # Spanish and English strings
β βββ layouts/Layout.astro # <head>, SEO and shared scripts
β βββ pages/ # / (es) and /en/
β βββ styles/global.css # Tailwind theme and base styles
βββ astro.config.mjs
npm install
npm run dev # http://localhost:4321/portfolio/
npm run build # type-check + static build into dist/
npm run preview- Text: edit
src/i18n/ui.ts. Spanish is the source of truth; English must have the same keys. - A new project: add an entry to
src/data/projects.tsand, if it needs one, a UI fragment insrc/components/mocks/. - Experience:
src/data/experience.ts.
Every push to main builds the site and publishes it to GitHub Pages. To move to a custom domain, set site to the new URL and remove base in astro.config.mjs; every internal path follows import.meta.env.BASE_URL.
