forked from thomasbertet/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHomeView.vue
executable file
·196 lines (179 loc) · 7.49 KB
/
HomeView.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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
<template lang="pug">
#home-view
v-toolbar(fixed :class="[toolbar ? 'toolbar--home' : 'hidden']" ).white.text-xs-center
img(src="/static/doc-images/header-logo.svg" height="38px")
v-spacer
v-btn(flat to="/vuetify/quick-start") Documentation
v-btn(flat tag="a" href="https://github.com/vuetifyjs/vuetify/releases" target="_blank" rel="noopener").hidden-xs-only Updates
section#hero
v-container
v-layout(row wrap)
v-flex(xs12 md4).text-xs-center
img(src="/static/doc-images/logo.svg").logo
v-flex(xs12 md8).text-xs-center.text-md-left
h1 Vuetify
h2 Material Component Framework
v-container(fluid grid-list-xl).pa-0
v-layout(row wrap)
v-flex(xs12 sm4)
v-btn(block dark large to="/vuetify/quick-start").blue
span Documentation
v-flex(xs12 sm4)
v-btn(
large
block
tag="a"
href="https://github.com/vuetifyjs/vuetify"
target="_blank"
rel="noopener"
).white.primary--text
v-icon(left).primary--text fa-github
span Github
div#section-body
section#features.mb-3
v-container
v-card.elevation-2
v-card-text.py-5
v-layout(row wrap)
v-flex(xs12 md4).text-xs-center.my-3
img(src="/static/doc-images/feature1.svg").elevation-1
h3.mt-4.mb-3 Vue-CLI Templates
p Vuetify comes ready to go with 5 pre-made vue-cli templates. From simple html to full-blown SSR, you are ready to go in minutes.
v-flex(xs12 md4).text-xs-center.my-3
img(src="/static/doc-images/feature2.svg").elevation-1
h3.mt-4.mb-3 Custom Layouts
p Each and every available layout from the Material design spec is at your disposal. Create unique and flexible user interfaces that fit the scope of any project.
v-flex(xs12 md4).text-xs-center.my-3
img(src="/static/doc-images/feature3.svg")
h3.mt-4.mb-3 Semantic Material Components
p Be prepared for an armada of specialized components at your disposal. With over 80 in total, there is a solution for any application.
section#sponsors.mb-3
v-container
v-card.elevation-2
v-card-text.py-5
h2.mb-5.text-xs-center.text-md-left Proudly sponsored by:
v-layout(row wrap)
v-flex(xs12 md3 v-for="(sponsor, i) in sponsors" :key="i").text-xs-center
a(:href="sponsor.href" target="_blank" :title="sponsor.title" rel="noopener")
img(:src="sponsor.src").sponsor
v-flex(xs12 md3).text-xs-center
v-btn(to="/vuetify/sponsors-and-backers" large).white.primary--text Become a backer
v-icon(right).primary--text fa-arrow-circle-right
section#support.mb-3
v-container
v-card.elevation-2
v-card-text.py-5
v-layout(row wrap).text-xs-center
v-flex(xs12).mb-5
h2 Has Vuetify helped you create an amazing application?<br> <br class="hidden-md-and-up"> You can show your support by making a <strong>donation</strong> in one of two ways:
v-flex(xs12 sm3 offset-sm3)
a(
href="https://www.patreon.com/vuetify"
target="_blank" rel="noopener"
)
div.display-1.mb-2 Patreon
img(src="/static/doc-images/patreon.png" width="125px")
v-flex(xs12 sm3)
a(
href="https://paypal.me/vuetify"
target="_blank" rel="noopener"
)
div.display-1.mb-2 PayPal
img(src="/static/doc-images/paypal.png" width="125px")
section#footer-hero.mt-5.mb-0
v-container
v-layout(row wrap).mb-5
v-flex(xs12 md8 lg7).mt-4.mb-5
img(src="/static/doc-images/logo.svg" height="90px")
h2.mt-4.mb-5 Supercharge Your Development with the Power of Vue and Material Design
v-container(fluid grid-list-xl).pa-0
v-layout(row wrap)
v-flex(xs12 sm3)
v-btn(block dark large to="/vuetify/quick-start").blue
span Documentation
v-flex(xs12 sm3)
v-btn(
large
block
tag="a"
href="https://github.com/vuetifyjs/vuetify"
).white.primary--text
v-icon(left).primary--text fa-github
span Github
footer
v-layout(row wrap)
v-flex(xs6 sm3).vuetify
h5
img(src="/static/doc-images/logo.svg")
span Vuetify
ul
li
a( href="https://opensource.org/licenses/MIT")
span.hidden-sm-only Documentation
span.hidden-md-and-up.hidden-xs-only Docs
li
a(href="https://github.com/vuetifyjs/vuetify" target="_blank") <v-icon dark class="hidden-sm-only">fa-github</v-icon> GitHub
li
a(href="https://twitter.com/vuetifyjs" target="_blank") <v-icon dark class="hidden-sm-only">fa-twitter</v-icon> Twitter
li
a(href="https://www.facebook.com/vuetifyjs" target="_blank") <v-icon dark class="hidden-sm-only">fa-facebook</v-icon> Facebook
v-flex(xs6 sm3)
h5 Donate
ul
li
a(href="https://www.patreon.com/vuetify" target="_blank") Patreon
li
a(href="https://www.paypal.me/vuetify" target="_blank") PayPal
v-flex(xs6 sm3)
h5 Sponsors
ul
li
a(href="https://www.browserstack.com/" target="_blank") BrowserStack
li
a(href="https://www.cloudflare.com/" target="_blank") CloudFlare
v-flex(xs6 sm3)
h5 Links
ul
li
a( href="https://vuejs.org/" target="_blank") Vue.js
li
a( href="https://material.io/guidelines/" target="_blank") Material Design
.legal-footer.text-xs-center
span © {{ new Date().getFullYear() }} Vuetify LLC. Distributed under the
a(
href="https://opensource.org/licenses/MIT"
target="_blank"
) MIT License.
</template>
<script>
export default {
data() {
return {
sponsors: [
{
title: 'BrowserStack',
href: 'https://www.browserstack.com/',
src: '/static/doc-images/browser-stack.svg'
},
{
title: 'Cloudflare',
href: 'https://www.cloudflare.com/',
src: '/static/doc-images/cloudflare.svg'
}
],
toolbar: false
}
},
mounted() {
window.addEventListener('scroll', this.onScroll, { passive: true })
},
beforeDestroy() {
window.removeEventListener('scroll', this.onScroll, { passive: true })
},
methods: {
onScroll() {
this.toolbar = window.scrollY > 300
}
}
}
</script>