-
-
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 navigation link data with route mappings
Note that the target routes are not implemented yet. This is just a preparatory action. GH-64
- Loading branch information
1 parent
bbff622
commit fa962a2
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
src/data/components/organisms/core/Header/navigationItems.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,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; |