Skip to content

Add blog section to marketing site#528

Open
tanishqsh wants to merge 3 commits into
mainfrom
feat/blog-section
Open

Add blog section to marketing site#528
tanishqsh wants to merge 3 commits into
mainfrom
feat/blog-section

Conversation

@tanishqsh

Copy link
Copy Markdown
Contributor

Ports the blog from the developers dev site into this repo's Vite SPA + Vocs hybrid.

What's included

  • /blog index — featured hero + client-side category filter tabs
  • /blog/[slug] post pages — .blog-prose styled, Shiki-highlighted code
  • Homepage BlogSection ("Dive deeper into Tempo's engineering"), plus Blog links in the header nav and footer
  • Markdown is rendered to HTML at build time via a Vite plugin exposing virtual:blog-posts, so Shiki/unified stay out of the client bundle (no gray-matter — tiny frontmatter parser instead)
  • Dev middleware serves the SPA for /blog/*; the prod marketing build generates a static /blog/<slug>/index.html per post with correct title/OG (section=BLOG)

Content

  • Posts live in blogs/*.md (kebab-case; ALL-CAPS files are author docs)
  • A blogs/drafts/ subfolder is excluded from the site
  • Adds the T6 network upgrade post (featured)
  • Keeps mpp-credits as a draft (not published)

Verification

  • pnpm check:types passes
  • pnpm build succeeds; static copies + per-post OG generated
  • Dev server serves /blog, /blog/t6

Port the blog from the developers dev site into the Vite SPA + Vocs hybrid:
- /blog index (featured hero + category filters) and /blog/[slug] post pages
- Markdown rendered to HTML at build time via a Vite plugin (virtual:blog-posts)
  with Shiki highlighting, keeping markdown libs out of the client bundle
- Homepage BlogSection, Blog links in header nav and footer, .blog-prose styles
- Dev middleware + static per-post copies (title/OG) for the dynamic route
- Posts live in /blogs; drafts/ subfolder is excluded from the site

Add T6 network upgrade post; keep mpp-credits as a draft.

Amp-Thread-ID: https://ampcode.com/threads/T-019ef1ea-95a8-747f-8f7d-a5cc5deb7b97
Co-authored-by: Amp <amp@ampcode.com>
@vercel

vercel Bot commented Jun 23, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
tempo-docs Ready Ready Preview, Comment Jun 23, 2026 1:40am

Request Review

The Vocs Vercel adapter copies dist/public into .vercel/output/static
during the main Vocs build, before the marketing build runs, so the
marketing build's per-post static copies never reach Vercel. Only
src/pages-driven SSG output is served, so /blog worked but /blog/<slug>
fell through to the SSR 404.

Add a Waku dynamic route src/pages/blog/[slug].tsx with
getConfig({ render: 'static', staticPaths }) so each published post is
statically pre-rendered into .vercel/output/static with per-post title
and OG tags. MarketingRoute now accepts an arbitrary route string and
optional metadata.

Amp-Thread-ID: https://ampcode.com/threads/T-019ef1ea-95a8-747f-8f7d-a5cc5deb7b97
Co-authored-by: Amp <amp@ampcode.com>
Delete the drafted mpp-credits post (and the now-empty drafts/ folder)
and its unused public/blog/mpp-hackathon-venue.png. T6 is the only post.

Amp-Thread-ID: https://ampcode.com/threads/T-019ef1ea-95a8-747f-8f7d-a5cc5deb7b97
Co-authored-by: Amp <amp@ampcode.com>
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