Skip to content

Ship the de-slop redesign that never made it to main - #9

Merged
rafactx merged 1 commit into
mainfrom
fix/deslop-onto-main
Nov 6, 2026
Merged

rafactx merged 1 commit into
mainfrom
fix/deslop-onto-main

Conversation

@rafactx

@rafactx rafactx commented Nov 6, 2026 •

Copy link
Copy Markdown
Owner

What

The redesign that removes the template's AI-slop look:

  • a thin theme over the VitePress default (one style.css);
  • the stock VitePress hero with HomeSpotlight behind it and the portal screenshot below;
  • ApiCard as a plain key/description list, without colored keys or glassmorphism;
  • Lucide icons in the sidebar.

Removed: HeroSection, SpotlightBackground, theme.css, sidebar.css and api-docs-responsive.css.

Why

The redesign was done on top of fc10708 but never committed. #3 was merged from another clone without it, so main and the live demo kept the old look.

This branch merges that work onto main and keeps everything #3 added:

  • CI and vue-tsc;
  • the browser-language redirect on /;
  • localized Scalar loading and error messages, now keyed by pt-BR;
  • Node 22 and pnpm 10;
  • the Scalar pin.

Two fixes were needed after the merge:

  • ScalarApi.vue didn't pass the new typecheck, so its config literals are now typed;
  • terser is gone (the new config doesn't use it) and lucide-static is back (the sidebar icons need it).

How tested

  • pnpm install, pnpm typecheck and pnpm build pass.
  • vitepress preview screenshots with Playwright:
    • /en/ and /en/intro at 1440px;
    • /en/intro and /pt/ at 390px, with no horizontal overflow;
    • /pt/api-reference loads the pt-BR spec.

The redesign (thin theme over the VitePress default, stock hero with
HomeSpotlight, plain ApiCard, Lucide sidebar icons) was done on top of
fc10708 but never committed, so #3 merged without it and the live site
kept the old HeroSection/SpotlightBackground look.

This merges that work onto main and keeps what #3 added: CI, typecheck,
the browser-language redirect on /, localized Scalar loading/error
messages, Node 22 / pnpm 10 and the Scalar pin.
@rafactx
rafactx force-pushed the fix/deslop-onto-main branch from ee5f76e to 74f9604 Compare November 6, 2026 17:15
@rafactx
rafactx merged commit 47049bc into main Nov 6, 2026
1 check passed
@rafactx
rafactx deleted the fix/deslop-onto-main branch November 6, 2026 17:21
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