-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.vue
96 lines (90 loc) · 1.92 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
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
<script setup>
import global from '~/utils/global'
import getSocialMeta from '~/utils/metatags'
const meta = getSocialMeta(global)
useHead({
titleTemplate: (title = '') =>
title !== global.title && title !== ''
? `${title} · ${global.title}`
: global.title,
htmlAttrs: {
lang: 'pt-br',
},
meta: [
...meta,
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ name: 'format-detection', content: 'telephone=no' },
{ name: 'apple-mobile-web-app-capable', content: 'yes' },
],
link: [
{
rel: 'canonical',
href: global.url,
},
{
rel: 'icon',
type: 'image/png',
href: '/favicon.png',
},
],
script: [
{
hid: 'schema-org',
type: 'application/ld+json',
json: {
'@context': 'https://schema.org',
'@type': 'Person',
name: 'Gabriel Caiana',
jobTitle: 'Desenvolvedor Front-end',
url: 'https://gabrielcaiana.com',
sameAs: [
'https://github.com/gabrielcaiana',
'https://twitter.com/gabriel_caiana',
],
},
},
],
})
</script>
<template>
<NuxtLayout>
<NuxtLoadingIndicator />
<NuxtPage />
</NuxtLayout>
</template>
<style lang="scss">
html,
body,
#__nuxt {
min-height: 100vh;
margin: 0;
padding: 0;
color: white;
@apply bg-neutral-darkest;
}
.page-enter-active,
.page-leave-active {
transition: all 0.4s;
}
.page-enter-from,
.page-leave-to {
opacity: 0;
filter: blur(1rem);
}
.gradient-text,
.router-link-exact-active {
background-color: white;
background-image: linear-gradient(135deg, #a3e635 0%, #22d3ee 100%);
background-size: 100%;
background-repeat: repeat;
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
-moz-background-clip: text;
-moz-text-fill-color: transparent;
}
.router-link-exact-active {
font-weight: 600;
}
</style>