From f05336b5b95140c36becb0b0871a5c166e1403ab Mon Sep 17 00:00:00 2001 From: KevinMidboe Date: Tue, 21 Jul 2020 13:02:36 +0200 Subject: [PATCH] Navigation bar should have dark text for product view page. --- frontend/components/Navigation.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/components/Navigation.vue b/frontend/components/Navigation.vue index 429c0a9..bf16397 100644 --- a/frontend/components/Navigation.vue +++ b/frontend/components/Navigation.vue @@ -74,14 +74,14 @@ export default { showMenu: false, leftNavItems: [{ - name: 'Program', - link: '/', + name: 'Gaveposer', + link: '/shop' },{ name: 'Om oss', link: '/about' },{ - name: 'Gaveposer', - link: '/shop' + name: 'Kontakt oss', + link: '/contact' }], rightNavItems: [{ name: 'Admin', @@ -108,7 +108,7 @@ export default { methods: { knownLightBackgroundPage() { const location = window.location.href.split('#')[1] - return location == '/'; + return location == '/' || location == '/contact' || location.includes('/shop/'); } } }