removed faq panel jank & adjusted its width, added subtle route transition effect

This commit is contained in:
Nikita Krupin committed 2021-12-03 22:00:20 -05:00
1 parent ea390a3608
commit 85545af678
7 files changed
+94 -10

No files matched your search

+8 -2
View File
@@ -17,10 +17,16 @@
<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: () => ({
patreonLink: "https://www.patreon.com/returnyoutubedislike",
yoomoneyLink: "/pay/yoomoney"
}),
})
}
</script>