-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement mapping of categories for the sitemap
It includes all links and category headings that'll be rendered as sitemap in the footer. GH-106
- Loading branch information
1 parent
0b5516d
commit 33ad876
Showing
1 changed file
with
47 additions
and
0 deletions.
There are no files selected for viewing
47 changes: 47 additions & 0 deletions
47
src/data/components/organisms/core/Footer/sitemapCategories.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |