mirror of
https://github.com/KevinMidboe/planetposen.git
synced 2025-10-29 01:30:32 +00:00
Navigation bar should have dark text for product view page.
This commit is contained in:
@@ -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/');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user