diff --git a/.github/workflows/auto-assign.yml b/.github/workflows/auto-assign.yml index 6a8f381..f022c40 100644 --- a/.github/workflows/auto-assign.yml +++ b/.github/workflows/auto-assign.yml @@ -15,5 +15,5 @@ jobs: uses: pozil/auto-assign-issue@v1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} - assignees: Luke1606 + assignees: luishrosello numOfAssignee: 1 diff --git a/README.md b/README.md index e28dbc6..c52434d 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ ## 🆕 v0.2.0 -- **Pantalla de producto de Mod0 rehecha**: ahora explica el flujo real (mission control para sesiones de CLI con IA) con +- **Pantalla de producto de MOD0 rehecha**: ahora explica el flujo real (mission control para sesiones de CLI con IA) con maquetas **interactivas en Svelte** (`src/components/ide/`) traducidas de los componentes del IDE, y capturas reales (`public/images/ide/{es,en}/`). Para regenerar las capturas: `python scripts/capture-screenshots.py` en el repo del IDE. - **Rendimiento**: se eliminó el fondo de Vanta + three.js (CDN) con filtro `blur` de pantalla completa, que era la causa @@ -50,14 +50,14 @@ ## Descripción del Proyecto -Este repositorio contiene la *landing page* oficial de **Modus Zero**, un ecosistema profesional diseñado para el aprovechamiento máximo de la **ingeniería agéntica**. A diferencia de los asistentes de chat tradicionales, este sitio presenta una visión donde la IA no solo asiste, sino que orquesta flujos de trabajo complejos mediante herramientas como **Mod0**. +Este repositorio contiene la *landing page* oficial de **Modus Zero**, un ecosistema profesional diseñado para el aprovechamiento máximo de la **ingeniería agéntica**. A diferencia de los asistentes de chat tradicionales, este sitio presenta una visión donde la IA no solo asiste, sino que orquesta flujos de trabajo complejos mediante herramientas como **MOD0**. El sitio está construido con **Astro** para garantizar una carga instantánea y un SEO impecable, permitiendo a los desarrolladores explorar el nuevo paradigma de "vibe coding" y orquestación de LLMs con la menor fricción posible. **Puntos Clave del Ecosistema:** * **Ingeniería Agéntica:** Enfoque en la verificación y revisión del trabajo de IA más que en la escritura manual de código. -* **Mod0:** Entorno autónomo con visualización de *Thinking Graphs* y tableros Kanban, entre otros elementos, ver más [aquí](github.com/ModusZero/mod0). +* **MOD0:** Entorno autónomo con visualización de *Thinking Graphs* y tableros Kanban, entre otros elementos, ver más [aquí](github.com/ModusZero/mod0). * **Local-First:** Soporte para inteligencia privada y modelos auto-hospedados. * **Eficiencia:** Optimización de tokens mediante estrategias de inferencia por dificultad. @@ -84,14 +84,14 @@ El sitio está construido con **Astro** para garantizar una carga instantánea y ## Project Description -This repository hosts the official landing page for **Modus Zero**, a professional ecosystem tailored for maximizing the leverage of **agentic engineering**. Beyond simple chatbots, this platform introduces a workflow where AI orchestrates complex development tasks through tools like **Mod0**. +This repository hosts the official landing page for **Modus Zero**, a professional ecosystem tailored for maximizing the leverage of **agentic engineering**. Beyond simple chatbots, this platform introduces a workflow where AI orchestrates complex development tasks through tools like **MOD0**. Built with **Astro**, the site ensures industry-leading performance and SEO, allowing developers to explore the "vibe coding" paradigm and LLM orchestration with zero friction. **Ecosystem Key Features:** * **Agentic Engineering:** Focus on verifying and auditing AI-generated work rather than manual coding. -* **Mod0:** Autonomous environment featuring *Thinking Graphs* and agentic Kanban boards, etc. see more [here](github.com/ModusZero/mod0). +* **MOD0:** Autonomous environment featuring *Thinking Graphs* and agentic Kanban boards, etc. see more [here](github.com/ModusZero/mod0). * **Local-First:** Support for private intelligence and self-hosted models. * **Token Efficiency:** Smart inference strategies to optimize costs and reasoning depth. diff --git a/astro.config.ts b/astro.config.ts index 1c7faa9..9fe1a73 100644 --- a/astro.config.ts +++ b/astro.config.ts @@ -2,7 +2,7 @@ import { defineConfig } from 'astro/config'; import robotsTxt from 'astro-robots-txt'; import sitemap from '@astrojs/sitemap'; -import compress from "astro-compress"; +import compress from 'astro-compress'; import react from '@astrojs/react'; import svelte from '@astrojs/svelte'; import icon from 'astro-icon'; @@ -13,52 +13,56 @@ const REPO_NAME = 'landing'; const isProd = process.env.NODE_ENV === 'production'; export default defineConfig({ - experimental: { - chromeDevtoolsWorkspace: true, - }, - integrations: [robotsTxt(), icon(), compress(), react(), svelte(), sitemap({ - i18n: { - defaultLocale: 'en', - locales: { - en: 'en', - es: 'es', - }, + experimental: { + chromeDevtoolsWorkspace: true, }, - })], - - // Tailwind 4 se integra con su plugin de Vite (la ruta por PostCSS no resuelve `@import "tailwindcss"` en Vite 8). - vite: { - plugins: [tailwindcss()], - ssr: { - noExternal: ['@lucide/svelte'], - }, - environments: { - prerender: { - resolve: { - noExternal: ['@lucide/svelte'], + integrations: [ + robotsTxt(), + icon(), + compress(), + react(), + svelte(), + sitemap({ + i18n: { + defaultLocale: 'en', + locales: { + en: 'en', + es: 'es', + }, + }, + }), + ], + + vite: { + plugins: [tailwindcss()], + ssr: { + noExternal: ['@lucide/svelte'], }, - }, - ssr: { - resolve: { - noExternal: ['@lucide/svelte'], + environments: { + prerender: { + resolve: { + noExternal: ['@lucide/svelte'], + }, + }, + ssr: { + resolve: { + noExternal: ['@lucide/svelte'], + }, + }, }, - }, }, - }, - site: isProd - ? `https://${REPO_OWNER}.github.io` - : `http://localhost:5000`, - - base: `/${REPO_NAME}`, - - trailingSlash: 'always', - - output: 'static', - - server: { - host: '0.0.0.0', - port: 5000, - allowedHosts: true, - }, -}); \ No newline at end of file + site: isProd ? `https://${REPO_OWNER}.github.io` : `http://localhost:5000`, + + base: `/${REPO_NAME}`, + + trailingSlash: 'always', + + output: 'static', + + server: { + host: '0.0.0.0', + port: 5000, + allowedHosts: true, + }, +}); diff --git a/package-lock.json b/package-lock.json index 0285d4d..3beb838 100644 --- a/package-lock.json +++ b/package-lock.json @@ -38,7 +38,6 @@ }, "devDependencies": { "@astrojs/check": "^0.9.12", - "@tailwindcss/postcss": "^4.1.16", "prettier": "^3.6.2", "prettier-plugin-astro": "^0.14.1", "prettier-plugin-svelte": "^4.1.1", @@ -50,19 +49,6 @@ "node": ">=22.23.4" } }, - "node_modules/@alloc/quick-lru": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.3.0.tgz", - "integrity": "sha512-U4+70Pc5ZS9osnCBCE5Jha/ciHM+Yp+CNMNC/7HvYbNRk1Ldd+f7qO65W5qfhu/TCv+/ozljlXXe9Nj8419DMA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/@antfu/install-pkg": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/@antfu/install-pkg/-/install-pkg-2.1.0.tgz", @@ -472,16 +458,6 @@ } } }, - "node_modules/@astrojs/runtime": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/@astrojs/runtime/-/runtime-0.1.0.tgz", - "integrity": "sha512-Ips60LS4g0jEwOq7qOZqBhVl/6/nUDsk83bFbPBDYwtSfIiknaN48aSD+ycnwhBpUvbxQMQHv1ZotrCJFsJzPw==", - "license": "MIT", - "dependencies": { - "@oslojs/encoding": "^1.1.0", - "clsx": "^2.1.1" - } - }, "node_modules/@astrojs/sitemap": { "version": "3.7.4", "resolved": "https://registry.npmjs.org/@astrojs/sitemap/-/sitemap-3.7.4.tgz", @@ -493,16 +469,15 @@ } }, "node_modules/@astrojs/svelte": { - "version": "9.1.4", - "resolved": "https://registry.npmjs.org/@astrojs/svelte/-/svelte-9.1.4.tgz", - "integrity": "sha512-tjK5loWRNXt/lIE/DKbXbG3QS5GhiaWzicQK5HJynPqMjUDVS70paR1UZMC2BM53PbbhTKkcirZPFSbvNW39ag==", + "version": "9.1.2", + "resolved": "https://registry.npmjs.org/@astrojs/svelte/-/svelte-9.1.2.tgz", + "integrity": "sha512-gLLGQL28CPRC/74REhEmqQNUdjagURcqkSLPgjEZceql7WxdAOXyCD9SFxsl75q4R4ePAWiK7SutfqldC+WNHw==", "license": "MIT", "dependencies": { - "@astrojs/internal-helpers": "0.13.2", - "@astrojs/svelte-renderer": "0.1.0", "@sveltejs/vite-plugin-svelte": "^7.3.1", - "svelte2tsx": "^0.7.63", - "vite": "^8.3.6" + "svelte2tsx": "^0.7.61", + "vite": "^8.3.4", + "vitefu": "^1.1.3" }, "engines": { "node": ">=22.23.4" @@ -513,35 +488,6 @@ "typescript": "^5.3.3 || ^6.0.0" } }, - "node_modules/@astrojs/svelte-renderer": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/@astrojs/svelte-renderer/-/svelte-renderer-0.1.0.tgz", - "integrity": "sha512-A9VIdjRVSTDPOl/fsJf6+Nc8P8WSAuU6IyRKje6FlMPKx6sezoyE8IZ5/BIt167eje/yGF//pM1+HrIVoYTv5w==", - "license": "MIT", - "dependencies": { - "@astrojs/runtime": "0.1.0", - "vitefu": "^1.1.3" - }, - "peerDependencies": { - "svelte": "^5.43.6" - } - }, - "node_modules/@astrojs/svelte/node_modules/@astrojs/internal-helpers": { - "version": "0.13.2", - "resolved": "https://registry.npmjs.org/@astrojs/internal-helpers/-/internal-helpers-0.13.2.tgz", - "integrity": "sha512-SWiNS+OMrhwWYzJENTekHUyUCMKB+tdU6D4v1ZNIU1ZHh2mScQ8WIs0J6AJ8KPXkIrs9+EZU7Rm2CstfThyVnw==", - "license": "MIT", - "dependencies": { - "@types/hast": "^3.0.5", - "@types/mdast": "^4.0.4", - "picomatch": "^4.0.7", - "retext-smartypants": "^6.2.0", - "shiki": "^4.6.0", - "smol-toml": "^1.9.1", - "unified": "^11.0.5", - "yaml": "^2.9.1" - } - }, "node_modules/@astrojs/telemetry": { "version": "3.4.2", "resolved": "https://registry.npmjs.org/@astrojs/telemetry/-/telemetry-3.4.2.tgz", @@ -3300,20 +3246,6 @@ "node": ">= 20" } }, - "node_modules/@tailwindcss/postcss": { - "version": "4.3.5", - "resolved": "https://registry.npmjs.org/@tailwindcss/postcss/-/postcss-4.3.5.tgz", - "integrity": "sha512-FAV37Tlx9wBiT/hkfgVD0Q6CWsP2oUX3lf28nrfjW8+ksILjnpuFulUqWDfNR4/ZiEHHDRBX8DUTzD1Rys687A==", - "dev": true, - "license": "MIT", - "dependencies": { - "@alloc/quick-lru": "^5.2.0", - "@tailwindcss/node": "4.3.5", - "@tailwindcss/oxide": "4.3.5", - "postcss": "^8.5.25", - "tailwindcss": "4.3.5" - } - }, "node_modules/@tailwindcss/vite": { "version": "4.3.5", "resolved": "https://registry.npmjs.org/@tailwindcss/vite/-/vite-4.3.5.tgz", diff --git a/package.json b/package.json index e4e1e98..5eb8580 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "modus_zero_landing", - "version": "0.2.0", + "version": "0.3.0", "type": "module", "engines": { "node": ">=22.23.4" @@ -44,7 +44,6 @@ "tailwind-merge": "^3.4.0" }, "devDependencies": { - "@tailwindcss/postcss": "^4.1.16", "@astrojs/check": "^0.9.12", "prettier": "^3.6.2", "prettier-plugin-astro": "^0.14.1", diff --git a/public/images/ide/en/files-graph.webp b/public/images/ide/en/files-graph.webp index 972fb68..140a073 100644 Binary files a/public/images/ide/en/files-graph.webp and b/public/images/ide/en/files-graph.webp differ diff --git a/public/images/ide/en/files-impact.webp b/public/images/ide/en/files-impact.webp new file mode 100644 index 0000000..d83a185 Binary files /dev/null and b/public/images/ide/en/files-impact.webp differ diff --git a/public/images/ide/en/kanban.webp b/public/images/ide/en/kanban.webp index 83bbf60..f45f239 100644 Binary files a/public/images/ide/en/kanban.webp and b/public/images/ide/en/kanban.webp differ diff --git a/public/images/ide/en/review-tree.webp b/public/images/ide/en/review-tree.webp new file mode 100644 index 0000000..67fb92e Binary files /dev/null and b/public/images/ide/en/review-tree.webp differ diff --git a/public/images/ide/en/review.webp b/public/images/ide/en/review.webp index 98aa7bd..fc0fc34 100644 Binary files a/public/images/ide/en/review.webp and b/public/images/ide/en/review.webp differ diff --git a/public/images/ide/en/sessions.webp b/public/images/ide/en/sessions.webp index 27318dc..978e053 100644 Binary files a/public/images/ide/en/sessions.webp and b/public/images/ide/en/sessions.webp differ diff --git a/public/images/ide/en/thinking-graph.webp b/public/images/ide/en/thinking-graph.webp index a67de78..ecb4214 100644 Binary files a/public/images/ide/en/thinking-graph.webp and b/public/images/ide/en/thinking-graph.webp differ diff --git a/public/images/ide/en/thinking-timeline.webp b/public/images/ide/en/thinking-timeline.webp new file mode 100644 index 0000000..fe36386 Binary files /dev/null and b/public/images/ide/en/thinking-timeline.webp differ diff --git a/public/images/ide/es/files-graph.webp b/public/images/ide/es/files-graph.webp index 63de5e6..f87b710 100644 Binary files a/public/images/ide/es/files-graph.webp and b/public/images/ide/es/files-graph.webp differ diff --git a/public/images/ide/es/files-impact.webp b/public/images/ide/es/files-impact.webp new file mode 100644 index 0000000..79b83ae Binary files /dev/null and b/public/images/ide/es/files-impact.webp differ diff --git a/public/images/ide/es/kanban.webp b/public/images/ide/es/kanban.webp index 7e7723d..f8ed53b 100644 Binary files a/public/images/ide/es/kanban.webp and b/public/images/ide/es/kanban.webp differ diff --git a/public/images/ide/es/review-tree.webp b/public/images/ide/es/review-tree.webp new file mode 100644 index 0000000..855effe Binary files /dev/null and b/public/images/ide/es/review-tree.webp differ diff --git a/public/images/ide/es/review.webp b/public/images/ide/es/review.webp index adaaf39..39e5e1a 100644 Binary files a/public/images/ide/es/review.webp and b/public/images/ide/es/review.webp differ diff --git a/public/images/ide/es/sessions.webp b/public/images/ide/es/sessions.webp index e32114a..93f2b6c 100644 Binary files a/public/images/ide/es/sessions.webp and b/public/images/ide/es/sessions.webp differ diff --git a/public/images/ide/es/thinking-graph.webp b/public/images/ide/es/thinking-graph.webp index f25e0b2..124e22d 100644 Binary files a/public/images/ide/es/thinking-graph.webp and b/public/images/ide/es/thinking-graph.webp differ diff --git a/public/images/ide/es/thinking-timeline.webp b/public/images/ide/es/thinking-timeline.webp new file mode 100644 index 0000000..3bc7f64 Binary files /dev/null and b/public/images/ide/es/thinking-timeline.webp differ diff --git a/public/llms.txt b/public/llms.txt new file mode 100644 index 0000000..8315afc --- /dev/null +++ b/public/llms.txt @@ -0,0 +1,18 @@ +# MOD0 (ModusZero) + +> Mission control para sesiones de CLI con IA (Claude Code y otras): ve qué hace cada sesión, en qué archivo trabaja, +> qué piensa y cuál te necesita. Herramienta personal, abierta y no comercial. App de escritorio (Tauri + Svelte). + +## Documentación + +- [Guía para personas](https://github.com/ModusZero/mod0/blob/main/docs/README.md): índice de la documentación. +- [Primeros pasos](https://github.com/ModusZero/mod0/blob/main/docs/getting-started.md): instalar, abrir un proyecto y lanzar la primera sesión. +- [Proveedores y CLI](https://github.com/ModusZero/mod0/blob/main/docs/guide/providers.md): cómo conectar Claude Code con otros modelos, Aider, OpenCode, Qwen Code, Codex, Gemini. +- [Arquitectura](https://github.com/ModusZero/mod0/blob/main/docs/guide/architecture.md): cómo funciona por dentro (hooks, transcript, grafos). +- [Contexto del proyecto](https://github.com/ModusZero/mod0/blob/main/docs/CONTEXT.md): visión, decisiones y convenciones (pensado para IA). +- [Plan actual](https://github.com/ModusZero/mod0/blob/main/docs/PLAN.md): tareas y registro de releases. + +## Opcional + +- [Código fuente](https://github.com/ModusZero/mod0) +- [Landing](https://moduszero.github.io/landing/) diff --git a/src/components/ide/GraphDemo.svelte b/src/components/ide/GraphDemo.svelte index ea7d89b..1369ed0 100644 --- a/src/components/ide/GraphDemo.svelte +++ b/src/components/ide/GraphDemo.svelte @@ -1,110 +1,278 @@ -
-
- T1 - {tr(graphScript[0].label)} - {Math.max(0, rows.length - 1)} {labels.steps} +
+
+
+ {#each demo.sessions.slice(0, 6) as s (s.id)} + + {/each} +
+
+
+ + +
+ + +
- +
+ T1{tr(script[0].label)}{Math.max(0, rows.length - 1)} {labels.steps} +
- {#each rows as node, index (index)} - {@const Icon = node.family in icons ? icons[node.family as keyof typeof icons] : null} -
- {#if Icon}{/if} - {node.family === 'prompt' ? labels.prompt : tr(node.label)} - {#if node.target}{node.target}{/if} - {tr(node.intent)} - {index === running - ? '…' - : node.ms - ? node.ms < 1000 - ? `${node.ms}ms` - : `${(node.ms / 1000).toFixed(1)}s` - : ''} +
+ {#if view === 'timeline'} +
+ + {#each rows as node, index (index)} + {@const Icon = node.family in icons ? icons[node.family as keyof typeof icons] : null} + + {/each} +
+ {:else} +
+ {labels.prompt} + {#each phases as phase, p (p)} + {@const Icon = phase.family in icons ? icons[phase.family as keyof typeof icons] : null} + +
+
+ {#if Icon}{/if}{names[phase.family as keyof typeof names]}{#if phase.items.length > 1}×{phase.items.length}{/if} +
+ {#each phase.items as item (item)} + + {/each} +
+ {/each} + {#if rows.at(-1)?.family === 'stop'}{tr('Listo')}{/if} +
+ {/if} +
+ + {#if chosen} +
+ {tr(chosen.label)} + {#if chosen.target}{chosen.target}{/if} + {#if chosen.intent}{u('why')}: {tr(chosen.intent)}{/if}
- {/each} + {/if}
diff --git a/src/components/ide/IdeFrame.svelte b/src/components/ide/IdeFrame.svelte index 00b9e9c..7343ddd 100644 --- a/src/components/ide/IdeFrame.svelte +++ b/src/components/ide/IdeFrame.svelte @@ -5,13 +5,16 @@ FolderTree, LayoutGrid, Network, + Pause, + Play, + RotateCcw, Search, Settings, SquareKanban, } from '@lucide/svelte'; import type { Snippet } from 'svelte'; import { onMount } from 'svelte'; - import { tr } from './demo-data'; + import { tr, u } from './demo-data'; import { demo } from './demo-store.svelte'; import StatusIcon from './StatusIcon.svelte'; @@ -64,7 +67,10 @@ -
{@render children()}
+
+ {@render children()} + {#if demo.toast}
🔔{demo.toast}
{/if} +
+ +
+ + + {u('story')} + {demo.caption} +
diff --git a/src/components/ide/ReviewDemo.svelte b/src/components/ide/ReviewDemo.svelte index bd99972..710d266 100644 --- a/src/components/ide/ReviewDemo.svelte +++ b/src/components/ide/ReviewDemo.svelte @@ -1,63 +1,114 @@ +{#snippet file(c: (typeof changedPaths)[number], indent: boolean)} + +{/snippet} +
+ {#if view === 'list'} + {#each changedPaths as c (c.path)}{@render file(c, false)}{/each} + {:else} + {#each groups as g (g.dir)} + + {#if !closed[g.dir]}
+ {#each g.files as c (c.path)}{@render file(c, true)}{/each} +
{/if} + {/each} + {/if}
-
- {changedFiles[selected].status} - {changedFiles[selected].dir}/{changedFiles[selected].name} -
+
{changedPaths.find((c) => c.path === selected)?.status} {selected}
- {#each diffRows as row, index (index)} + {#each rows as row, index (index)}
- {row.type === 'add' ? '+' : row.type === 'del' ? '−' : ''} - {tr(row.text) || ' '} + {row.type === 'add' ? '+' : row.type === 'del' ? '−' : ''}{tr(row.text) || ' '}
{/each}
@@ -68,9 +119,10 @@ height: 100%; } aside { - width: 210px; + width: 220px; flex-shrink: 0; padding: 0 4px; + overflow: hidden; background: var(--bg-sidebar); border-right: 1px solid var(--border-subtle); } @@ -82,12 +134,36 @@ letter-spacing: 0.06em; color: var(--text-muted); } - .progress { - margin: 0; + .sub { + display: flex; + align-items: center; + justify-content: space-between; padding: 0 8px 8px; + } + .progress { font-size: 10px; color: var(--text-faint); } + .toggle { + display: inline-flex; + padding: 2px; + background: var(--bg-main); + border: 1px solid var(--border-subtle); + border-radius: 6px; + } + .toggle button { + display: flex; + width: 20px; + height: 18px; + align-items: center; + justify-content: center; + color: var(--text-muted); + border-radius: 4px; + } + .toggle button.on { + color: var(--text-main); + background: var(--bg-raised); + } .file { display: flex; width: 100%; @@ -137,14 +213,37 @@ font-size: 11px; text-align: center; } - .tick.on { + .tick.on, + .file:hover .tick.on { color: var(--ok); } .file:hover .tick { color: var(--text-faint); } - .file:hover .tick.on { - color: var(--ok); + .folder { + display: flex; + width: 100%; + align-items: center; + gap: 6px; + padding: 4px 6px; + font-size: 12px; + color: var(--text-muted); + border-radius: 6px; + } + .folder:hover { + background: var(--bg-hover); + } + .folder span { + flex: 1; + text-align: left; + } + .folder i { + font-style: normal; + font-size: 10px; + color: var(--text-faint); + } + .indent { + padding-left: 10px; } section { display: flex; @@ -174,13 +273,12 @@ text-align: center; color: var(--text-faint); } - .add { + .line.add { background: color-mix(in srgb, var(--ok) 11%, transparent); } - .add .gutter { + .line.add .gutter { color: var(--ok); } - .del.line, .line.del { background: color-mix(in srgb, var(--danger) 11%, transparent); } diff --git a/src/components/ide/SessionsDemo.svelte b/src/components/ide/SessionsDemo.svelte index 7529bc0..00eb910 100644 --- a/src/components/ide/SessionsDemo.svelte +++ b/src/components/ide/SessionsDemo.svelte @@ -1,7 +1,7 @@
- {labels.all} {counts.all} - {labels.attention} {counts.attention} - {labels.working} {counts.working} - {labels.idle} {counts.idle} + {#each [['all', labels.all], ['attention', labels.attention], ['working', labels.working], ['idle', labels.idle]] as [id, label] (id)} + + {/each}
+
- {#each demo.sessions as s, index (s.id)} -
+ {#each visible as s, index (s.id)} +
demo.focus(s.id)} + role="presentation" + >

{s.name}

- Alt {index + 1} + Alt {demo.sessions.indexOf(s) + 1}

{s.branch}

@@ -70,10 +89,17 @@ {/if}
+ {#if plans[s.id]} + {@const done = plans[s.id].filter((p) => p.done).length} +
+ {done}/{plans[s.id].length} {u(plans[s.id].find((p) => !p.done)?.key ?? 't1')} +
+ {/if} +
- {#each trail(index) as token, i (i)} - - {/each} + {#each trail(index) as token, i (i)}{/each}
+ +
+ {#if s.status === 'waiting'} + + {:else if s.status === 'working'} + + {:else if s.status === 'idle'} + + {/if} +
{/each}
+ + {#if focused} +
+ {focused.name} + $ claude + {#if focused.now}● {tr(focused.now.label)}{:else if focused.status === 'waiting'}? {labels.waiting}{:else}✓ + {tr(focused.message) || '…'}{/if} +
+ {/if} diff --git a/src/components/ide/demo-data.ts b/src/components/ide/demo-data.ts index 49f67bf..4f52e2a 100644 --- a/src/components/ide/demo-data.ts +++ b/src/components/ide/demo-data.ts @@ -262,6 +262,12 @@ export const kanbanSeed = [ /** Textos de ejemplo en inglés (los datos están escritos en español). */ const EN: Record = { + 'Hace idempotente el webhook de pagos': 'Make the payments webhook idempotent', + 'Estabiliza los tests intermitentes': 'Stabilize the flaky tests', + 'Actualiza la documentación del endpoint': 'Update the endpoint documentation', + 'Optimiza las consultas de orders': 'Optimize the orders queries', + 'Reduce el tiempo de CI': 'Reduce CI time', + 'Implementar la rotación': 'Implement rotation', 'Editar session.ts': 'Edit session.ts', 'Leer README.md': 'Read README.md', 'Leer tokens.ts': 'Read tokens.ts', @@ -302,3 +308,297 @@ export const setDemoLang = (value: 'es' | 'en') => { /** Traduce un texto de ejemplo al idioma de la página. */ export const tr = (text?: string | null): string => (text ? (lang === 'en' ? (EN[text] ?? text) : text) : ''); + +/** Textos de la interfaz de la maqueta (es/en). */ +const UI: Record<'es' | 'en', Record> = { + es: { + approve: 'Aprobar', + stop: 'Detener', + resume: 'Reanudar', + newSession: 'Nueva sesión', + play: 'Reproducir', + pause: 'Pausar', + restart: 'Reiniciar', + diagram: 'Diagrama', + timeline: 'Cronología', + expand: 'Expandir', + collapse: 'Colapsar', + impact: 'Impacto', + level: 'Nivel', + list: 'Lista', + tree: 'Árbol', + commitDone: 'Commit creado', + story: 'Historia', + needsYou: 'te necesita', + readyReview: 'listo para revisar', + plan: 'Plan', + detail: 'Detalle', + why: 'Por qué', + affected: 'afectados', + changedBy: 'cambiados', + drop: 'Suelta aquí', + phases: 'fases', + hint: 'Doble clic en una carpeta para abrirla', + s0: 'Seis sesiones en paralelo, todas a la vista', + s1: 'payments-webhook se bloqueó pidiendo un permiso', + s2: 'Saltas a ella con Alt+2 y decides', + s3: 'Aprobada: sigue trabajando sola', + s4: 'fix-flaky-tests terminó con cambios: toca revisar', + s5: 'auth-refactor pide permiso para ejecutar un comando', + s6: 'Aprobado, continúa', + s7: 'perf-queries terminó: pasa a revisión', + s8: 'docs-api queda en reposo; nada más te necesita', + t1: 'Revisar cómo se crean las sesiones', + t2: 'Implementar la rotación', + t3: 'Conectar session.ts', + t4: 'Ajustar el guard', + t5: 'Escribir tests', + }, + en: { + approve: 'Approve', + stop: 'Stop', + resume: 'Resume', + newSession: 'New session', + play: 'Play', + pause: 'Pause', + restart: 'Restart', + diagram: 'Diagram', + timeline: 'Timeline', + expand: 'Expand', + collapse: 'Collapse', + impact: 'Impact', + level: 'Depth', + list: 'List', + tree: 'Tree', + commitDone: 'Commit created', + story: 'Story', + needsYou: 'needs you', + readyReview: 'ready to review', + plan: 'Plan', + detail: 'Detail', + why: 'Why', + affected: 'affected', + changedBy: 'changed', + drop: 'Drop here', + phases: 'phases', + hint: 'Double-click a folder to open it', + s0: 'Six sessions in parallel, all in sight', + s1: 'payments-webhook got blocked asking for permission', + s2: 'You jump to it with Alt+2 and decide', + s3: 'Approved: it keeps working on its own', + s4: 'fix-flaky-tests finished with changes: time to review', + s5: 'auth-refactor asks permission to run a command', + s6: 'Approved, it continues', + s7: 'perf-queries finished: moves to review', + s8: 'docs-api goes idle; nothing else needs you', + t1: 'Review how sessions are created', + t2: 'Implement rotation', + t3: 'Wire session.ts', + t4: 'Adjust the guard', + t5: 'Write tests', + }, +}; + +export const u = (key: string): string => UI[lang][key] ?? key; + +export const plans: Record> = { + a: [ + { key: 't1', done: true }, + { key: 't2', done: true }, + { key: 't3', done: false }, + { key: 't4', done: false }, + { key: 't5', done: false }, + ], +}; + +// ───────────── Proyecto: archivos, dependencias, impacto ───────────── +const names = (list: string[]) => list.map((n) => `${n}.ts`); +const layout: Record = { + 'src/api/routes': names(['users', 'orders', 'payments', 'auth', 'health']), + 'src/api/handlers': names(['create', 'update', 'remove', 'list']), + 'src/auth': names(['session', 'tokens', 'login', 'rotation', 'guard', 'crypto', 'claims']), + 'src/db': names(['client', 'pool', 'schema', 'queries', 'seed', 'types']), + 'src/payments': names(['webhook', 'invoice', 'refund', 'stripe', 'events', 'ledger']), + 'src/jobs': names(['mailer', 'cleanup', 'reports', 'scheduler']), + 'src/middleware': names(['guard', 'cors', 'rate', 'logger']), + 'src/lib': names(['http', 'log', 'time', 'ids', 'retry', 'cache', 'json']), + 'src/models': names(['user', 'order', 'payment', 'token', 'session']), + 'src/queue': names(['client', 'worker', 'types', 'dlq']), + 'tests/unit': ['tokens.test.ts', 'webhook.test.ts', 'session.test.ts', 'ledger.test.ts', 'retry.test.ts'], + 'tests/e2e': names(['login', 'checkout', 'refunds']), +}; +export const projectFiles = Object.entries(layout).flatMap(([dir, list]) => list.map((f) => `${dir}/${f}`)); +const under = (module: string) => projectFiles.filter((f) => f.startsWith(`${module}/`)); +const moduleEdges: Array<[string, string, number]> = [ + ['src/api', 'src/auth', 6], + ['src/api', 'src/payments', 4], + ['src/api', 'src/middleware', 3], + ['src/api', 'src/lib', 6], + ['src/auth', 'src/db', 5], + ['src/auth', 'src/models', 4], + ['src/payments', 'src/db', 5], + ['src/payments', 'src/queue', 3], + ['src/jobs', 'src/queue', 4], + ['src/jobs', 'src/db', 3], + ['src/middleware', 'src/auth', 3], + ['src/db', 'src/models', 6], + ['src/queue', 'src/lib', 3], + ['tests/unit', 'src/auth', 4], + ['tests/unit', 'src/payments', 3], + ['tests/e2e', 'src/api', 4], +]; +const fileEdges: Array<[number, number]> = []; +{ + const seen = new Set(); + const add = (a: string, b: string) => { + const edge = [projectFiles.indexOf(a), projectFiles.indexOf(b)] as [number, number]; + if (edge[0] >= 0 && edge[1] >= 0 && !seen.has(edge.join())) (seen.add(edge.join()), fileEdges.push(edge)); + }; + for (const [a, b, weight] of moduleEdges) { + const from = under(a); + const to = under(b); + for (let i = 0; i < weight; i++) add(from[(i * 2) % from.length], to[(i * 3 + 1) % to.length]); + } + for (const f of ['session', 'login', 'rotation', 'guard']) add(`src/auth/${f}.ts`, 'src/auth/tokens.ts'); + add('src/middleware/guard.ts', 'src/auth/guard.ts'); + add('src/api/routes/auth.ts', 'src/auth/session.ts'); + add('tests/unit/tokens.test.ts', 'src/auth/tokens.ts'); +} + +export interface GNode { + id: string; + label: string; + files: number; + kind: 'dir' | 'file'; +} + +const groupOf = (path: string, open: Set): string => { + const parts = path.split('/'); + let prefix = ''; + for (let i = 0; i < parts.length; i++) { + prefix = prefix ? `${prefix}/${parts[i]}` : parts[i]; + if (i === parts.length - 1 || !open.has(prefix)) return prefix; + } + return prefix; +}; + +export const allDirs = [ + ...new Set( + projectFiles.flatMap((f) => + f + .split('/') + .slice(0, -1) + .map((_, i, a) => a.slice(0, i + 1).join('/')), + ), + ), +].sort(); + +export function aggregate(open: Set): { nodes: GNode[]; edges: Array<[string, string, number]> } { + const nodes = new Map(); + const groups = projectFiles.map((path) => { + const id = groupOf(path, open); + const node = nodes.get(id) ?? { id, label: id.split('/').pop()!, files: 0, kind: id === path ? 'file' : 'dir' }; + node.files++; + nodes.set(id, node); + return id; + }); + const weights = new Map(); + for (const [a, b] of fileEdges) + if (groups[a] !== groups[b]) + weights.set(`${groups[a]}>${groups[b]}`, (weights.get(`${groups[a]}>${groups[b]}`) ?? 0) + 1); + return { + nodes: [...nodes.values()], + edges: [...weights].map(([k, w]) => [...k.split('>'), w] as [string, string, number]), + }; +} + +/** Archivos que dependen (directa o indirectamente) de los archivos dados. */ +export function impactOf(seeds: string[]): string[] { + const reverse: number[][] = projectFiles.map(() => []); + for (const [a, b] of fileEdges) reverse[b].push(a); + const start = new Set(seeds.map((p) => projectFiles.indexOf(p)).filter((i) => i >= 0)); + const seen = new Set(start); + const queue = [...start]; + while (queue.length) for (const d of reverse[queue.pop()!]) if (!seen.has(d)) (seen.add(d), queue.push(d)); + return [...seen].filter((i) => !start.has(i)).map((i) => projectFiles[i]); +} + +export const changedPaths: Array<{ path: string; status: 'M' | 'A' | 'U' | 'D'; add: number; del: number }> = [ + { path: 'src/auth/tokens.ts', status: 'M', add: 48, del: 12 }, + { path: 'src/auth/session.ts', status: 'M', add: 31, del: 9 }, + { path: 'src/middleware/guard.ts', status: 'M', add: 14, del: 6 }, + { path: 'src/auth/rotation.ts', status: 'A', add: 39, del: 0 }, + { path: 'tests/unit/tokens.test.ts', status: 'U', add: 62, del: 0 }, + { path: 'src/auth/legacy.ts', status: 'D', add: 0, del: 24 }, +]; + +type Row = { type: 'ctx' | 'add' | 'del'; text: string }; +export const diffsByFile: Record = { + 'src/auth/tokens.ts': diffRows, + 'src/auth/session.ts': [ + { type: 'ctx', text: "import { issueTokens, refreshTokens } from './tokens';" }, + { type: 'ctx', text: '' }, + { type: 'del', text: 'export function createSession(userId: string) {' }, + { type: 'add', text: 'export async function createSession(userId: string) {' }, + { type: 'del', text: ' return { userId, tokens: issueTokens(userId) };' }, + { type: 'add', text: ' const family = crypto.randomUUID();' }, + { type: 'add', text: ' return { userId, family, tokens: await issueTokens(userId, family) };' }, + { type: 'ctx', text: '}' }, + ], + 'src/middleware/guard.ts': [ + { type: 'ctx', text: "import { verify } from '../auth/crypto';" }, + { type: 'del', text: "const header = req.headers['authorization'];" }, + { type: 'add', text: "const header = req.headers['authorization']?.replace('Bearer ', '');" }, + { type: 'add', text: "if (!header) return res.status(401).json({ error: 'missing token' });" }, + { type: 'ctx', text: 'const payload = verify(header);' }, + ], + 'src/auth/rotation.ts': [ + { type: 'add', text: "import { db } from '../db';" }, + { type: 'add', text: '' }, + { type: 'add', text: 'export async function rotate(family: string, token: string) {' }, + { type: 'add', text: ' const current = await db.tokens.findOne({ family });' }, + { type: 'add', text: ' if (!current || current.hash !== token) return false;' }, + { type: 'add', text: ' return true;' }, + { type: 'add', text: '}' }, + ], + 'tests/unit/tokens.test.ts': [ + { type: 'add', text: "it('revoca la familia si se reutiliza un refresh', async () => {" }, + { type: 'add', text: ' const first = await issueTokens(user.id);' }, + { type: 'add', text: ' await refreshTokens(first.refresh);' }, + { type: 'add', text: ' await expect(refreshTokens(first.refresh)).rejects.toThrow();' }, + { type: 'add', text: '});' }, + ], + 'src/auth/legacy.ts': [ + { type: 'del', text: 'export const LEGACY_TTL = 60 * 60 * 24;' }, + { type: 'del', text: 'export function legacyToken(userId: string) {' }, + { type: 'del', text: ' return `${userId}.${Date.now()}`;' }, + { type: 'del', text: '}' }, + ], +}; + +const PROMPTS: Record = { + a: 'Refactoriza la autenticación a tokens rotativos', + b: 'Hace idempotente el webhook de pagos', + c: 'Estabiliza los tests intermitentes', + d: 'Actualiza la documentación del endpoint', + e: 'Optimiza las consultas de orders', + f: 'Reduce el tiempo de CI', +}; + +/** Guion del thinking graph de cada sesión: mismos pasos, rotados y con su propio prompt. */ +export function scriptFor(id: string): typeof graphScript { + const middle = graphScript.slice(1, -1); + const offset = id.charCodeAt(0) % middle.length; + const rotated = id === 'a' ? middle : [...middle.slice(offset), ...middle.slice(0, offset)]; + return [{ ...graphScript[0], label: PROMPTS[id] ?? graphScript[0].label }, ...rotated, graphScript.at(-1)!]; +} + +/** Archivo en el que trabaja cada sesión (para los anillos del grafo del proyecto). */ +export const sessionFile: Record = { + a: 'src/auth/session.ts', + b: 'src/payments/webhook.ts', + c: 'tests/unit/ledger.test.ts', + d: 'src/api/routes/auth.ts', + e: 'src/db/queries.ts', + f: 'src/jobs/scheduler.ts', +}; diff --git a/src/components/ide/demo-store.svelte.ts b/src/components/ide/demo-store.svelte.ts index 7511de4..c53e30c 100644 --- a/src/components/ide/demo-store.svelte.ts +++ b/src/components/ide/demo-store.svelte.ts @@ -1,21 +1,32 @@ -import { initialSessions, workSteps, type DemoSession } from './demo-data'; +import { initialSessions, u, workSteps, type DemoSession } from './demo-data'; + +const POOL = ['api-limits', 'seed-data', 'ui-polish', 'e2e-flaky', 'sdk-docs', 'ci-matrix']; /** - * Simulación compartida por todas las pantallas de la maqueta: las sesiones cambian de estado - * con el tiempo, igual que en la app real, y cada pantalla muestra la misma "verdad". + * Simulación compartida por todas las pantallas de la maqueta: las sesiones cambian de estado con el tiempo, + * igual que en la app real, y cada pantalla muestra la misma "verdad". Una historia guionada recorre los casos + * más interesantes (permiso pendiente, salto a la sesión, aprobación, revisión) y se pausa cuando el visitante + * interactúa, para dejarle explorar. */ class DemoStore { sessions = $state(structuredClone(initialSessions)); focused = $state('a'); tick = $state(0); + caption = $state(''); + toast = $state(null); + playing = $state(true); private timer: ReturnType | undefined; private users = 0; + private idleUntil = 0; + private spawned = 0; + private storyAt = 0; /** Arranca la simulación mientras haya al menos una pantalla usándola. */ connect(): () => void { this.users++; if (!this.timer && !window.matchMedia('(prefers-reduced-motion: reduce)').matches) { + this.caption = u('s0'); this.timer = setInterval(() => this.step(), 2200); } return () => { @@ -27,39 +38,119 @@ class DemoStore { }; } + /** El visitante interactuó: la historia espera unos segundos para no pisarle lo que hace. */ + touch() { + this.idleUntil = Date.now() + 14000; + } + + get(id: string) { + return this.sessions.find((s) => s.id === id); + } + + focus(id: string) { + this.touch(); + this.focused = id; + } + + approve(id: string) { + this.touch(); + this.transition(id, 'working', workSteps[0]); + } + + stop(id: string) { + this.touch(); + this.transition(id, 'idle', null); + } + + resume(id: string) { + this.touch(); + this.transition(id, 'working', workSteps[2]); + } + + spawn() { + this.touch(); + const name = POOL[this.spawned++ % POOL.length]; + const color = this.sessions.length % 8; + this.sessions.push({ + id: `n${this.spawned}`, + name, + branch: `mod0/${name}`, + color, + status: 'working', + since: 0, + now: workSteps[0], + additions: 0, + deletions: 0, + files: 0, + context: 0.05, + turns: 1, + message: '', + }); + this.focused = `n${this.spawned}`; + } + + togglePlay() { + this.playing = !this.playing; + this.idleUntil = 0; + } + + restart() { + this.sessions = structuredClone(initialSessions); + this.focused = 'a'; + this.storyAt = 0; + this.toast = null; + this.caption = u('s0'); + this.idleUntil = 0; + this.playing = true; + } + + /** Guion: [segundos desde el inicio, subtítulo, acción]. */ + private script: Array<[number, string, (() => void) | undefined]> = [ + [1, 's1', () => (this.toast = `payments-webhook ${u('needsYou')}`)], + [3, 's2', () => (this.focused = 'b')], + [5, 's3', () => (this.transition('b', 'working', workSteps[0]), (this.toast = null))], + [7, 's4', undefined], + [ + 9, + 's5', + () => ( + this.transition('a', 'waiting', { family: 'exec', label: 'git push origin' }), + (this.toast = `auth-refactor ${u('needsYou')}`), + (this.focused = 'a') + ), + ], + [11, 's6', () => (this.transition('a', 'working', workSteps[3]), (this.toast = null))], + [13, 's7', () => (this.transition('e', 'review', null), (this.toast = `perf-queries ${u('readyReview')}`))], + [15, 's8', () => (this.transition('d', 'idle', null), (this.toast = null))], + [18, 's0', () => this.restart()], + ]; + private step() { - this.tick++; for (const session of this.sessions) session.since += 2; + if (!this.playing) return; + this.tick++; + // El paso actual de las sesiones que trabajan va rotando. const working = this.sessions.filter((s) => s.status === 'working'); const pick = working[this.tick % Math.max(working.length, 1)]; - - // El paso actual de la sesión que trabaja va rotando. if (pick) { pick.now = workSteps[(this.tick + pick.turns) % workSteps.length]; pick.additions += 1 + (this.tick % 5); pick.context = Math.min(0.95, pick.context + 0.004); } - // Cada cierto tiempo una sesión se bloquea pidiendo permiso, y otra termina y pasa a revisión. - if (this.tick % 6 === 3 && working.length > 1) - this.transition(working[0], 'waiting', { family: 'exec', label: 'git push origin' }); - if (this.tick % 6 === 0) { - const blocked = this.sessions.find((s) => s.status === 'waiting'); - if (blocked) this.transition(blocked, 'working', workSteps[0]); - } - if (this.tick % 9 === 7 && working.length > 2) this.transition(working[working.length - 1], 'review', null); - if (this.tick % 9 === 2) { - const reviewed = this.sessions.find((s) => s.status === 'review'); - if (reviewed) this.transition(reviewed, 'idle', null); - } - if (this.tick % 12 === 11) { - const idle = this.sessions.find((s) => s.status === 'idle'); - if (idle) this.transition(idle, 'working', workSteps[2]); + if (Date.now() < this.idleUntil) return; + this.storyAt++; + const entry = this.script.find(([at]) => at === this.storyAt); + if (entry) { + this.caption = u(entry[1]); + entry[2]?.(); } } - private transition(session: DemoSession, status: DemoSession['status'], now: DemoSession['now']) { + private transition(id: string, status: DemoSession['status'], now: DemoSession['now']) { + const session = this.get(id); + if (!session) return; session.status = status; session.since = 0; session.now = now; diff --git a/src/components/islands/TargetCursor.tsx b/src/components/islands/TargetCursor.tsx index 70211fe..c27c035 100644 --- a/src/components/islands/TargetCursor.tsx +++ b/src/components/islands/TargetCursor.tsx @@ -47,19 +47,14 @@ const TargetCursor: React.FC = ({ const isMobile = useMemo(() => { if (typeof window === 'undefined') return false; - const hasTouchScreen = 'ontouchstart' in window || navigator.maxTouchPoints > 0; - - // Solo punteros precisos con hover (ratón/trackpad): en táctiles no tiene sentido ni se paga su costo. - if (!window.matchMedia('(hover: hover) and (pointer: fine)').matches) return true; - - const isSmallScreen = window.innerWidth <= 1024; + // Solo se activa si hay un puntero preciso con hover (ratón o trackpad). `any-*` cubre portátiles 2 en 1 y + // pantallas táctiles con ratón conectado, donde el puntero "principal" puede ser el dedo. + // Ya no se usa el ancho de ventana: con DevTools acoplado la ventana se estrecha y el cursor desaparecía + // en local aunque en el deploy (ventana completa) sí se veía. + if (!window.matchMedia('(any-hover: hover) and (any-pointer: fine)').matches) return true; const userAgent = navigator.userAgent || navigator.vendor || (window as any).opera; - - const mobileRegex = /android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i; - - const isMobileUserAgent = mobileRegex.test(userAgent.toLowerCase()); - return (hasTouchScreen && isSmallScreen) || isMobileUserAgent; + return /android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(userAgent.toLowerCase()); }, []); const constants = useMemo(() => ({ borderWidth: 6, cornerSize: 24 }), []); diff --git a/src/components/islands/Terminal.tsx b/src/components/islands/Terminal.tsx index 1cfc281..e2413f3 100644 --- a/src/components/islands/Terminal.tsx +++ b/src/components/islands/Terminal.tsx @@ -228,7 +228,7 @@ export const Terminal = ({
- Mod0 Session + MOD0 Session
diff --git a/src/components/products/Mod0.astro b/src/components/products/Mod0.astro index 036e0c1..0845da9 100644 --- a/src/components/products/Mod0.astro +++ b/src/components/products/Mod0.astro @@ -66,7 +66,7 @@ const gallery = ['sessions', 'graph', 'project', 'review', 'kanban'] as const; const galleryFile: Record<(typeof gallery)[number], string> = { sessions: 'sessions', graph: 'thinking-graph', - project: 'files-graph', + project: 'files-impact', review: 'review', kanban: 'kanban', }; diff --git a/src/config/products/mod0/future-news.ts b/src/config/products/mod0/future-news.ts index e435166..601d0fd 100644 --- a/src/config/products/mod0/future-news.ts +++ b/src/config/products/mod0/future-news.ts @@ -1,36 +1,43 @@ import type { FutureNewsConfig } from '@/types/future-news-config'; export const MOD0_FUTURE_NEWS: FutureNewsConfig = { - title: 'products.mod0.future_news.title', - subtitle: 'products.mod0.future_news.subtitle', - items: [ - { - label: 'products.mod0.future_news.v1.label', - title: 'products.mod0.future_news.v1.title', - description: 'products.mod0.future_news.v1.description', - icon: 'code', - color: 'slate' - }, - { - label: 'products.mod0.future_news.v2.label', - title: 'products.mod0.future_news.v2.title', - description: 'products.mod0.future_news.v2.description', - icon: 'puzzle-piece', - color: 'indigo' - }, - { - label: 'products.mod0.future_news.v3.label', - title: 'products.mod0.future_news.v3.title', - description: 'products.mod0.future_news.v3.description', - icon: 'sparkles', - color: 'purple' - }, - { - label: 'products.mod0.future_news.v4.label', - title: 'products.mod0.future_news.v4.title', - description: 'products.mod0.future_news.v4.description', - icon: 'squares-plus', - color: 'emerald' - } - ] -}; \ No newline at end of file + title: 'products.mod0.future_news.title', + subtitle: 'products.mod0.future_news.subtitle', + items: [ + { + label: 'products.mod0.future_news.v1.label', + title: 'products.mod0.future_news.v1.title', + description: 'products.mod0.future_news.v1.description', + icon: 'code', + color: 'slate', + }, + { + label: 'products.mod0.future_news.v2.label', + title: 'products.mod0.future_news.v2.title', + description: 'products.mod0.future_news.v2.description', + icon: 'puzzle-piece', + color: 'indigo', + }, + { + label: 'products.mod0.future_news.v3.label', + title: 'products.mod0.future_news.v3.title', + description: 'products.mod0.future_news.v3.description', + icon: 'bolt', + color: 'purple', + }, + { + label: 'products.mod0.future_news.v4.label', + title: 'products.mod0.future_news.v4.title', + description: 'products.mod0.future_news.v4.description', + icon: 'chart', + color: 'emerald', + }, + { + label: 'products.mod0.future_news.v5.label', + title: 'products.mod0.future_news.v5.title', + description: 'products.mod0.future_news.v5.description', + icon: 'cloud', + color: 'indigo', + }, + ], +}; diff --git a/src/config/social-links.ts b/src/config/social-links.ts index 88d646c..13b873c 100644 --- a/src/config/social-links.ts +++ b/src/config/social-links.ts @@ -3,12 +3,12 @@ import type { IconName } from "@/types/icon-name"; export const SOCIAL_LINKS = [ { name: 'GitHub', href: 'https://github.com/luishrosello', icon: 'github' }, { name: 'LinkedIn', href: 'https://linkedin.com/in/luishrosello', icon: 'linkedin' }, - { name: 'Facebook', href: 'https://www.facebook.com/luis.hernandez.rosello', icon: 'facebook' }, - { name: 'Instagram', href: 'https://www.instagram.com/luishrosello', icon: 'instagram' }, - { name: 'Threads', href: 'https://www.threads.com/@luishrosello', icon: 'threads' }, + { name: 'Facebook', href: 'https://www.facebook.com/luis.hernandez.rosello/', icon: 'facebook' }, + { name: 'Threads', href: 'https://x.com/LuisAlbert21854', icon: 'threads' }, + { name: 'Instagram', href: 'https://www.instagram.com/luishrosello/', icon: 'instagram' }, { name: 'X', href: 'https://x.com/LuisAlbert21854', icon: 'twitter' }, ] as { name: string; href: string; icon: IconName; -}[]; +}[]; \ No newline at end of file diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index 6a51f31..e372d66 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -31,7 +31,7 @@ "products": "Ecosystem", "resources": "Resources", "product_list": { - "mod0": "Mod0", + "mod0": "MOD0", "mod0_description": "Autonomous environment for real-time vibe coding" }, "resource_list": { @@ -61,7 +61,7 @@ "breadcrumb": { "home": "Home", "products": "Ecosystem", - "mod0": "Mod0", + "mod0": "MOD0", "resources": "Resources", "releases": "Download", "first-steps": "First-Steps", @@ -118,7 +118,7 @@ }, "no_prompt": { "title": "Promptless Orchestration", - "description": "Beyond chatbots. Mod0 infers intent from your architectural context and mental graphs automatically." + "description": "Beyond chatbots. MOD0 infers intent from your architectural context and mental graphs automatically." }, "token_strategy": { "title": "Token Strategy", @@ -147,9 +147,9 @@ }, "products": { "mod0": { - "name": "Mod0", + "name": "MOD0", "tagline": "Mission control for your AI CLI sessions.", - "description": "Run 8–15 Claude Code sessions in parallel without losing the thread. Mod0 wraps the CLI you already use and shows what each one is doing, which file it's touching and what it's thinking, so your attention goes to reviewing instead of babysitting.", + "description": "Run 8–15 Claude Code sessions in parallel without losing the thread. MOD0 wraps the CLI you already use and shows what each one is doing, which file it's touching and what it's thinking, so your attention goes to reviewing instead of babysitting.", "rotating_words": { "intelligent": "Glanceable", "agentic": "Parallel", @@ -157,7 +157,7 @@ "precise": "Calm", "modern": "Fast" }, - "get_started": "Download Mod0", + "get_started": "Download MOD0", "learn_more": "See docs", "features": { "title": "What it does for the way I work", @@ -173,7 +173,7 @@ }, "f3": { "title": "Your CLI, wrapped", - "description": "A real terminal per session running Claude Code, Codex, Gemini or whatever you configure. Mod0 doesn't replace your CLI, it gives it a cockpit." + "description": "A real terminal per session running Claude Code, Aider, OpenCode, Codex, Gemini or whatever you configure. MOD0 doesn't replace your CLI, it gives it a cockpit." }, "f4": { "title": "Zero extra tokens", @@ -196,8 +196,8 @@ "description": "Folders as modules, imports as arrows and live rings showing which session is touching what. The project at a glance." }, "f9": { - "title": "BYOK and local AI", - "description": "Your key and your model stay yours: set environment variables per profile (base URL, local endpoints) and the CLI does the rest." + "title": "Any provider", + "description": "Claude Code accepts compatible endpoints (OpenRouter, Z.ai, Qwen, DeepSeek or your own gateway), so you keep the full observation with other models. Keys stay in your system environment, referenced as $NAME." } } }, @@ -207,7 +207,7 @@ "steps": { "step_1": { "title": "Open the project", - "description": "Pick a folder. Mod0 reads the tree, the git branch and builds the module graph." + "description": "Pick a folder. MOD0 reads the tree, the git branch and builds the module graph." }, "step_2": { "title": "Launch sessions in parallel", @@ -233,10 +233,10 @@ }, "faq": { "title": "Frequently Asked Questions", - "subtitle": "What Mod0 is, what it isn't and how it works.", + "subtitle": "What MOD0 is, what it isn't and how it works.", "q1": { "q": "How is it different from Cursor, VS Code or Windsurf?", - "a": "Those are editors with AI inside. Mod0 is the opposite: the AI works in the CLI you already use and Mod0 is the cockpit to follow, triage and review many sessions at once. It isn't meant to replace your editor." + "a": "Those are editors with AI inside. MOD0 is the opposite: the AI works in the CLI you already use and MOD0 is the cockpit to follow, triage and review many sessions at once. It isn't meant to replace your editor." }, "q2": { "q": "Is it a commercial product?", @@ -252,15 +252,15 @@ }, "q5": { "q": "Is my code sent anywhere?", - "a": "No. Mod0 runs locally and only talks to the CLI you launch. The only network traffic it makes itself is the webhook you configure for alerts, if any." + "a": "No. MOD0 runs locally and only talks to the CLI you launch. The only network traffic it makes itself is the webhook you configure for alerts, if any." }, "q6": { - "q": "Can I use my own API keys or a local model?", - "a": "Yes. Each profile can define environment variables (for example a base URL for your own endpoint). Keep secrets in your system's environment variables rather than in the profile." + "q": "Can I use other providers or a local model?", + "a": "Yes. Claude Code can point to any Anthropic-compatible endpoint (OpenRouter, Z.ai, Qwen/DashScope, DeepSeek or your own gateway) and MOD0 keeps the full observation. For models without that endpoint, use Aider, OpenCode or Qwen Code. Keys live in your system environment variables and profiles reference them as $NAME." }, "q7": { "q": "Does it work with CLIs other than Claude Code?", - "a": "Yes: Codex, Gemini or any command can be a profile. You get the terminal, status inferred from activity and review; the thinking graph and exact states need Claude Code hooks." + "a": "Yes: Aider, OpenCode, Qwen Code, Codex, Gemini or any command can be a profile. You get the terminal, status inferred from activity and the review; the thinking graph, plan and exact states need Claude Code hooks." }, "q8": { "q": "What is the Kanban for?", @@ -269,32 +269,37 @@ }, "future_news": { "title": "Roadmap", - "subtitle": "What's built and what comes next.", + "subtitle": "What's built, what's in progress and what comes next.", "v1": { "label": "v0.2 · Mission Control", "title": "Mission control", "description": "Sessions, real terminals, thinking graph, project graph, review, kanban and alerts." }, "v2": { - "label": "v0.3 · Triggers", - "title": "Event-driven sessions", - "description": "Start a session when something happens: a new release, a failing CI, a ticket." + "label": "v0.3 · Any CLI", + "title": "Any CLI, any provider", + "description": "Plan tracking, hierarchical diagrams, an explorable project map with impact analysis, and profile templates for Claude Code with other providers, Aider, OpenCode, Qwen Code, Codex and Gemini." }, "v3": { - "label": "v0.4 · Insight", + "label": "v0.4 · Triggers", + "title": "Sessions by events", + "description": "Start a session when something happens: a new release, a failing CI, a ticket." + }, + "v4": { + "label": "v0.5 · Insight", "title": "Cost and context", "description": "Per-session spend, context trends and a history of what each session did." }, - "v4": { - "label": "v0.5 · Reach", - "title": "Beyond Claude Code", - "description": "Exact observation for more CLIs and a mobile companion for approvals." + "v5": { + "label": "v0.6 · Reach", + "title": "Remote and connectors", + "description": "Sessions that survive a dropped connection (Codespaces/SSH), MCP connectors (Jira, Notion) to plan outside the IDE, and a mobile companion for approvals." } }, "philosophy": { "tag": "Personal project", "title": "Built for one workflow: mine.", - "text": "Mod0 started as a commercial IDE. It isn't one anymore. Today it's the tool I build to run my own parallel AI sessions without burning out, published as it is: opinionated, open and in constant change." + "text": "MOD0 started as a commercial IDE. It isn't one anymore. Today it's the tool I build to run my own parallel AI sessions without burning out, published as it is: opinionated, open and in constant change." }, "tour": { "title": "Everything you need to follow 15 sessions at once", @@ -309,31 +314,31 @@ }, "graph": { "title": "Thinking Graph", - "description": "The reasoning of each session as a graph instead of a wall of text. Every step is a node: what it read, what it edited, what it ran and why.", - "b1": "Parallel calls branch out; old turns collapse on their own", - "b2": "The 'why' of each step comes from the transcript: zero extra tokens", - "b3": "Click a node to see the full command, prompt or file" + "description": "The reasoning of each session as a diagram instead of a wall of text: phases chained with arrows (explore → edit → verify → retry → done) plus the plan the AI keeps for itself.", + "b1": "Diagram or timeline; parallel calls branch out and old turns collapse", + "b2": "Retries after a failure are drawn as such, and the plan shows progress", + "b3": "The 'why' of each step comes from the transcript: zero extra tokens" }, "project": { "title": "Project graph", - "description": "The shape of the project, not file by file. Folders become modules, imports become arrows and every session lights up the module it's working in.", - "b1": "Adjustable depth, from top-level folders to leaf modules", - "b2": "Colored rings show which session touches what, live", + "description": "The shape of the project at the zoom you choose: top-level folders, second-level folders or individual files. See where each session works and what a change affects.", + "b1": "Double-click a folder to open it; changed files show M/U/A/D", + "b2": "Impact: highlights what depends on what the session changed", "b3": "TS/JS, Svelte, Vue, Astro, Python and Rust" }, "review": { "title": "Fast review", "description": "The real work is reviewing. Each session shows exactly what it changed against the commit it started from, file by file, with the untouched parts collapsed.", "b1": "Side-by-side diff, plus an editor when you want to tweak", - "b2": "Mark files as reviewed and watch your progress", - "b3": "Commit and approve from the same screen" + "b2": "Changed files as a flat list or grouped by folder, like your editor's source control", + "b3": "Mark files as reviewed, commit and approve from the same screen" }, "kanban": { "title": "Kanban linked to sessions", "description": "Tasks that start sessions and move on their own. Launch a card into its own worktree and it follows the session: in progress, in review, done.", "b1": "One board per project", "b2": "Isolated worktrees so sessions don't step on each other", - "b3": "Drag and drop; the CLI does the work" + "b3": "Drag and drop cards; start a session from any task" } }, "labels": { @@ -378,7 +383,7 @@ }, "observer": { "title": "It watches without spending a single token", - "subtitle": "No proxy, no extra model calls: Mod0 listens to what Claude Code already reports.", + "subtitle": "No proxy, no extra model calls: MOD0 listens to what Claude Code already reports.", "steps": { "cli": { "title": "Your CLI, untouched", @@ -445,7 +450,7 @@ "contact": { "cta": "Contact Us", "title": "Start building with Modus Zero", - "subtitle": "Join thousands of developers using Mod0 to exploit their efficiency.", + "subtitle": "Join thousands of developers using MOD0 to exploit their efficiency.", "email_label": "Questions? Reach out to our team:", "benefits": { "b1": "No credit card required", diff --git a/src/i18n/locales/es.json b/src/i18n/locales/es.json index c31600e..6b544c8 100644 --- a/src/i18n/locales/es.json +++ b/src/i18n/locales/es.json @@ -31,7 +31,7 @@ "products": "Ecosistema", "resources": "Recursos", "product_list": { - "mod0": "Mod0", + "mod0": "MOD0", "mod0_description": "Entorno autónomo para codificación auténtica (vibe coding) en tiempo real" }, "resource_list": { @@ -61,7 +61,7 @@ "breadcrumb": { "home": "Inicio", "products": "Ecosistema", - "mod0": "Mod0", + "mod0": "MOD0", "resources": "Recursos", "releases": "Descargar", "first-steps": "Primeros Pasos", @@ -118,7 +118,7 @@ }, "no_prompt": { "title": "Orquestación Sin Prompt", - "description": "Más allá de los chatbots. Mod0 infiere la intención desde tu contexto arquitectónico y grafos mentales automáticamente." + "description": "Más allá de los chatbots. MOD0 infiere la intención desde tu contexto arquitectónico y grafos mentales automáticamente." }, "token_strategy": { "title": "Eficiencia de Tokens", @@ -147,9 +147,9 @@ }, "products": { "mod0": { - "name": "Mod0", + "name": "MOD0", "tagline": "Mission control para tus sesiones de CLI con IA.", - "description": "Corre 8–15 sesiones de Claude Code en paralelo sin perder el hilo. Mod0 envuelve la CLI que ya usas y muestra qué hace cada una, qué archivo toca y qué está pensando, para que tu atención vaya a revisar y no a vigilar.", + "description": "Corre 8–15 sesiones de Claude Code en paralelo sin perder el hilo. MOD0 envuelve la CLI que ya usas y muestra qué hace cada una, qué archivo toca y qué está pensando, para que tu atención vaya a revisar y no a vigilar.", "rotating_words": { "intelligent": "Visible", "agentic": "Paralelo", @@ -157,7 +157,7 @@ "precise": "Sereno", "modern": "Veloz" }, - "get_started": "Descargar Mod0", + "get_started": "Descargar MOD0", "learn_more": "Ver documentación", "features": { "title": "Lo que hace por mi forma de trabajar", @@ -173,7 +173,7 @@ }, "f3": { "title": "Tu CLI, envuelta", - "description": "Una terminal real por sesión con Claude Code, Codex, Gemini o lo que configures. Mod0 no reemplaza tu CLI, le da una cabina." + "description": "Una terminal real por sesión con Claude Code, Aider, OpenCode, Codex, Gemini o lo que configures. MOD0 no reemplaza tu CLI, le da una cabina." }, "f4": { "title": "Cero tokens extra", @@ -196,8 +196,8 @@ "description": "Carpetas como módulos, imports como flechas y anillos en vivo con qué sesión toca qué. El proyecto de un vistazo." }, "f9": { - "title": "BYOK e IA local", - "description": "Tu clave y tu modelo siguen siendo tuyos: define variables de entorno por perfil (URL base, endpoints locales) y la CLI hace el resto." + "title": "Cualquier proveedor", + "description": "Claude Code acepta endpoints compatibles (OpenRouter, Z.ai, Qwen, DeepSeek o tu propio gateway), así conservas toda la observación con otros modelos. Las claves quedan en el entorno del sistema, referenciadas como $NOMBRE." } } }, @@ -207,7 +207,7 @@ "steps": { "step_1": { "title": "Abre el proyecto", - "description": "Elige una carpeta. Mod0 lee el árbol, la rama de git y construye el grafo de módulos." + "description": "Elige una carpeta. MOD0 lee el árbol, la rama de git y construye el grafo de módulos." }, "step_2": { "title": "Lanza sesiones en paralelo", @@ -233,10 +233,10 @@ }, "faq": { "title": "Preguntas frecuentes", - "subtitle": "Qué es Mod0, qué no es y cómo funciona.", + "subtitle": "Qué es MOD0, qué no es y cómo funciona.", "q1": { "q": "¿En qué se diferencia de Cursor, VS Code o Windsurf?", - "a": "Esos son editores con IA dentro. Mod0 es lo contrario: la IA trabaja en la CLI que ya usas y Mod0 es la cabina para seguir, priorizar y revisar muchas sesiones a la vez. No pretende reemplazar tu editor." + "a": "Esos son editores con IA dentro. MOD0 es lo contrario: la IA trabaja en la CLI que ya usas y MOD0 es la cabina para seguir, priorizar y revisar muchas sesiones a la vez. No pretende reemplazar tu editor." }, "q2": { "q": "¿Es un producto comercial?", @@ -252,15 +252,15 @@ }, "q5": { "q": "¿Mi código se envía a algún sitio?", - "a": "No. Mod0 corre en local y solo habla con la CLI que lanzas. El único tráfico de red propio es el webhook que configures para avisos, si lo hay." + "a": "No. MOD0 corre en local y solo habla con la CLI que lanzas. El único tráfico de red propio es el webhook que configures para avisos, si lo hay." }, "q6": { - "q": "¿Puedo usar mis propias claves o un modelo local?", - "a": "Sí. Cada perfil puede definir variables de entorno (por ejemplo una URL base para tu propio endpoint). Guarda los secretos en las variables de entorno del sistema y no en el perfil." + "q": "¿Puedo usar otros proveedores o un modelo local?", + "a": "Sí. Claude Code puede apuntar a cualquier endpoint compatible con Anthropic (OpenRouter, Z.ai, Qwen/DashScope, DeepSeek o tu propio gateway) y MOD0 mantiene toda la observación. Para modelos sin ese endpoint, usa Aider, OpenCode o Qwen Code. Las claves viven en las variables de entorno del sistema y los perfiles las referencian como $NOMBRE." }, "q7": { "q": "¿Funciona con otras CLI además de Claude Code?", - "a": "Sí: Codex, Gemini o cualquier comando puede ser un perfil. Obtienes la terminal, el estado inferido por actividad y la revisión; el thinking graph y los estados exactos requieren los hooks de Claude Code." + "a": "Sí: Aider, OpenCode, Qwen Code, Codex, Gemini o cualquier comando puede ser un perfil. Obtienes la terminal, el estado inferido por actividad y la revisión; el thinking graph, el plan y los estados exactos requieren los hooks de Claude Code." }, "q8": { "q": "¿Para qué sirve el Kanban?", @@ -269,32 +269,37 @@ }, "future_news": { "title": "Hoja de ruta", - "subtitle": "Lo que ya está y lo que viene.", + "subtitle": "Lo que ya está, lo que está en marcha y lo que viene.", "v1": { "label": "v0.2 · Mission Control", "title": "Mission control", "description": "Sesiones, terminales reales, thinking graph, grafo del proyecto, revisión, kanban y avisos." }, "v2": { - "label": "v0.3 · Triggers", + "label": "v0.3 · Cualquier CLI", + "title": "Cualquier CLI, cualquier proveedor", + "description": "Plan de la sesión, diagramas jerárquicos, un mapa del proyecto explorable con análisis de impacto y plantillas de perfiles para Claude Code con otros proveedores, Aider, OpenCode, Qwen Code, Codex y Gemini." + }, + "v3": { + "label": "v0.4 · Triggers", "title": "Sesiones por eventos", "description": "Lanza una sesión cuando pasa algo: un release nuevo, un CI que falla, un ticket." }, - "v3": { - "label": "v0.4 · Insight", + "v4": { + "label": "v0.5 · Insight", "title": "Costo y contexto", "description": "Gasto por sesión, tendencias de contexto e historial de lo que hizo cada una." }, - "v4": { - "label": "v0.5 · Alcance", - "title": "Más allá de Claude Code", - "description": "Observación exacta para más CLI y un acompañante móvil para aprobaciones." + "v5": { + "label": "v0.6 · Alcance", + "title": "Remoto y conectores", + "description": "Sesiones que sobreviven a un corte de conexión (Codespaces/SSH), conectores MCP (Jira, Notion) para planear fuera del IDE y un acompañante móvil para aprobaciones." } }, "philosophy": { "tag": "Proyecto personal", "title": "Hecho para un solo flujo: el mío.", - "text": "Mod0 nació como un IDE comercial. Ya no lo es. Hoy es la herramienta que construyo para correr mis propias sesiones de IA en paralelo sin quemarme, publicada tal cual: con opiniones, abierta y en cambio constante." + "text": "MOD0 nació como un IDE comercial. Ya no lo es. Hoy es la herramienta que construyo para correr mis propias sesiones de IA en paralelo sin quemarme, publicada tal cual: con opiniones, abierta y en cambio constante." }, "tour": { "title": "Todo lo necesario para seguirle el hilo a 15 sesiones a la vez", @@ -309,31 +314,31 @@ }, "graph": { "title": "Thinking Graph", - "description": "El razonamiento de cada sesión como un grafo en vez de un muro de texto. Cada paso es un nodo: qué leyó, qué editó, qué ejecutó y por qué.", - "b1": "Las llamadas paralelas se ramifican; los turnos viejos se colapsan solos", - "b2": "El «por qué» de cada paso sale del transcript: cero tokens extra", - "b3": "Haz clic en un nodo para ver el comando, prompt o archivo completo" + "description": "El razonamiento de cada sesión como un diagrama en vez de un muro de texto: fases encadenadas con flechas (explorar → editar → verificar → reintentar → listo) y el plan que la IA se va marcando.", + "b1": "Diagrama o cronología; las llamadas paralelas se ramifican y los turnos viejos se colapsan", + "b2": "Los reintentos tras un fallo se dibujan como tales y el plan muestra el avance", + "b3": "El «por qué» de cada paso sale del transcript: cero tokens extra" }, "project": { "title": "Grafo del proyecto", - "description": "La forma del proyecto, no archivo por archivo. Las carpetas son módulos, los imports son flechas y cada sesión ilumina el módulo donde trabaja.", - "b1": "Profundidad ajustable, de carpetas raíz a módulos hoja", - "b2": "Anillos de color muestran qué sesión toca qué, en vivo", + "description": "La forma del proyecto al zoom que elijas: carpetas raíz, carpetas de segundo nivel o archivos sueltos. Ve dónde trabaja cada sesión y qué afecta un cambio.", + "b1": "Doble clic en una carpeta para abrirla; los archivos cambiados muestran M/U/A/D", + "b2": "Impacto: resalta lo que depende de lo que cambió la sesión", "b3": "TS/JS, Svelte, Vue, Astro, Python y Rust" }, "review": { "title": "Revisión ágil", "description": "El trabajo real es revisar. Cada sesión muestra exactamente qué cambió respecto al commit con el que empezó, archivo por archivo, con lo intacto colapsado.", "b1": "Diff lado a lado y un editor para cuando quieras retocar", - "b2": "Marca archivos como revisados y mira tu avance", - "b3": "Haz commit y aprueba desde la misma pantalla" + "b2": "Archivos cambiados en lista plana o agrupados por carpeta, como el control de versiones de tu editor", + "b3": "Marca archivos como revisados, haz commit y aprueba desde la misma pantalla" }, "kanban": { "title": "Kanban ligado a sesiones", "description": "Tareas que lanzan sesiones y se mueven solas. Lanza una tarjeta en su propio worktree y sigue a la sesión: en curso, en revisión, hecha.", "b1": "Un tablero por proyecto", "b2": "Worktrees aislados para que las sesiones no se pisen", - "b3": "Arrastra y suelta; la CLI hace el trabajo" + "b3": "Arrastra y suelta tarjetas; lanza una sesión desde cualquier tarea" } }, "labels": { @@ -378,7 +383,7 @@ }, "observer": { "title": "Observa sin gastar un solo token", - "subtitle": "Sin proxy ni llamadas extra a un modelo: Mod0 escucha lo que Claude Code ya reporta.", + "subtitle": "Sin proxy ni llamadas extra a un modelo: MOD0 escucha lo que Claude Code ya reporta.", "steps": { "cli": { "title": "Tu CLI, intacta", @@ -445,7 +450,7 @@ "contact": { "cta": "Contáctanos", "title": "Comienza a construir con Modus Zero", - "subtitle": "Únete a miles de desarrolladores que usan Mod0 para explotar su eficiencia.", + "subtitle": "Únete a miles de desarrolladores que usan MOD0 para explotar su eficiencia.", "email_label": "¿Alguna pregunta? Contacta a nuestro equipo:", "benefits": { "b1": "No requiere tarjeta de crédito", diff --git a/src/styles/global.css b/src/styles/global.css index 8697cdb..8304676 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -65,15 +65,14 @@ text-shadow: 0 0 15px rgb(0, 0, 0); } - /* El cursor nativo solo se oculta cuando el cursor personalizado está activo (ratón/trackpad). */ + /* El cursor nativo se oculta por completo mientras el cursor personalizado está activo (ratón/trackpad). + `!important` es necesario: utilidades como `cursor-pointer` y los estilos del navegador para enlaces, + botones y etiquetas lo volverían a mostrar encima del personalizado. */ html.has-target-cursor, - html.has-target-cursor a, - html.has-target-cursor button, - html.has-target-cursor input, - html.has-target-cursor textarea, - html.has-target-cursor summary, - html.has-target-cursor [role='button'] { - cursor: none; + html.has-target-cursor *, + html.has-target-cursor *::before, + html.has-target-cursor *::after { + cursor: none !important; } .cursor-target {