added proper page transition for API docs, chrome scrollbar hover, removed jank from background illustration

This commit is contained in:
Nikita Krupin committed 2022-01-04 18:36:17 -05:00
1 parent 939a48e73f
commit 5f95b92e9f
15 files changed
+31 -46

No files matched your search

+3
View File
@@ -40,6 +40,9 @@
<script>
export default {
transition(to) {
return to.name == "debug" ? "swoop-in" : "swoop-out";
},
data() {
return {
device: this.$ua,
@@ -29,6 +29,15 @@
<script>
export default {
transition(to, from) {
if (!from) return "swoop-in";
let routes = ["index", "install", "docs", "help", "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 {
//--- Links To Generate Above ---//
@@ -36,22 +45,22 @@ export default {
{
text: "Usage Rights",
icon: "mdi-book-open-variant",
to: "/documentation/usage-rights",
to: "/docs/usage-rights",
},
{
text: "URL Information",
icon: "mdi-web",
to: "/documentation/url",
to: "/docs/url",
},
{
text: "Available Endpoints",
icon: "mdi-transit-connection-variant",
to: "/documentation/endpoints",
to: "/docs/endpoints",
},
{
text: "Basic Fetching Tutorial",
icon: "mdi-school",
to: "/documentation/fetching",
to: "/docs/fetching",
},
],
};
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+1 -1
View File
@@ -23,7 +23,7 @@
export default {
transition(to, from) {
if (!from) return "swoop-in";
let routes = ["index", "install", "help", "faq", "donate", "links"];
let routes = ["index", "install", "docs", "help", "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)
+1 -1
View File
@@ -24,7 +24,7 @@
export default {
transition(to, from) {
if (!from) return "swoop-in";
let routes = ["index", "install", "help", "faq", "donate", "links"];
let routes = ["index", "install", "docs", "help", "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)
+1 -1
View File
@@ -101,7 +101,7 @@
export default {
transition(to, from) {
if (!from) return "swoop-in";
let routes = ["index", "install", "help", "faq", "donate", "links"];
let routes = ["index", "install", "docs", "help", "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)
+1 -1
View File
@@ -81,7 +81,7 @@
export default {
transition(to, from) {
if (!from) return "swoop-in";
let routes = ["index", "install", "help", "faq", "donate", "links"];
let routes = ["index", "install", "docs", "help", "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)
+1 -1
View File
@@ -76,7 +76,7 @@
export default {
transition(to, from) {
if (!from) return "swoop-in";
let routes = ["index", "install", "help", "faq", "donate", "links"];
let routes = ["index", "install", "docs", "help", "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)
+1 -1
View File
@@ -41,7 +41,7 @@
export default {
transition(to, from) {
if (!from) return "swoop-in";
let routes = ["index", "install", "help", "faq", "donate", "links"];
let routes = ["index", "install", "docs", "help", "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)