mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
docs: point home modality chips at the sectioned tool pages (#485)
The tool reference moved to /tools/<section>/<toolId>, but the five modality chips on the docs home still linked to the old flat paths. A full page load survives via the Cloudflare _redirects shim, but VitePress client-side navigation bypasses it and lands on the 404 page. A dist-wide internal link check confirms these five were the only remaining stale links in the built site. The homepage e2e spec now pins all five chip hrefs and click-navigates one chip client-side, which is exactly the path that broke.
This commit is contained in:
@@ -18,11 +18,11 @@ const entLinks = [
|
||||
{ label: "Compliance & SBOM", href: "/guide/security#compliance-artifacts" },
|
||||
];
|
||||
const modalities = [
|
||||
{ label: "Image", count: 64, href: "/tools/resize" },
|
||||
{ label: "Video", count: 29, href: "/tools/convert-video" },
|
||||
{ label: "Audio", count: 17, href: "/tools/convert-audio" },
|
||||
{ label: "PDF", count: 37, href: "/tools/merge-pdf" },
|
||||
{ label: "Files", count: 10, href: "/tools/chart-maker" },
|
||||
{ label: "Image", count: 64, href: "/tools/image/resize" },
|
||||
{ label: "Video", count: 29, href: "/tools/video/convert-video" },
|
||||
{ label: "Audio", count: 17, href: "/tools/audio/convert-audio" },
|
||||
{ label: "PDF", count: 37, href: "/tools/pdf/merge-pdf" },
|
||||
{ label: "Files", count: 10, href: "/tools/files/chart-maker" },
|
||||
];
|
||||
const shared = [
|
||||
{ label: "REST API", sub: "Keys, endpoints & OpenAPI", href: "/api/rest" },
|
||||
|
||||
Reference in New Issue
Block a user