@e7w/easy-routes 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/assets/index.css
CHANGED
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
|
|
70
70
|
/* GRID STYLING */
|
|
71
71
|
.spinner-box {
|
|
72
|
-
@apply top-0 left-0 w-full h-full flex justify-center items-center bg-
|
|
72
|
+
@apply top-0 left-0 w-full h-full flex justify-center items-center bg-black/30 fixed z-9999 backdrop-blur-sm;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
.leo {
|
|
@@ -77,19 +77,19 @@
|
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
.blue-orbit {
|
|
80
|
-
@apply w-
|
|
80
|
+
@apply w-41.25 h-41.25 border-4 border-blue-400/70 border-solid animate-[spin3D_3s_linear_0.2s_infinite];
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
.green-orbit {
|
|
84
|
-
@apply w-
|
|
84
|
+
@apply w-30 h-30 border-3 border-solid border-green-400/70 animate-[spin3D_2s_linear_0s_infinite_alternate];
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
.red-orbit {
|
|
88
|
-
@apply w-
|
|
88
|
+
@apply w-22.5 h-7.5 border-2 border-solid border-orange-400/70 animate-[spin3D_1s_linear_0s_infinite_alternate];
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
.white-orbit {
|
|
92
|
-
@apply w-
|
|
92
|
+
@apply w-15 h-15 border-2 border-solid border-white animate-[spin3D_10s_linear_0s_infinite_alternate];
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
.w1 {
|
|
@@ -2,5 +2,5 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
2
2
|
import { isRouteErrorResponse, useRouteError } from "react-router";
|
|
3
3
|
export const ErrorBoundary = () => {
|
|
4
4
|
const error = useRouteError();
|
|
5
|
-
return (_jsx("div", { className: "flex h-
|
|
5
|
+
return (_jsx("div", { className: "flex h-screen w-full items-center justify-center", children: _jsxs("div", { className: "flex flex-col items-center justify-center", children: [_jsx("h1", { className: "text-2xl font-bold mb-4", children: "Error" }), _jsx("p", { children: "Something went wrong." }), isRouteErrorResponse(error) && (_jsxs(_Fragment, { children: [_jsxs("p", { className: "text-red-300", children: [error.status, " ", error.statusText] }), _jsx("p", { className: "text-red-300", children: JSON.stringify(error.data) })] })), error instanceof Error && (_jsx("p", { className: "text-red-300", children: error.message }))] }) }));
|
|
6
6
|
};
|