-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.vue
60 lines (51 loc) · 1.24 KB
/
App.vue
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<template>
<v-app id="app" dark>
<navigation></navigation>
<!-- <video-background :src="video.src" :poster="video.poster"></video-background> -->
<youtube-background></youtube-background>
<v-fade-transition mode="out-in" duration type="animation">
<v-main>
<v-container fluid>
<github-ribbon :url="github"/>
<v-layout align-center justify-center>
<v-flex md10 sm12>
<v-parallax :src="parallax" height="100%" class="my-2">
<router-view></router-view>
</v-parallax>
</v-flex>
</v-layout>
</v-container>
</v-main>
</v-fade-transition>
<v-footer app>
<span></span>
</v-footer>
</v-app>
</template>
<script>
import Navigation from '@/components/Navigation'
import YoutubeBackground from '@/components/YoutubeBackground'
import GithubRibbon from '@/components/GithubRibbon'
export default {
name: 'app',
components: {
Navigation,
YoutubeBackground,
GithubRibbon
},
metaInfo: {
title: 'Home',
titleTemplate: 'Aaron Wolbach | %s'
},
data() {
return {
github: 'https://github.com/grugknuckle',
parallax: require('./assets/img/light-background.jpg'),
video: {
src: 'matrix-rain-fade-in-out.mp4',
poster: ''
}
}
}
}
</script>