Commit Graph

19 Commits

Author SHA1 Message Date
kbot
c510abe875 feat: add static tag pages 2026-06-03 10:43:55 -05:00
Krishna Ayyalasomayajula
521f10af90 fix: tolerate empty posts directory with turbopackOptional 2026-06-02 13:07:58 -05:00
Krishna Ayyalasomayajula
8da6a3f5ed posts: replace MDXRemote with @next/mdx dynamic import, remove remark/rehype plugin config from page 2026-06-02 01:09:33 -05:00
Krishna Ayyalasomayajula
17eac2c406 fix: replace post title in cover image alt text with generic description 2026-06-01 23:34:00 -05:00
Krishna Ayyalasomayajula
a44d8eaddc fix: enable line numbers on all code blocks via filterMetaString 2026-06-01 23:20:43 -05:00
Krishna Ayyalasomayajula
4717dde7a2 fix: add lineNumbers: true to rehype-pretty-code config
- Adds lineNumbers: true so data-line-numbers attribute is generated
- Enables CSS counter-based line numbers in code blocks
- Follows up on mega-review finding
2026-06-01 23:00:33 -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
7a17d4c538 feat: cover image display + date formatting + footer spacing
- PostCard: render coverImage above meta/content with lazy loading
- Post detail: render coverImage below title with lazy loading
- Format dates via toLocaleDateString (e.g. Jan 15, 2025)
- Footer top margin: mt-20 → mt-16
2026-06-01 22:50:10 -05:00
Krishna Ayyalasomayajula
bf93e2cf45 feat: install @rehype-pretty/transformers + configure dual themes
- Add @rehype-pretty/transformers dependency
- Add transformerCopyButton import
- Replace github-dark single theme with github-light/github-dark-dimmed dual theme
- Add keepBackground: false, grid: true, onVisitLine fix
- Add onVisitTitle with VS Code dot indicators (red/yellow/green)
- Add transformerCopyButton with visibility hover and 2.5s feedback
2026-06-01 22:39:05 -05:00
Krishna Ayyalasomayajula
769a52b924 chore: final build validation and cleanup 2026-06-01 21:40:50 -05:00
Krishna Ayyalasomayajula
fac252efa9 feat: display author, tags, and reading time on post pages and cards 2026-06-01 21:37:57 -05:00
Krishna Ayyalasomayajula
0a1032d1ee style: unify typography — use heading-xl/lg/md utilities in all pages 2026-06-01 21:33:23 -05:00
Krishna Ayyalasomayajula
e1944ec7fd feat: add rehype-external-links for external link security 2026-06-01 21:31:02 -05:00
Krishna Ayyalasomayajula
0d44f5be6e feat: add remark-smartypants for typographic improvements 2026-06-01 21:28:25 -05:00
Krishna Ayyalasomayajula
34525ffd83 fix: compute reading time from post content not title 2026-06-01 21:25:57 -05:00
Krishna Ayyalasomayajula
d679b804fc feat: add rehype-slug for TableOfContents heading IDs 2026-06-01 21:22:49 -05:00
Krishna Ayyalasomayajula
6dc42c1ba8 fix: fix empty post bodies — stop double-compiling MDX 2026-06-01 21:20:44 -05:00
Krishna Ayyalasomayajula
8d17fe4307 feat: wire header, footer, and scroll effects into layout 2026-06-01 20:31:34 -05:00
Krishna Ayyalasomayajula
60564f4412 feat: add individual post page with MDXRemote rendering 2026-06-01 19:47:35 -05:00