@@ -116,11 +116,13 @@ export default {
//---------------------------------------------------
computed: {
computedNavigation() {
- let navigation = this.$store.state.navigations?.main_navigation || [];
+ const navigation = this.$store.state.navigations?.main_navigation || [];
navigation.forEach((o) => {
if (o.url) {
// eslint-disable-next-line no-param-reassign
o.type = o.url.includes('http') ? 'ext' : 'int';
+ // eslint-disable-next-line no-param-reassign
+ o.special = o.cta === true;
}
if (o.children) {
o.children.forEach((oo) => {
@@ -131,11 +133,6 @@ export default {
});
}
});
-
- const path = 'navigation';
- if (this.$i18n.te(path)) {
- navigation = navigation.concat(this.$i18n.t(path));
- }
return navigation;
},
},
diff --git a/src/locales/en-us.js b/src/locales/en-us.js
index e41c3cc..ec27024 100644
--- a/src/locales/en-us.js
+++ b/src/locales/en-us.js
@@ -83,14 +83,6 @@ export default {
telegram: 'https://t.me/casperblockchain',
github: 'https://github.com/casper-network',
},
- navigation: [
- {
- label: 'Get started',
- url: 'get-started',
- class: 'special',
- type: 'int',
- },
- ],
footer: {
socialTitle: 'Join our
Community',
metanav: [