Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
W
www
  • Overview
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 1
    • Issues 1
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • PLN
  • www
  • Repository

Switch branch/tag
  • www
  • app
  • talks
  • page.js
Find file
BlameHistoryPermalink
  • PLN (Algolia)'s avatar
    feat(app-router): migrate landing + content routes to App Router · e1595147
    Step 3 (group 1 of 3) of the foundation redesign. Stands up the root
    App-Router shell and moves the low-risk static/content routes onto it,
    leaving ParVagues + CosmicFest on the Pages Router for now (no route URL
    changes — the smoke net stays green across the split).
    
    - app/layout.tsx: the one root shell (<html>/<body> + global CSS), with
      the shared <head> (OG/twitter/icons/title template) consolidated from
      components/layout.js into the Metadata API.
    - Migrated: / , /talks, /starry-nights, /hydra, /hydra/[id],
      /post/[id], /poesie/[id], /poesie, /fleurs. getStaticProps -> inline
      server fetch; getStaticPaths -> generateStaticParams; <Head> -> metadata.
    - components/layout.js: now a client component using next/navigation
      (router.back) instead of next/router; <Head> removed.
    - Client boundaries split out where needed: HydraClient (ssr:false dynamic),
      PoemsBrowser (filter/sort state), FleursClient (p5 + styled-jsx).
    - Deprecation sweep: dropped next/link legacyBehavior (talks, starry-nights;
      they wrapped invalid nested anchors) and the render-blocking Google Fonts
      <link> on /fleurs (now next/font Cormorant Garamond). Removed dead
      ReactPlayer import on /talks.
    - tsconfig moduleResolution -> bundler; added .yarn/sdks (PnP TS SDK for
      editors). next.config: skip Next's build-time type-check — its generated
      route validators deep-import a Next-internal type that stock (non-PnP)
      tsc can't resolve in Yarn PnP zips; SWC compile + lint + smoke are the gates.
    
    Build green (App + Pages split); route-smoke 14/14.
    Co-Authored-By: 's avatarClaude Opus 4.8 (1M context) <noreply@anthropic.com>
    PLN (Algolia) authored Jun 07, 2026
    e1595147
page.js 2.07 KB
EditWeb IDE
×

Replace page.js

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.