-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathHero.vue
66 lines (64 loc) · 1.49 KB
/
Hero.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
<template>
<section class="Hero">
<div class="Hero__inner">
<div class="Hero__logo">
<VueToNuxtLogo/>
<h1>NUXT<span>BRASIL</span></h1>
</div>
<p class="Hero__lead">
<b class="tagline">grupo de usuários brasileiros</b>
<br/>Universal Vue.js Applications
</p>
<div class="Hero__buttons">
<a href="https://github.com/nuxtjsbrasil" target="_blank" class="Button Button--primary">Github Nuxt Brasil</a>
<a href="https://nuxtjs.org/" target="_blank" class="Button Button--secondary">Nuxtjs.org (en)</a>
</div>
</div>
</section>
</template>
<script>
export default {
name: 'Hero',
components: {
VueToNuxtLogo: () => import('~/components/VueToNuxtLogo')
}
}
</script>
<style lang="stylus" scoped>
.Hero
display flex
width 100%
height 100vh
justify-content center
align-items center
&__logo
display flex
align-items flex-end
justify-content center
margin-bottom 1.875rem /* 30/16 */
h1
font-size 6.25rem /* 100/16 */
font-weight 600
font-style normal
font-stretch normal
line-height 0.8
letter-spacing 1px
color #009c3b
margin 0
span
font-weight 300
color #35495e
display block
&__lead
font-size 3rem /* 48/16 */
font-weight 300
line-height 1.2
text-align center
color #526488
.tagline
font-size 2rem
&__buttons
text-align center
a
margin 0 .9375rem /* 15/16 */
</style>