buildmymcpserver/apps/web/app
Marco Sadjadi 2267daadd4
All checks were successful
Deploy to Production / deploy (push) Successful in 52s
perf(web): server-only StaticCodeBlock for above-the-fold marketing
PageSpeed Insights mobile reported LCP element render delay of 2.3s
on the hero — the largest visible element is the build.log <pre> with
"> Generating spec... OK ..." text. TTFB is 0ms (CF cache hit), so the
delay was pure client-side: Lighthouse waited for the JS bundle to
parse and the 'use client' CodeBlock boundary to hydrate before it
considered the element "rendered."

CodeBlock pulls in lucide-react (Copy/Check icons) plus a useState
boundary just for the copy button. Above the fold on marketing, none
of that is needed — the user just needs to see the snippet.

Split:
- New `static-code-block.tsx`: server component, no 'use client',
  no icons, no copy button. Pure SSR markup that paints with the HTML.
- Marketing landing now uses StaticCodeBlock for all three hero
  snippets (prompt.txt / build.log / claude_desktop_config.json).
- Interactive CodeBlock stays in use for dashboard pages where users
  actually want to copy snippets.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-26 23:30:41 +02:00
..
(dashboard) feat(web): app-like mobile dashboard — bottom tab bar, minimal top 2026-05-25 23:15:44 +02:00
(marketing) perf(web): server-only StaticCodeBlock for above-the-fold marketing 2026-05-26 23:30:41 +02:00
admin fix(admin): make whole support-ticket row clickable 2026-05-25 17:36:31 +02:00
docs fix(web): mobile-responsive hero, marketing site, docs and dashboard 2026-05-21 23:25:26 +02:00
login feat(login): custom CountryPicker — opens downward, searchable, ~150 countries 2026-05-25 21:38:36 +02:00
templates feat(web): drop 'newest' sort + width-cap categories on /templates 2026-05-26 19:27:57 +02:00
apple-icon.tsx feat(web): full SEO stack — metadata, JSON-LD, sitemap, robots, OG image 2026-05-21 19:16:40 +02:00
globals.css fix(preview): stop spec generation timing out behind the edge proxy 2026-05-21 23:52:48 +02:00
icon.svg fix(web): favicon matches nav-bar logo (monochrome outline, prefers-color-scheme) 2026-05-19 22:44:58 +02:00
layout.tsx feat(web): mobile-responsive /templates + drop pre-launch SiteBanner 2026-05-26 06:43:56 +02:00
manifest.ts feat(web): full SEO stack — metadata, JSON-LD, sitemap, robots, OG image 2026-05-21 19:16:40 +02:00
opengraph-image.tsx feat(web): full SEO stack — metadata, JSON-LD, sitemap, robots, OG image 2026-05-21 19:16:40 +02:00
robots.ts feat(web): full SEO stack — metadata, JSON-LD, sitemap, robots, OG image 2026-05-21 19:16:40 +02:00
sitemap.ts feat(web): full SEO stack — metadata, JSON-LD, sitemap, robots, OG image 2026-05-21 19:16:40 +02:00