feat(andamiaje): fase 1, tokens, fuentes, layouts, Header/Footer e Inicio

- BRIEF.md y CLAUDE.md como fuente de verdad y reglas del repositorio
- Astro 7 estático con Tailwind 4; tokens en src/styles/tokens.css (claro/oscuro)
- Fuentes propias en public/fonts (Fraunces, Instrument Sans, JetBrains Mono)
- Layout Base con SEO y Open Graph; Header con menú accesible; Footer
- Componentes Stat (cifra con método) y Video (fondo/captura/externo)
- Colección cifras con esquema zod; esquemas de proyectos y equipo
- Página de inicio; referencia/ con el borrador y los chats originales

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Collina SystemsandClaude Fable 5.1 committed 2026-11-04 11:57:35 -06:00
commit aa0fcc5691
40 files changed
+12854

No files matched your search

+46
View File
@@ -0,0 +1,46 @@
---
/* Cifra con método. Nunca se muestra un valor sin su método; un valor null se
presenta como "por medir". */
interface Props {
valor: string | null;
texto: string;
metodo: string;
periodo?: string | null;
}
const { valor, texto, metodo, periodo = null } = Astro.props;
---
<div class="stat">
<strong class="mono">{valor ?? 'por medir'}</strong>
<span>{texto}</span>
<small>{metodo}{periodo && <> · {periodo}</>}</small>
</div>
<style>
.stat {
border-top: 2px solid var(--fg);
padding-top: 1rem;
}
.stat strong {
display: block;
font-family: var(--font-mono);
font-size: clamp(2rem, 4vw, 3rem);
font-weight: 500;
line-height: 1;
font-variant-numeric: tabular-nums;
letter-spacing: -0.02em;
}
.stat span {
display: block;
margin-top: 0.5rem;
color: var(--fg-2);
font-size: 0.95rem;
}
.stat small {
display: block;
margin-top: 0.35rem;
color: var(--fg-3);
font-size: 0.8rem;
line-height: 1.4;
}
</style>