Commit Graph

15 Commits

Author SHA1 Message Date
kbot
7c653f3852 feat: add Callout component with note/tip/warning/danger variants 2026-06-03 21:48:39 -05:00
opencode
f2b88f1130 style: refine mdx prose math and images 2026-06-03 11:30:13 -05:00
Krishna Ayyalasomayajula
f4db327d7a mdx: rename getMDXComponents to useMDXComponents convention, remove ClientButton 2026-06-02 01:06:12 -05:00
Krishna Ayyalasomayajula
a12b13f7d1 fix: use client-side ref to handle onclick string from transformerCopyButton 2026-06-01 23:31:20 -05:00
Krishna Ayyalasomayajula
ee791f450c fix: correct button override to spread all props and avoid nested buttons 2026-06-01 23:19:25 -05:00
Krishna Ayyalasomayajula
fe4261f58f fix: add button override to handle transformerCopyButton onclick string 2026-06-01 23:17:51 -05:00
Krishna Ayyalasomayajula
94b2afc914 chore: final build + lint + cleanup
- Run bun run build: succeeded
- Run bun run lint: no errors (3 img warnings acceptable)
- Fix any types in app/posts/[slug]/page.tsx with proper hast/rehype-pretty-code types
- Fix any type in mdx-components.tsx pre component with React.HTMLAttributes
- Remove unused language variable from mdx-components.tsx
- Verify all 3 posts render with <p> tags, code block syntax highlighting, and heading ids
2026-06-01 22:57:49 -05:00
Krishna Ayyalasomayajula
9d170e4a43 fix: unify heading typography with utility classes + add h4-h6
- app/page.tsx: h2 uses heading-md (was text-2xl font-semibold)
- app/not-found.tsx: h1 uses heading-xl (was text-4xl font-bold)
- Header.tsx: logo uses heading-sm (was text-xl font-extrabold)
- mdx-components.tsx: add h4/h5/h6 component overrides
- Remove all ad-hoc font-sans from headings
2026-06-01 22:43:27 -05:00
Krishna Ayyalasomayajula
2af31fa5c8 fix: enhance inline code styling in mdx-components
- Distinguish inline vs block code in <code> component
- Inline code: bg-ink/[0.06] light / bg-white/[0.08] dark, no language classes
- Block code: pass className through unchanged (no double-styling)
- <pre> component: remove bg-surface/rounded-xl/overflow-x-auto/p-4
- <pre> now relies on globals.css for block code styling
2026-06-01 22:42:02 -05:00
Krishna Ayyalasomayajula
769a52b924 chore: final build validation and cleanup 2026-06-01 21:40:50 -05:00
Krishna Ayyalasomayajula
6888df0c76 feat: enhance MDX link component with external link detection 2026-06-01 21:35:57 -05:00
Krishna Ayyalasomayajula
a7889135a1 feat: add missing MDX component overrides (ul, ol, figure, kbd, details, etc.) 2026-06-01 21:35:26 -05:00
Krishna Ayyalasomayajula
a65740ea2c style: update MDX component headings to use heading-xl/lg/md utilities 2026-06-01 21:34:04 -05:00
Krishna Ayyalasomayajula
648055f405 fix: spread props on MDX heading components to enable TOC IDs 2026-06-01 21:24:26 -05:00
Krishna Ayyalasomayajula
107c76e75c feat: add global MDX component overrides 2026-06-01 19:29:53 -05:00