-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.vue
133 lines (125 loc) · 3.2 KB
/
index.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<template>
<div>
<section id="home" />
<div class="main-wrap">
<main v-if="show" class="container-wrap">
<section id="animated-container">
<v-container>
<v-container fluid fill-height class="home-hero">
<v-layout justify-center align-center column pa-5 mt-10>
<img :src="require($vuetify.theme.dark ? '@@/static/logo-dark.svg' : '@@/static/logo.svg')">
</v-layout>
</v-container>
</v-container>
</section>
<section
id="feature"
class="space-top space-bottom"
>
<v-container>
<feature />
</v-container>
</section>
<!-- <section-->
<!-- class="page-section"-->
<!-- >-->
<!-- <counter />-->
<!-- </section>-->
<!-- <section-->
<!-- id="testimonials"-->
<!-- class="space-top"-->
<!-- >-->
<!-- <Testimonials />-->
<!-- </section>-->
<!-- <section-->
<!-- id="blog"-->
<!-- class="space-top space-bottom"-->
<!-- >-->
<!-- <blog />-->
<!-- </section>-->
<!-- <section id="subscribe">-->
<!-- <subscribe />-->
<!-- </section>-->
</main>
<hidden point="mdDown">
<page-nav />
</hidden>
<hidden point="mdDown">
<notification />
</hidden>
</div>
</div>
</template>
<style scoped lang="sass">
@function section-margin($margin)
@return $margin * 15
.main-wrap
position: relative
width: 100%
overflow: hidden
.space-bottom
margin-bottom: section-margin($spacing1)
.space-top
padding-top: section-margin($spacing1)
.container-wrap
& > section
position: relative
.home-hero
background-color: #eaeaea
img
width: 80%
max-width: 500px
padding-bottom: 45px
&:after
content: ""
position: absolute
height: 90px
width: 100%
background-color: #eaeaea
bottom: 0
left: 0
transform: translateY(50%)
border-radius: 0 0 100% 100%
.theme--dark
.home-hero
background-color: #1e1e1e
.home-hero::after
background-color: #1e1e1e
</style>
<script>
import Hidden from '@@/components/home/Hidden'
// import AnimateSlider from '@@/components/home/AnimateSlider'
import Feature from '@@/components/home/Feature'
// import Counter from '@@/components/home/Counter'
// import Testimonials from '@@/components/home/Testimonials'
// import Blog from '@@/components/home/Blog'
// import Subscribe from '@@/components/home/Subscribe'
import PageNav from '@@/components/home/PageNav'
import Notification from '@@/components/home/Notification'
import brand from '@@/static/text/brand'
export default {
components: {
// AnimateSlider,
Hidden,
Feature,
// Counter,
// Testimonials,
// Blog,
// Subscribe,
PageNav,
Notification
},
data: () => ({
show: false
}),
mounted () {
this.show = true
},
layout: 'Home',
head () {
return {
title: brand.starter.name + ' - Home Page'
}
}
}
</script>