Skip to content

Commit 4042c81

Browse files
Fix relative paths for footer entries of the landing page
This prevents false pre-fetching of non-existing pages. GH-119
1 parent 3161976 commit 4042c81

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/data/components/organisms/core/Footer/sitemapCategories.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ const sitemapCategories = [
2222
name: "Nord",
2323
url: ROUTE_ROOT,
2424
links: [
25-
{ title: "Palettes", url: `#${sectionIdFor(ROUTE_ROOT, 1)}` },
26-
{ title: "Ports", url: `#${sectionIdFor(ROUTE_ROOT, 3)}` },
27-
{ title: "Swatches", url: `#${sectionIdFor(ROUTE_ROOT, 4)}` },
28-
{ title: "Syntax Highlighting", url: `#${sectionIdFor(ROUTE_ROOT, 5)}` },
29-
{ title: "Community", url: `#${sectionIdFor(ROUTE_ROOT, 6)}` }
25+
{ title: "Palettes", url: `/#${sectionIdFor(ROUTE_ROOT, 1)}` },
26+
{ title: "Ports", url: `/#${sectionIdFor(ROUTE_ROOT, 3)}` },
27+
{ title: "Swatches", url: `/#${sectionIdFor(ROUTE_ROOT, 4)}` },
28+
{ title: "Syntax Highlighting", url: `/#${sectionIdFor(ROUTE_ROOT, 5)}` },
29+
{ title: "Community", url: `/#${sectionIdFor(ROUTE_ROOT, 6)}` }
3030
]
3131
},
3232
{

0 commit comments

Comments
 (0)