Navigation bar should have dark text for product view page.

This commit is contained in:
2020-07-21 13:02:36 +02:00
parent 942a9140f0
commit f05336b5b9

View File

@@ -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/');
}
}
}