Commit Graph
8 Commits
Author SHA1 Message Date
Jonathan Summers-Muir 0956558eea fix: blog auto scroll post app router migration for blog (#41220)
Enhance TOC highlighting and anchor scroll in blog posts

Refactored useActiveAnchors hook to support smooth hash scrolling and improved TOC highlighting based on scroll position. Added options for custom selectors and offset, and updated BlogPostClient to enable scroll-to-anchor and TOC highlight functionality.
2025-12-10 14:56:25 -04:00
Francesco Sansalvadore 2feda5ee19 cms www blog (#38045)
* show cms blog posts in www
* remove contentlayer from www
* outputFileTracingExcludes
* update remotePatterns
* fetch cms posts server-side with revalidation
* add cms env vars to turbo.json
* add www env vars to turbo.json
* include cms posts in www sitemap
* add migration to remove image from cms post
* update cms meta image mapping in www
2025-09-03 14:49:28 +02:00
Francesco Sansalvadore 860de1f43d fix: ignore all dashes in anchor matching 2023-04-13 15:31:50 +02:00
Francesco Sansalvadore ca014d9fb3 fix: toc active on page refresh 2023-04-13 11:33:50 +02:00
Francesco Sansalvadore 3562f9697d feat: finish highlighting active toc label in blog post 2023-04-12 19:38:18 +02:00
Francesco Sansalvadore 69764be842 feat: add correct styling 2023-04-09 00:42:39 +02:00
Francesco Sansalvadore bdce77de2c feat: active toc link with ReactMarkdown 2023-04-08 19:48:50 +02:00
Francesco Sansalvadore 87865ec5cf chore: create useActiveAnchors hook and cleanup 2023-04-07 10:04:22 +02:00