Skip to content

Commit

Permalink
Add new footer category links for all landing page sections
Browse files Browse the repository at this point in the history
  • Loading branch information
arcticicestudio committed Jan 12, 2019
1 parent 0c5d8fd commit 070b9d9
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
*/

import { ROUTE_BLOG, ROUTE_COMMUNITY, ROUTE_DOCS, ROUTE_PORTS, ROUTE_ROOT } from "config/routes/mappings";
import { sectionIdFor } from "utils";

/**
* The mapping of categories for the sitemap.
Expand All @@ -20,7 +21,13 @@ const sitemapCategories = [
{
name: "Nord",
url: ROUTE_ROOT,
links: []
links: [
{ title: "Palettes", url: `#${sectionIdFor(ROUTE_ROOT, 1)}` },
{ title: "Ports", url: `#${sectionIdFor(ROUTE_ROOT, 3)}` },
{ title: "Swatches", url: `#${sectionIdFor(ROUTE_ROOT, 4)}` },
{ title: "Syntax Highlighting", url: `#${sectionIdFor(ROUTE_ROOT, 5)}` },
{ title: "Community", url: `#${sectionIdFor(ROUTE_ROOT, 6)}` }
]
},
{
name: "Ports",
Expand Down

0 comments on commit 070b9d9

Please sign in to comment.