refactor: improve login page UI #338 #202

This commit is contained in:
Prayag Prajapati committed 2024-11-20 21:51:42 +05:30
1 parent 19343b4ea3
commit 45f67aac40
9 files changed
+314 -316

No files matched your search

+10 -14
View File
@@ -1,6 +1,6 @@
import { AppBarBackOnly } from "@/components/appBar/backOnly";
import { getUserApi } from "@jellyfin/sdk/lib/utils/api/user-api";
import { CircularProgress, Typography } from "@mui/material";
import { createFileRoute, redirect } from "@tanstack/react-router";
import { Outlet, createFileRoute, redirect } from "@tanstack/react-router";
import React from "react";
export const Route = createFileRoute("/_api/login")({
@@ -19,16 +19,12 @@ export const Route = createFileRoute("/_api/login")({
}
}
},
// component: () => {
// const data = Route.useRouteContext();
// console.log(data);
// return (
// <div style={{ height: "100vh" }} className="flex flex-column flex-center">
// <CircularProgress size={86} thickness={2} />
// <Typography mt={4} align="center">
// Fetching users...
// </Typography>
// </div>
// );
// },
component: () => {
return (
<>
<AppBarBackOnly />
<Outlet />
</>
);
},
});