2022-06-15 00:08:45 +00:00
|
|
|
<template>
|
2022-06-22 05:24:06 +00:00
|
|
|
<div>
|
2022-06-18 12:28:46 +00:00
|
|
|
<center class="container" ref="stage0">
|
2022-06-22 05:24:06 +00:00
|
|
|
<v-img
|
|
|
|
src="/icon.svg"
|
|
|
|
width="10rem"
|
|
|
|
height="10rem"
|
|
|
|
:class="$vuetify.theme.dark ? '' : 'invert'"
|
|
|
|
/>
|
|
|
|
<h1>{{ lang.welcome }}</h1>
|
|
|
|
<p>{{ lang.tagline }}</p>
|
2022-06-15 00:08:45 +00:00
|
|
|
</center>
|
2022-06-18 12:28:46 +00:00
|
|
|
|
|
|
|
<center class="container hidden" ref="stage1">
|
2022-06-22 05:24:06 +00:00
|
|
|
<h1>{{ lang.langsetup }}</h1>
|
|
|
|
<language style="width: 80%" />
|
2022-06-18 12:28:46 +00:00
|
|
|
</center>
|
|
|
|
|
|
|
|
<center class="container hidden" ref="stage2">
|
2022-07-30 01:00:42 +00:00
|
|
|
<v-autocomplete
|
|
|
|
label="API"
|
|
|
|
:items="items"
|
|
|
|
style="border-top-right-radius: 1rem !important; border-top-left-radius: 1rem !important; box-shadow: none !important"
|
|
|
|
solo
|
|
|
|
filled
|
|
|
|
class="mx-8"
|
|
|
|
></v-autocomplete>
|
|
|
|
</center>
|
|
|
|
|
|
|
|
<center class="container hidden" ref="stage3">
|
2022-06-22 05:24:06 +00:00
|
|
|
<h1>{{ lang.featuresetup }}</h1>
|
|
|
|
<v-checkbox disabled v-model="ryd" :label="lang.enableryd" />
|
|
|
|
<v-checkbox disabled v-model="sponsorBlock" :label="lang.enablespb" />
|
2022-06-18 12:28:46 +00:00
|
|
|
</center>
|
2022-07-30 01:00:42 +00:00
|
|
|
<center class="container hidden" ref="stage4">
|
2022-06-22 05:24:06 +00:00
|
|
|
<h1>{{ lang.thanks }}</h1>
|
|
|
|
<h3>{{ lang.enjoy }}</h3>
|
2022-06-18 12:28:46 +00:00
|
|
|
</center>
|
|
|
|
|
2022-06-22 05:24:06 +00:00
|
|
|
<v-btn @click="next()" class="rounded-xl primary nextButton"
|
|
|
|
>{{ lang.next }}
|
|
|
|
<v-icon style="margin-left: 0.5em">mdi-arrow-right</v-icon></v-btn
|
|
|
|
>
|
|
|
|
</div>
|
2022-06-15 00:08:45 +00:00
|
|
|
</template>
|
|
|
|
|
2022-06-18 12:28:46 +00:00
|
|
|
<style scoped>
|
|
|
|
.nextButton {
|
2022-06-22 05:24:06 +00:00
|
|
|
position: absolute;
|
|
|
|
bottom: 1em;
|
|
|
|
right: 2em;
|
2022-06-18 12:28:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.hidden {
|
2022-06-22 05:24:06 +00:00
|
|
|
display: none;
|
2022-06-18 12:28:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.fullWidth {
|
2022-06-22 05:24:06 +00:00
|
|
|
width: 100%;
|
2022-06-18 12:28:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.container {
|
2022-06-22 05:24:06 +00:00
|
|
|
width: 100%;
|
2022-06-18 12:28:46 +00:00
|
|
|
}
|
|
|
|
</style>
|
|
|
|
|
2022-06-15 00:08:45 +00:00
|
|
|
<script>
|
2022-06-22 05:24:06 +00:00
|
|
|
import language from "~/components/Settings/language.vue";
|
|
|
|
export default {
|
|
|
|
layout: "empty",
|
|
|
|
components: {
|
|
|
|
language,
|
|
|
|
},
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
lang: {},
|
|
|
|
stage: 0,
|
2022-06-18 12:28:46 +00:00
|
|
|
|
2022-06-22 05:24:06 +00:00
|
|
|
ryd: true,
|
|
|
|
sponsorBlock: true,
|
2022-07-30 01:00:42 +00:00
|
|
|
items: ["odysee.com","youtube.com","twitch.tv","onlyfans.com/vuegirl"]
|
2022-06-22 05:24:06 +00:00
|
|
|
};
|
|
|
|
},
|
|
|
|
mounted() {
|
|
|
|
this.lang = this.$lang("events");
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
next() {
|
|
|
|
this.$refs["stage" + this.stage].style.display = "none";
|
|
|
|
this.stage++;
|
2022-06-18 12:28:46 +00:00
|
|
|
|
2022-06-22 05:24:06 +00:00
|
|
|
if (!this.$refs["stage" + this.stage]) {
|
|
|
|
localStorage.setItem("lastRunVersion", process.env.appVersion);
|
|
|
|
localStorage.setItem("firstTimeSetupComplete", true);
|
|
|
|
this.$router.replace("/");
|
|
|
|
}
|
2022-06-18 12:28:46 +00:00
|
|
|
|
2022-06-22 05:24:06 +00:00
|
|
|
this.$refs["stage" + this.stage].style.display = "block";
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
</script>
|