-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.vue
73 lines (67 loc) · 2.31 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
<template >
<v-app :theme = "color" >
<v-app-bar
border
class = 'position-sticky'
density = 'comfortable'
scroll-behavior = 'collapse'
>
<template v-slot:prepend >
<nuxt-link class = 'px-6 ' to = "/" >
<v-img id = "bp" alt = "BP" class = "mr-2" height = "40" src = "/bp.svg" to = "/"
width = "50" >
</v-img >
</nuxt-link >
</template >
<v-spacer ></v-spacer >
<template v-slot:append >
<v-btn color = '#afd5aa' href = 'https://www.linkedin.com/in/brian-purgert/' onscroll = '' >
<template v-slot:prepend >
<Icon name = "fa-brands:linkedin-in" size = "1.5em" />
</template >
<span class = "hidden-sm-and-down" >LinkedIn</span >
</v-btn >
<v-btn color = '#afd5aa' href = 'https://github.com/BrianPurgert/' >
<template v-slot:prepend >
<Icon name = "fa-brands:github" size = "1.5em" />
</template >
<span class = "hidden-sm-and-down" >GitHub</span >
</v-btn >
<v-btn color = '#afd5aa' href = 'https://codepen.io/BrianPurgert/' >
<template v-slot:prepend >
<Icon name = "fa-brands:codepen" size = "1.5em" />
</template >
<span class = "hidden-sm-and-down" >CodePen</span >
</v-btn >
<v-btn color = '#afd5aa' download href = "/BrianPurgert_Resume.pdf" >
<template v-slot:prepend >
<Icon name = "carbon:generate-pdf" size = "1.5em" />
</template >
<span class = "hidden-sm-and-down" >Resume</span >
</v-btn >
<Icon
:name = "color === 'light' ? 'meteocons:sunset' : 'meteocons:fog-night'"
@click = "onClick"
></Icon >
</template >
</v-app-bar >
<v-main class = 'overflow-x-hidden overflow-y-hidden' >
<v-container >
<nuxt-page />
</v-container >
<material-parallax_1 />
<v-footer class = "pt-5 pb-5" color = "transparent" >
</v-footer >
</v-main >
</v-app >
<SpeedInsights />
</template >
<script setup >
import { SpeedInsights } from "@vercel/speed-insights/vue"
import { ref } from "vue"
import MaterialParallax_1 from "~/components/MaterialParallax_1.vue"
const color = ref("dark")
function onClick() {
color.value = color.value === "light" ? "dark" : "light"
}
</script >