added correct page titles

This commit is contained in:
ManjaroOne666 2019-01-31 10:20:14 +00:00
parent b8f1d81d9c
commit b4837e1f47
7 changed files with 42 additions and 8 deletions

View File

@ -3,7 +3,8 @@
- also transitioning elements in when page loads (especially gallery thumbs in gallery)
* social nav items -> put in store or whatever
* facebook/twitter social card thingies
* page titles
* favicon
* page descriptions etc
## Services
* background image for mobile

View File

@ -12,6 +12,7 @@ module.exports = {
*/
head: {
title: pkg.name,
titleTemplate: 'Marc Leopold | %s',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },

View File

@ -37,17 +37,20 @@ import ContentPage from '@/components/ContentPage'
import BackgroundImageLoader from '@/components/BackgroundImageLoader'
export default {
name: 'HomePage',
name: 'AboutPage',
components: {
ContentPage,
BackgroundImageLoader,
},
data() {
head () {
return {
title: 'About Me',
// TODO meta - hid, name, content
}
}
},
}
</script>

View File

@ -82,7 +82,7 @@ import { required, email } from 'vuelidate/lib/validators'
import BackgroundImageLoader from '@/components/BackgroundImageLoader'
export default {
name: 'HomePage',
name: 'ContactPage',
components: {
ContentPage,
@ -107,6 +107,13 @@ export default {
}
},
head () {
return {
title: 'Contact Me',
// TODO meta - hid, name, content
}
},
computed: {
isDisabled () {
return this.attemptedSubmit && this.$v.form.$invalid

View File

@ -7,7 +7,7 @@
import GalleryPage from '@/components/GalleryPage'
export default {
name: 'HomePage',
name: 'GalleriesPage',
components: {
GalleryPage
@ -92,7 +92,15 @@ export default {
},
] // galleries end
}
},
head () {
return {
title: 'My Galleries',
// TODO meta - hid, name, content
}
},
}
</script>

View File

@ -72,6 +72,13 @@ export default {
}
},
head () {
return {
title: 'Home',
// TODO meta - hid, name, content
}
},
mounted () {
if (this.bgImages.length > 1) {
this.setNextIndex()

View File

@ -43,7 +43,7 @@ import BackgroundImagePreloader from '@/components/BackgroundImagePreloader'
import BackgroundImageLoader from '@/components/BackgroundImageLoader'
export default {
name: 'HomePage',
name: 'ServicesPage',
components: {
ContentPage,
@ -88,6 +88,13 @@ export default {
}
},
head () {
return {
title: 'My Services',
// TODO meta - hid, name, content
}
},
computed: {
backgroundImageUrls () {
return this.services.map(el => el.backgroundImageUrl)