Commit graph

9 commits

Author SHA1 Message Date
f7a853dded fix: WCAG 2.2 AA audit — contrast, a11y, touch targets, responsive
Color contrast (all now ≥4.5:1):
- text-muted: #8a97a8 → #5a6a80
- orange-ink: #e26a12 → #a85210
- orange CTA bg: #f47a20 → #d46a18 (white text passes)
- navy-soft: #1c3a63 → #1a3459
- line: 8% → 10% opacity

Screen reader:
- Mobile menu: aria-expanded, aria-controls, dynamic aria-label
- Escape key closes mobile menu, returns focus
- Footer wrapped in <nav aria-label>
- All decorative icons/emojis marked aria-hidden
- Hero logo gets descriptive alt text
- Sections get aria-labelledby with sr-only headings

Touch targets (all ≥44px):
- Hamburger button: min-w/h-[44px]
- All nav links: min-h-[44px] with flex items-center
- CTA buttons: min-h-[44px]
- Footer links: min-h-[44px]

Responsive:
- English page now uses fluid px-4/6/10 padding
- H1: clamp(2rem, 6vw, 56px) — minimum 32px on mobile
- Rutas section padding consistent with rest

Motion:
- prefers-reduced-motion: disables floaty, twinkle, rise-in animations
- scroll-behavior: auto when reduced motion
2026-07-13 13:04:49 +02:00
92956daa2a docs: update README, AGENTS.md, CLAUDE.md with project info and codegraph
- README: full project description, structure, commands, pages
- AGENTS.md/CLAUDE.md: project overview, codegraph instructions, design tokens, page map
2026-07-13 12:59:40 +02:00
c2d76a9372 fix: responsive layout - use fluid padding and stack on mobile
- Header, sections, footer use px-4/6/10 responsive padding
- Hero grid stacks on mobile (grid-cols-1 → lg:grid-cols-2)
- Rutas flex wraps on mobile
- Footer stacks on mobile
- Fluid typography with clamp()
2026-07-13 12:57:58 +02:00
8948e2aaaf fix: add Recursos back to nav before Comunidad 2026-07-13 12:55:21 +02:00
ee3be693c3 fix: rename Rutas to Rutas profesionales in nav 2026-07-13 12:54:30 +02:00
cf94936fa5 feat: update nav with Formación, Comunidad, Sobre nosotros
- Add Formación and Sobre nosotros pages
- Update Header nav with full menu items
- Breakpoint changed to lg for nav to fit all items
- Mobile menu updated with all items
2026-07-13 12:54:02 +02:00
a9057de351 fix: add home link to logo in header 2026-07-13 12:51:15 +02:00
79454a2d38 fix: add logo to public/ and switch to pnpm
- Copy ornito_logo.png to public/ so Astro serves it
- Add pnpm-lock.yaml and pnpm-workspace.yaml
- Remove orphaned screenshots reference
2026-07-13 12:49:29 +02:00
35bd477263 feat: initial project setup with Astro + Tailwind + 1a home design
- Astro SSG project with Tailwind CSS v4
- Home page following DESIGN.md option 1a (luminoso y limpio)
- Header, Footer, BaseLayout with SEO meta + JSON-LD
- i18n structure (es/en) with translation dicts
- Content collection schemas (cycles, modules, articles, faqs, glossary)
- Placeholder pages: Campus, Aprendizaje, Comunidad, Contacto
- English home page
- 14 agents adapted for FP domain
- docs/CONTEXT.md (FP ontology), DESIGN.md, SEO-GEO-STRATEGY.md
- Build passes: 6 static pages generated
2026-07-13 12:37:58 +02:00