mirror of
https://github.com/KevinMidboe/planetposen.git
synced 2025-10-29 17:50: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,
|
showMenu: false,
|
||||||
|
|
||||||
leftNavItems: [{
|
leftNavItems: [{
|
||||||
name: 'Program',
|
name: 'Gaveposer',
|
||||||
link: '/',
|
link: '/shop'
|
||||||
},{
|
},{
|
||||||
name: 'Om oss',
|
name: 'Om oss',
|
||||||
link: '/about'
|
link: '/about'
|
||||||
},{
|
},{
|
||||||
name: 'Gaveposer',
|
name: 'Kontakt oss',
|
||||||
link: '/shop'
|
link: '/contact'
|
||||||
}],
|
}],
|
||||||
rightNavItems: [{
|
rightNavItems: [{
|
||||||
name: 'Admin',
|
name: 'Admin',
|
||||||
@@ -108,7 +108,7 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
knownLightBackgroundPage() {
|
knownLightBackgroundPage() {
|
||||||
const location = window.location.href.split('#')[1]
|
const location = window.location.href.split('#')[1]
|
||||||
return location == '/';
|
return location == '/' || location == '/contact' || location.includes('/shop/');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user