Personal website
  • MDX 67%
  • TypeScript 31%
  • JavaScript 2%
Find a file
2026-09-07 01:43:41 +00:00
.github/workflows Bump GitHub Actions to checkout v7 and setup-node v7 2026-09-04 01:15:03 +00:00
public Add full-color logos and branded social links 2026-09-07 01:43:41 +00:00
scripts Derive About Markdown from page JSX 2026-09-07 00:47:50 +00:00
src Add full-color logos and branded social links 2026-09-07 01:43:41 +00:00
.gitattributes Add attributes please work 2023-05-09 18:26:09 +02:00
.gitignore YES 2026-08-21 22:27:58 +00:00
.node-version Update dependencies and unblock the toml security update 2026-09-04 01:10:15 +00:00
biome.json Update dependencies and unblock the toml security update 2026-09-04 01:10:15 +00:00
next-env.d.ts Work in progress 2026-08-15 11:00:12 +00:00
next.config.mjs Refine site typography and section links 2026-09-02 15:02:47 +00:00
package-lock.json Update dependencies and unblock the toml security update 2026-09-04 01:10:15 +00:00
package.json Update dependencies and unblock the toml security update 2026-09-04 01:10:15 +00:00
PRODUCT.md Refine site typography and section links 2026-09-02 15:02:47 +00:00
README.md Derive About Markdown from page JSX 2026-09-07 00:47:50 +00:00
tsconfig.json Work in progress 2026-08-15 11:00:12 +00:00
VISUAL.md Add full-color logos and branded social links 2026-09-07 01:43:41 +00:00

sancho.dev

About prose exports

Edit About prose in src/app/about/page.tsx. Its JSX is the source for both the page and aboutMarkdown in src/app/about/content.ts, used by /llms.txt, /llms-full.txt, and /blog/llms-full.txt.

The export reads the explicit child tree returned by AboutPage() and includes only Text paragraphs, in order. It preserves string whitespace and visible link text, with Markdown escaping and a blank line between paragraphs. It does not render HTML or call nested components. Headings, job and date rows, the gallery, navigation, and icons are outside this prose boundary.

Inside a paragraph, the reader supports strings, numbers, empty values, arrays, fragments, IconTextLink, and TextLink. Other inline markup causes an error. Before adding a new inline element, add explicit support in content.ts and check the generated exports with npm run ts and npm run build. Keep the canonical JSX in page.tsx.

Run the focused reader checks with node --experimental-strip-types --test scripts/about-content.test.mts. These use component stubs. The build checks the real page imports and Next.js route bundling.