wieerwill.github.io/nuxt/pages/index.vue

33 lines
692 B
Vue
Raw Normal View History

2021-07-04 14:56:48 +00:00
<template lang="pug">
div
.titleview
.outrun.glow
2021-12-30 16:00:13 +00:00
a(href="https://github.com/wieerwill") {{ subtitle }}
.chrome.large.shine(:data-text="title1 + title2") {{ title1 }}
2021-07-04 14:56:48 +00:00
span.spark
2021-12-30 16:00:13 +00:00
| {{ title2 }}
2021-07-04 14:56:48 +00:00
.buttonrow
NuxtLink(to="/profile")
button
2021-12-30 16:00:13 +00:00
span#offset {{ button1 }}
span {{ button2 }}
2021-07-04 14:56:48 +00:00
</template>
<script>
2021-12-30 16:00:13 +00:00
import life from "../life";
2021-07-04 14:56:48 +00:00
export default {
head: {
2021-12-30 16:00:13 +00:00
title: "Welcome",
2021-07-04 14:56:48 +00:00
},
2021-12-30 16:00:13 +00:00
data() {
return {
title1: life.home.title1,
title2: life.home.title2,
subtitle: life.home.subtitle,
button1: life.home.button1,
button2: life.home.button2,
github: life.home.githubLink,
};
},
};
2021-07-04 14:56:48 +00:00
</script>