Repository navigation
feat(blog): add a blog and the first post - #130
Conversation
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014fqP2nx53QNhiJiqzmidQM
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014fqP2nx53QNhiJiqzmidQM
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
React Doctor found 4 new issues in 2 files · 4 warnings · score 85 / 100 (Great) · 0 fixed · vs 4 warnings
Reviewed by React Doctor for commit |
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014fqP2nx53QNhiJiqzmidQM
The page layout draws the title in letter tiles. A post title is a sentence, and it went off the top and bottom of the image. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014fqP2nx53QNhiJiqzmidQM
| <p className="text-lg text-zinc-600 dark:text-zinc-300"> | ||
| Short posts about things I build, break, and figure out. There | ||
| is a{" "} | ||
| <a href="/blog/feed.xml" className="lnk"> |
There was a problem hiding this comment.
React Doctor · react-doctor/nextjs-no-a-element (warning)
Plain reloads the whole page for internal links, so Next.js loses client-side navigation and prefetching.
Fix → import Link from 'next/link' for client-side navigation, prefetching, and preserved scroll position
| feed | ||
| </a>{" "} | ||
| too (or{" "} | ||
| <a href="/blog/rss.xml" className="lnk"> |
There was a problem hiding this comment.
React Doctor · react-doctor/nextjs-no-a-element (warning)
Plain reloads the whole page for internal links, so Next.js loses client-side navigation and prefetching.
Fix → import Link from 'next/link' for client-side navigation, prefetching, and preserved scroll position
| All posts | ||
| </Link>{" "} | ||
| ·{" "} | ||
| <a href="/blog/feed.xml" className="lnk"> |
There was a problem hiding this comment.
React Doctor · react-doctor/nextjs-no-a-element (warning)
Plain reloads the whole page for internal links, so Next.js loses client-side navigation and prefetching.
Fix → import Link from 'next/link' for client-side navigation, prefetching, and preserved scroll position
| Feed | ||
| </a>{" "} | ||
| ·{" "} | ||
| <a href="/blog/rss.xml" className="lnk"> |
There was a problem hiding this comment.
React Doctor · react-doctor/nextjs-no-a-element (warning)
Plain reloads the whole page for internal links, so Next.js loses client-side navigation and prefetching.
Fix → import Link from 'next/link' for client-side navigation, prefetching, and preserved scroll position
What this adds
A small blog at
/blog, and the first post,/blog/find-the-link.postsarray insrc/lib/defs.ts, with aBlogPosttype. This follows the single source of truth rule./blogindex: date, title and description for each post.PostLayout,FigureandResultBlockcomponents insrc/components/blog/.generateOGImage./feed.xml) with their real dates.Blogis in the main nav and inslashPages.AGENTS.mdhas a section on how to add a post.There are no new dependencies. A post is a TSX page, the same as the other pages on the site.
Do not merge before launch
This is a draft because:
src/app/blog/find-the-link/page.tsx.github.com/jaspermayone/find-the-link, which is private until launch day.dateindefs.tsto the launch day.Things to decide
/more. At a 390 px width,/moregoes to a second line. If you do not want that, setshowInNav: falseon one item.Checks
bunx --bun next buildpasses./blog,/blog/find-the-linkand both OG images are static./feed.xmlcontains the post.🤖 Generated with Claude Code
https://claude.ai/code/session_014fqP2nx53QNhiJiqzmidQM