Skip to content

chore: extract dashboard from livepeer/website - #1

Merged
adamsoffer merged 1 commit into
mainfrom
chore/extract-dashboard
May 29, 2026
Merged

chore: extract dashboard from livepeer/website#1
adamsoffer merged 1 commit into
mainfrom
chore/extract-dashboard

Conversation

@rickstaa

Copy link
Copy Markdown
Member

Summary

Restructure the inherited livepeer/website fork into a standalone dashboard project.

  • URL structure flipped: / is now Explore (public landing), /home is the signed-in dashboard, everything else drops the /dashboard/ prefix
  • Layouts: (app)/ for dashboard chrome (sidebar + Auth/Theme providers), (auth)/ for login/signup
  • Design system vendored: 8 UI primitives + LivepeerLogo moved to components/design-system/ — swap to @livepeer/design-system later via a single barrel-file change rather than touching 38 dashboard components
  • Fonts: Geist Sans/Mono replaces Favorit Pro; FOUT script targeting /foundation stripped
  • Marketing surface removed: (marketing)/ routes, components/{home,blog,primer,ecosystem,layout}, content/, plans/, brand docs, build-brand-kit, GA + Hotjar
  • Deps trimmed: dropped gray-matter, unified, remark-*, rehype-*, reading-time, instrument-serif; renamed package to livepeer-dashboard
  • globals.css: stripped marketing utilities + keyframes, kept the dashboard token layer intact
  • README.md + CLAUDE.md rewritten for the dashboard-only project

Stats

  • 281 files changed, 306 insertions, 28,210 deletions
  • Build passes, all 14 routes generate
  • 3 unused-var lint warnings remain (non-blocking)

Routes

URL Auth
/ public
/home required
/jobs, /usage, /keys, /settings required
/models/[id], /network public
/login, /signup public

Test plan

  • pnpm build — 14 routes generated, 0 errors
  • pnpm dev — local verification: Explore loads at /, model cards render with images, model detail page renders Playground/API/README/Stats/Jobs tabs
  • Smoke test from a clean clone after merge
  • (Follow-up, separate PR) Scrub marketing paths from history via git filter-repo

Follow-ups

  • Add Adam as collaborator if not already
  • Update repo description + topics on GitHub
  • git filter-repo pass to drop the marketing files from history (separate change so the cleanup commit is reviewable on its own)

Co-authored-by: Adam Soffer adam@livepeer.org

Restructure the inherited repo into a standalone dashboard project:

- Move dashboard routes to root: `/` = Explore (public), `/home` =
  signed-in home, drop the `/dashboard/` prefix elsewhere
- Reframe layouts: `(app)/` for the dashboard chrome (sidebar +
  Auth/Theme providers), `(auth)/` for login/signup (no sidebar)
- Vendor 8 UI primitives + LivepeerLogo into `components/design-system/`
  so the eventual swap to `@livepeer/design-system` is a single barrel
  change instead of touching 38 dashboard components
- Replace Favorit Pro with Geist Sans/Mono (Vercel's open font); strip
  the marketing FOUT script targeting `/foundation`
- Drop marketing surface: `(marketing)/` routes, `components/{home,
  blog,primer,ecosystem,layout}`, `content/`, `plans/`, brand docs,
  build-brand-kit script, GA/Hotjar analytics
- Drop marketing libs: `blog.ts`, `subgraph.ts`, `fonts.ts`,
  `ecosystem.ts`, `useCountUp.ts`
- Drop marketing public assets: videos, Favorit fonts, brand-assets,
  downloads, ecosystem images, primer images, marketing images
- Strip marketing utilities + keyframes from `globals.css`; keep the
  dashboard token layer intact
- Trim `package.json`: rename to `livepeer-dashboard`, drop
  gray-matter, unified, remark-*, rehype-*, reading-time, instrument-
  serif
- Rewrite README.md and CLAUDE.md for the dashboard-only project

Sitemap and robots updated for the new URL structure. Build passes,
all 14 routes generate; 3 unused-var lint warnings remain.

Co-authored-by: Adam Soffer <adam@livepeer.org>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.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.

2 participants