mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-10-28 07:40:27 +01:00
files linted, multiword-component rule turned off
This commit is contained in:
+65
-39
@@ -1,36 +1,75 @@
|
||||
<template>
|
||||
<div>
|
||||
|
||||
<svg id="thumbslogo" class="mb-4" width="150" height="150" viewBox="0 0 24 24" overflow="visible" >
|
||||
<path d="M14.9 3H6c-.9 0-1.6.5-1.9 1.2l-3 7c-.1.3-.1.5-.1.7v2c0 1.1.9 2 2 2h6.3l-.9 4.5c-.1.5 0 1 .4 1.4l1.1 1.1 6.5-6.6c.4-.4.6-.9.6-1.4V5c-.1-1.1-1-2-2.1-2zm7.4 12.8h-2.9c-.4 0-.7-.3-.7-.7V3.9c0-.4.3-.7.7-.7h2.9c.4 0 .7.3.7.7V15c0 .4-.3.8-.7.8z"/>
|
||||
<path id="plarrow" d="m8 12.5 5.1-2.9L8 6.7v5.8z" fill="#fff" stroke="none"/>
|
||||
<svg
|
||||
id="thumbslogo"
|
||||
class="mb-4"
|
||||
width="150"
|
||||
height="150"
|
||||
viewBox="0 0 24 24"
|
||||
overflow="visible"
|
||||
>
|
||||
<path
|
||||
d="M14.9 3H6c-.9 0-1.6.5-1.9 1.2l-3 7c-.1.3-.1.5-.1.7v2c0 1.1.9 2 2 2h6.3l-.9 4.5c-.1.5 0 1 .4 1.4l1.1 1.1 6.5-6.6c.4-.4.6-.9.6-1.4V5c-.1-1.1-1-2-2.1-2zm7.4 12.8h-2.9c-.4 0-.7-.3-.7-.7V3.9c0-.4.3-.7.7-.7h2.9c.4 0 .7.3.7.7V15c0 .4-.3.8-.7.8z"
|
||||
/>
|
||||
<path
|
||||
id="plarrow"
|
||||
d="m8 12.5 5.1-2.9L8 6.7v5.8z"
|
||||
fill="#fff"
|
||||
stroke="none"
|
||||
/>
|
||||
</svg>
|
||||
|
||||
<h1 class="title-text" >Return YouTube Dislike</h1>
|
||||
<h1 class="title-text">Return YouTube Dislike</h1>
|
||||
<div class="mb-4" style="color: #999">
|
||||
<p style="margin-top: 0">Browser extension and an API that show you dislikes on youtube</p>
|
||||
<p style="margin-top: 0">
|
||||
Browser extension and an API that show you dislikes on youtube
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<v-btn :to="installLink" color="primary px-6" style="font-size: 1.5em; padding: 1em; margin-bottom: 0.5em;">
|
||||
<v-btn
|
||||
:to="installLink"
|
||||
color="primary px-6"
|
||||
style="font-size: 1.5em; padding: 1em; margin-bottom: 0.5em"
|
||||
>
|
||||
<v-icon large class="mr-6">mdi-tray-arrow-down</v-icon>
|
||||
Install
|
||||
</v-btn>
|
||||
|
||||
<br>
|
||||
<br />
|
||||
|
||||
<v-btn class="mainAltButton" :href="githubLink" target="_blank">
|
||||
<v-icon style="margin-right: 0.5em;">mdi-github</v-icon>
|
||||
<v-icon style="margin-right: 0.5em">mdi-github</v-icon>
|
||||
GitHub
|
||||
</v-btn>
|
||||
|
||||
<v-btn class="mainAltButton" :href="discordLink" target="_blank">
|
||||
<v-icon style="margin-right: 0.5em;">mdi-discord</v-icon>
|
||||
<v-icon style="margin-right: 0.5em">mdi-discord</v-icon>
|
||||
Discord
|
||||
</v-btn>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
transition(to, from) {
|
||||
if (!from) return "swoop-in";
|
||||
let routes = ["index", "install", "faq", "donate", "links"];
|
||||
if (routes.indexOf(to.name) < 0) return "swoop-out";
|
||||
if (routes.indexOf(from.name) < 0) return "swoop-in";
|
||||
return routes.indexOf(to.name) > routes.indexOf(from.name)
|
||||
? "swoop-left"
|
||||
: "swoop-right";
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
installLink: "/install",
|
||||
githubLink: "https://github.com/Anarios/return-youtube-dislike",
|
||||
discordLink: "https://discord.gg/mYnESY4Md5",
|
||||
};
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
#thumbslogo {
|
||||
opacity: 0;
|
||||
@@ -38,21 +77,23 @@
|
||||
stroke: #f44;
|
||||
transition-property: opacity, transform;
|
||||
transform: scale(0) rotate(180deg);
|
||||
animation: popin 1s .3s ease-in-out 1 forwards, tap .3s 1.7s ease-in-out 1 forwards;
|
||||
animation: popin 1s 0.3s ease-in-out 1 forwards,
|
||||
tap 0.3s 1.7s ease-in-out 1 forwards;
|
||||
}
|
||||
|
||||
#plarrow {
|
||||
opacity: 0;
|
||||
transform: translateX(-0.25rem);
|
||||
transition-property: opacity, transform;
|
||||
animation: slidin .5s 1.7s ease 1 forwards;
|
||||
animation: slidin 0.5s 1.7s ease 1 forwards;
|
||||
}
|
||||
|
||||
@keyframes slidin {
|
||||
0% {
|
||||
opacity: 0;
|
||||
transform: translateX(-0.25rem);
|
||||
} 100% {
|
||||
}
|
||||
100% {
|
||||
opacity: 1;
|
||||
transform: translateX(0);
|
||||
}
|
||||
@@ -62,7 +103,8 @@
|
||||
0% {
|
||||
transform: rotate(180deg) scale(0);
|
||||
opacity: 0;
|
||||
} 100% {
|
||||
}
|
||||
100% {
|
||||
transform: rotate(0deg) scale(1);
|
||||
opacity: 1;
|
||||
}
|
||||
@@ -71,7 +113,8 @@
|
||||
@keyframes fadein {
|
||||
0% {
|
||||
opacity: 0;
|
||||
} 100% {
|
||||
}
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
@@ -81,11 +124,13 @@
|
||||
fill: transparent;
|
||||
stroke: #f44;
|
||||
transform: scale(1);
|
||||
} 25% {
|
||||
}
|
||||
25% {
|
||||
fill: #f44;
|
||||
stroke: none;
|
||||
transform: scale(.85);
|
||||
} 100% {
|
||||
transform: scale(0.85);
|
||||
}
|
||||
100% {
|
||||
fill: #f44;
|
||||
stroke: none;
|
||||
transform: scale(1);
|
||||
@@ -110,26 +155,7 @@
|
||||
opacity: 0;
|
||||
transform: none;
|
||||
transition-property: opacity;
|
||||
animation: fadein .5s .5s ease 1 forwards;
|
||||
animation: fadein 0.5s 0.5s ease 1 forwards;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
transition(to, from) {
|
||||
if (!from) return 'swoop-in'
|
||||
let routes = ['index', 'install', 'faq', 'donate', 'links']
|
||||
if (routes.indexOf(to.name) < 0) return 'swoop-out'
|
||||
if (routes.indexOf(from.name) < 0) return 'swoop-in'
|
||||
return routes.indexOf(to.name) > routes.indexOf(from.name) ? 'swoop-left' : 'swoop-right'
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
installLink: "/install",
|
||||
githubLink: "https://github.com/Anarios/return-youtube-dislike",
|
||||
discordLink: "https://discord.gg/mYnESY4Md5",
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user