Skip to content

Commit

Permalink
Implement navigation link data with route mappings
Browse files Browse the repository at this point in the history
Note that the target routes are not implemented yet. This is just a
preparatory action.

GH-64
  • Loading branch information
arcticicestudio committed Dec 13, 2018
1 parent bbff622 commit fa962a2
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions src/data/components/organisms/core/Header/navigationItems.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/*
* 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
*/

/**
* @author Arctic Ice Studio <[email protected]>
* @author Sven Greb <[email protected]>
* @since 0.3.0
*/

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

/**
* The mapping of navigation link item names to their target URL.
*
* @since 0.3.0
*/
const navigationItems = [
{ title: "Ports", url: ROUTE_PORTS },
{ title: "Docs", url: ROUTE_DOCS },
{ title: "Blog", url: ROUTE_BLOG },
{ title: "Community", ROUTE_COMMUNITY }
];

export default navigationItems;

0 comments on commit fa962a2

Please sign in to comment.