open-design/apps/landing-page/app/_components
Jane 3e0ff3d0fa
feat(landing-page): point catalog links at /plugins, drop legacy /skills /systems routes (#3386)
The 2026-05 plugins rebuild left three homepage/library surfaces still
pointing at the retired `/skills/`, `/systems/`, and `/craft/` route
trees, so visitors hit a 301 hop (or a stale facet) instead of landing
directly on the new `/plugins/*` pages. Repoint them at the canonical
destinations and align the homepage Labs pills with the real library.

- system-card: link straight to `/plugins/design-system-<slug>/` via a
  new `detailHrefForSystemSlug` resolver instead of hard-coding
  `/systems/<slug>/` and relying on the redirect. The ~8 systems that
  ship no manifest (hence no detail page) degrade to `/plugins/systems/`,
  the same destination the legacy 301 produced, minus the hop and with no
  risk of linking at a page that doesn't exist.
- homepage Labs pills: replace the hard-coded prototype/deck/mobile/office
  facets (mobile/office had drifted to stale or empty counts) with a live
  top-4 of `PLUGIN_CATEGORIES`, counted with the same `categorizePlugin`
  rule `/plugins/templates/` uses and labelled from `pcopy.category`, so
  the homepage stays in lockstep with the library and never shows a dead
  chip. Counts are surfaced through a new `CatalogCounts.templateCategories`.
- remove the Craft entry points from the homepage footer, sub-page footer,
  header Library dropdown, and the plugins hub tile grid. The `/craft/`
  pages stay live; they're just no longer surfaced in site chrome.

The legacy `/skills/`, `/systems/`, `/templates/` 301s added in the prior
PR stay in place for inbound links and search equity.

Co-authored-by: Joey-nexu <joeylee12629@gmail.com>
2026-05-31 11:53:36 +00:00
..
favicon-links.astro feat(landing-page): SEO surfaces, schema upgrades, manifest — cherry-pick from #2469 (#2596) 2026-05-21 23:03:21 +08:00
google-analytics.astro fix(landing): wire GA4 rollout config (#2615) 2026-05-22 14:56:58 +08:00
header-enhancer.astro feat(landing-page): detail pages — interactive preview, share row, dual CTAs (#2679) 2026-05-22 20:47:59 +08:00
header.tsx feat(landing-page): point catalog links at /plugins, drop legacy /skills /systems routes (#3386) 2026-05-31 11:53:36 +00:00
home-enhancer.astro perf(landing): preconnect api.github.com + rAF-throttle scroll listener (#2666) 2026-05-22 14:06:39 +08:00
lazy-img.astro perf(landing): edge-cache HTML and precise-load thumbnails (#2235) 2026-05-19 19:14:25 +08:00
locale-switcher-enhancer.astro feat(landing): add 19-locale URL routing with full home translations (#2408) 2026-05-21 11:36:15 +08:00
locale-switcher-script.astro feat(landing-page): replicate #2469 SEO content with deploy + regression fixes (#2605) 2026-05-22 00:59:11 +08:00
plugin-row.astro feat(landing-page): localize plugins library across 18 locales (#3010) 2026-05-27 09:30:59 +00:00
precise-lazyload.astro feat(landing-page): rebuild plugins library to mirror in-app taxonomy (#2926) 2026-05-26 02:49:58 +00:00
resource-hints.astro perf(landing): preconnect api.github.com + rAF-throttle scroll listener (#2666) 2026-05-22 14:06:39 +08:00
seo-head.astro ci(landing): split landing deploy into staging gate + manual production (#2994) 2026-05-26 14:05:04 +00:00
site-footer.astro feat(landing-page): point catalog links at /plugins, drop legacy /skills /systems routes (#3386) 2026-05-31 11:53:36 +00:00
sub-page-layout.astro fix(landing): wire GA4 rollout config (#2615) 2026-05-22 14:56:58 +08:00
system-card.astro feat(landing-page): point catalog links at /plugins, drop legacy /skills /systems routes (#3386) 2026-05-31 11:53:36 +00:00
template-card.astro feat(landing-page): card grid + share popover for /plugins/templates/ (#3185) 2026-05-28 11:17:56 +00:00
topbar.astro feat(landing-page): replicate #2469 SEO content with deploy + regression fixes (#2605) 2026-05-22 00:59:11 +08:00
wire.tsx fix: sync landing source-of-truth paths (#2066) 2026-05-20 11:44:04 +08:00