a8d6805e27
This commit includes graphical keyboard icons integration, modal styling improvements, and comprehensive "Logos" to "Icons" terminology update. Changes: - Add graphical keyboard icons using Iconify MDI (Tab, Ctrl, Cmd, Esc, etc.) - Implement color scheme: black title, green subtitle/headers, blue kbd elements - Add visual boxes with borders and shadows for section grouping - Change modal from 3-column to 2-column grid layout (900px width) - Fix critical bug: all 5 sections now render (was only showing 2) Rename "Logos" to "Icons" across entire codebase: - Go models: ToggleLogos → ToggleIcons, ShowLogos → ShowIcons - Routes: /toggle/logos → /toggle/icons - Templates: desktop-logo-toggle → desktop-icon-toggle, #logoToggle → #iconToggle - JavaScript: logoToggles → iconToggles, sync logic updated - CSS: .show-logos → .show-icons - UI JSON: toggleLogos → toggleIcons - Comments and labels updated Technical details: - Rebuilt Go binary to fix template rendering error - Fixed JSON struct tag: json:"toggleLogos" → json:"toggleIcons" - Updated kbd element styling for icon alignment (inline-flex) - Added margin-bottom to subtitle (0.5rem) - Grid now 2 columns for better 5-section layout All 5 sections now render correctly: 1. Zoom Control 2. View Controls 3. Navigation 4. Actions 5. Browser Defaults
92 lines
2.7 KiB
JSON
92 lines
2.7 KiB
JSON
{
|
|
"infoModal": {
|
|
"title": "Acerca de este CV",
|
|
"description": "Este CV interactivo fue construido por mí mismo con <strong>Go + HTMX</strong>, demostrando arquitectura moderna de hipermedia sin frameworks pesados de JavaScript.",
|
|
"techStack": {
|
|
"goHono": "Go + Hono",
|
|
"htmx": "HTMX",
|
|
"html5": "HTML5 Semántico",
|
|
"css3": "CSS3 Puro"
|
|
},
|
|
"viewSource": "Ver proyecto en Github",
|
|
"viewSourceSubtext": "¿Quieres saber cómo está hecho?"
|
|
},
|
|
"shortcutsModal": {
|
|
"title": "Atajos de Teclado",
|
|
"description": "Usa estos atajos de teclado para navegar y controlar el CV de forma más eficiente.",
|
|
"sections": {
|
|
"zoom": {
|
|
"title": "Control de Zoom",
|
|
"zoomIn": {
|
|
"key": "Ctrl / Cmd + Más",
|
|
"description": "Aumentar zoom (+10%)"
|
|
},
|
|
"zoomOut": {
|
|
"key": "Ctrl / Cmd + Menos",
|
|
"description": "Reducir zoom (-10%)"
|
|
},
|
|
"zoomReset": {
|
|
"key": "Ctrl / Cmd + 0",
|
|
"description": "Restablecer zoom al 100%"
|
|
}
|
|
},
|
|
"viewControls": {
|
|
"title": "Controles de Vista",
|
|
"toggleLength": {
|
|
"key": "Tab a Longitud",
|
|
"description": "Alternar longitud CV (Corto/Largo)"
|
|
},
|
|
"toggleIcons": {
|
|
"key": "Tab a Iconos",
|
|
"description": "Mostrar/ocultar iconos de empresas"
|
|
},
|
|
"toggleTheme": {
|
|
"key": "Tab a Vista",
|
|
"description": "Cambiar tema (Normal/Limpio)"
|
|
}
|
|
},
|
|
"navigation": {
|
|
"title": "Navegación",
|
|
"expandAll": {
|
|
"key": "Menú → Expandir Todo",
|
|
"description": "Expandir todas las secciones del CV"
|
|
},
|
|
"collapseAll": {
|
|
"key": "Menú → Colapsar Todo",
|
|
"description": "Colapsar todas las secciones del CV"
|
|
},
|
|
"scrollToTop": {
|
|
"key": "Click en botón ↑",
|
|
"description": "Volver arriba"
|
|
}
|
|
},
|
|
"actions": {
|
|
"title": "Acciones",
|
|
"print": {
|
|
"key": "Ctrl / Cmd + P",
|
|
"description": "Imprimir o guardar como PDF"
|
|
},
|
|
"closeModal": {
|
|
"key": "ESC",
|
|
"description": "Cerrar cualquier modal abierto"
|
|
},
|
|
"showHelp": {
|
|
"key": "?",
|
|
"description": "Mostrar esta ayuda de atajos"
|
|
}
|
|
},
|
|
"browser": {
|
|
"title": "Navegador (Predeterminado)",
|
|
"tab": {
|
|
"key": "Tab",
|
|
"description": "Navegar entre controles"
|
|
},
|
|
"enter": {
|
|
"key": "Enter / Espacio",
|
|
"description": "Activar control enfocado"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|