Skip to content

Fix deploy failure and add mobile table of contents - #6

Open
pratik-mahalle wants to merge 2 commits into
mainfrom
fix/node-version-deprecation
Open

Fix deploy failure and add mobile table of contents#6
pratik-mahalle wants to merge 2 commits into
mainfrom
fix/node-version-deprecation

Conversation

@pratik-mahalle

Copy link
Copy Markdown

Summary

  • Upgrade Node.js from 18 to 20 (.nvmrc, package.json engines, Dockerfile) — Node 18 is EOL and was causing the deploy to fail with a deprecation error
  • Add a mobile table of contents to the enterprise theme: the desktop TOC sidebar is hidden lg:block with no fallback below 1024px, so mobile/tablet readers never saw a TOC. Adds a "Table of contents" button that opens the same heading list in a bottom-sheet dialog on smaller screens.

Test plan

  • pnpm typecheck passes in packages/blog-starter-kit/themes/enterprise
  • Verify build succeeds on the deploy platform with Node 20
  • Load a published post with headings on a narrow viewport and confirm the mobile TOC button opens the sheet and links scroll/jump correctly
  • Confirm desktop TOC sidebar still renders unchanged at ≥1024px

🤖 Generated with Claude Code

Node 18 reached EOL and is flagged as deprecated by the deploy platform, causing builds to fail.
The desktop TOC sidebar is hidden below the lg breakpoint with no
fallback, so mobile/tablet readers never saw a table of contents.
Adds a button that opens the same heading list in a bottom-sheet
dialog on smaller screens.
@vercel

vercel Bot commented Aug 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
hashnode-blog Error Error Aug 4, 2026 7:16am

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant