diff --git a/packages/freesewing.shared/components/navigation/primary.js b/packages/freesewing.shared/components/navigation/primary.js
index dd1b4a1db62..b41c238dd95 100644
--- a/packages/freesewing.shared/components/navigation/primary.js
+++ b/packages/freesewing.shared/components/navigation/primary.js
@@ -10,9 +10,6 @@ import GuideIcon from 'shared/components/icons/guide.js'
import HelpIcon from 'shared/components/icons/help.js'
import DocsIcon from 'shared/components/icons/docs.js'
-// TODO: Clean this up after restructuring markdown content
-const hide = ['contributors', 'developers', 'editors', 'translators']
-
// Don't show children for blog and showcase posts
const keepClosed = ['blog', 'showcase', ]
@@ -80,7 +77,7 @@ const SubLevel = ({ nodes={}, active }) => (
hover:cursor-row-resize
items-center
`}>
-
+
(
) : (
-
+
(
>
)
-// TODO: Get rid of this when markdown has been restructured
-const remove = ['contributors', 'developers', 'editors', 'translators']
const Navigation = ({ app, active }) => {
if (!app.navigation) return null
const output = []
- for (const key of Object.keys(app.navigation).sort()) {
- if (hide.indexOf(key) === -1) output.push(°}
- title={key}
- slug={key}
- key={key}
- hasChildren={keepClosed.indexOf(key) === -1}
- nav={app.navigation}
- current={order(app.navigation[key])}
- active={active}
- />)
- }
+ for (const key of Object.keys(app.navigation).sort()) output.push(°}
+ title={key}
+ slug={key}
+ key={key}
+ hasChildren={keepClosed.indexOf(key) === -1}
+ nav={app.navigation}
+ current={order(app.navigation[key])}
+ active={active}
+ />)
return output
}
-const PrimaryMenu = ({ app, active }) => {
-
- return (
-
- )
-}
+const PrimaryMenu = ({ app, active }) => (
+
+)
export default PrimaryMenu