style: prettier

This commit is contained in:
Derrick Hammer 2024-03-13 13:33:03 -04:00
parent 273b41d243
commit 3f77d16f0b
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 62 additions and 64 deletions

View File

@ -1,20 +1,17 @@
import { GeneralLayout } from "~/components/general-layout" import { GeneralLayout } from "~/components/general-layout";
import { import {
CloudIcon, CloudIcon,
CloudDownloadIcon, CloudDownloadIcon,
CloudUploadSolidIcon CloudUploadSolidIcon,
} from "~/components/icons" } from "~/components/icons";
import { UpgradeAccountBanner } from "~/components/upgrade-account-banner" import { UpgradeAccountBanner } from "~/components/upgrade-account-banner";
import { UsageCard } from "~/components/usage-card" import { UsageCard } from "~/components/usage-card";
import { UsageChart } from "~/components/usage-chart" import { UsageChart } from "~/components/usage-chart";
import { Authenticated } from "@refinedev/core";
export default function Dashboard() { export default function Dashboard() {
const isLogged = true
if (!isLogged) {
window.location.href = "/login"
}
return ( return (
<Authenticated key="dashboard" v3LegacyAuthProviderCompatible>
<GeneralLayout> <GeneralLayout>
<h1 className="font-bold mb-4 text-3xl">Dashboard</h1> <h1 className="font-bold mb-4 text-3xl">Dashboard</h1>
<UpgradeAccountBanner /> <UpgradeAccountBanner />
@ -45,7 +42,7 @@ export default function Dashboard() {
dataset={[ dataset={[
{ x: "3/2", y: "50" }, { x: "3/2", y: "50" },
{ x: "3/3", y: "10" }, { x: "3/3", y: "10" },
{ x: "3/4", y: "20" } { x: "3/4", y: "20" },
]} ]}
label="Storage" label="Storage"
/> />
@ -53,7 +50,7 @@ export default function Dashboard() {
dataset={[ dataset={[
{ x: "3/2", y: "50" }, { x: "3/2", y: "50" },
{ x: "3/3", y: "10" }, { x: "3/3", y: "10" },
{ x: "3/4", y: "20" } { x: "3/4", y: "20" },
]} ]}
label="Download" label="Download"
/> />
@ -61,11 +58,12 @@ export default function Dashboard() {
dataset={[ dataset={[
{ x: "3/2", y: "50" }, { x: "3/2", y: "50" },
{ x: "3/3", y: "10" }, { x: "3/3", y: "10" },
{ x: "3/4", y: "20" } { x: "3/4", y: "20" },
]} ]}
label="Upload" label="Upload"
/> />
</div> </div>
</GeneralLayout> </GeneralLayout>
) </Authenticated>
);
} }