Skip to content

Commit

Permalink
Implement mapping of categories for the sitemap
Browse files Browse the repository at this point in the history
It includes all links and category headings that'll be rendered as
sitemap in the footer.

GH-106
  • Loading branch information
arcticicestudio committed Dec 27, 2018
1 parent 0b5516d commit 33ad876
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions src/data/components/organisms/core/Footer/sitemapCategories.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
/*
* Copyright (C) 2018-present Arctic Ice Studio <[email protected]>
* Copyright (C) 2018-present Sven Greb <[email protected]>
*
* Project: Nord Docs
* Repository: https://github.com/arcticicestudio/nord-docs
* License: MIT
*/

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

/**
* The mapping of categories for the sitemap.
*
* @author Arctic Ice Studio <[email protected]>
* @author Sven Greb <[email protected]>
* @since 0.5.0
*/
const sitemapCategories = [
{
name: "Nord",
url: ROUTE_ROOT,
links: []
},
{
name: "Ports",
url: ROUTE_PORTS,
links: []
},
{
name: "Docs",
url: ROUTE_DOCS,
links: []
},
{
name: "Blog",
url: ROUTE_BLOG,
links: []
},
{
name: "Community",
url: ROUTE_COMMUNITY,
links: []
}
];

export default sitemapCategories;

0 comments on commit 33ad876

Please sign in to comment.