Prettier format pending files
This commit is contained in:
parent
f05712ec39
commit
62524ff1dc
1 changed files with 24 additions and 5 deletions
|
|
@ -1,7 +1,12 @@
|
|||
import { Navigate, useLocation } from "react-router-dom";
|
||||
import { useAuth } from "@/contexts/AuthContext";
|
||||
import Layout from "@/components/Layout";
|
||||
import { Card, CardHeader, CardTitle, CardDescription } from "@/components/ui/card";
|
||||
import {
|
||||
Card,
|
||||
CardHeader,
|
||||
CardTitle,
|
||||
CardDescription,
|
||||
} from "@/components/ui/card";
|
||||
import { Badge } from "@/components/ui/badge";
|
||||
|
||||
interface RequireAccessProps {
|
||||
|
|
@ -33,9 +38,16 @@ export default function RequireAccess({
|
|||
<section className="container mx-auto max-w-3xl px-4">
|
||||
<Card className="bg-card/60 border-border/40 backdrop-blur">
|
||||
<CardHeader>
|
||||
<Badge variant="outline" className="mb-2 border-aethex-400/50 text-aethex-300">Access</Badge>
|
||||
<Badge
|
||||
variant="outline"
|
||||
className="mb-2 border-aethex-400/50 text-aethex-300"
|
||||
>
|
||||
Access
|
||||
</Badge>
|
||||
<CardTitle>Access denied</CardTitle>
|
||||
<CardDescription>Sign in required to view this page.</CardDescription>
|
||||
<CardDescription>
|
||||
Sign in required to view this page.
|
||||
</CardDescription>
|
||||
</CardHeader>
|
||||
</Card>
|
||||
</section>
|
||||
|
|
@ -51,9 +63,16 @@ export default function RequireAccess({
|
|||
<section className="container mx-auto max-w-3xl px-4">
|
||||
<Card className="bg-card/60 border-border/40 backdrop-blur">
|
||||
<CardHeader>
|
||||
<Badge variant="outline" className="mb-2 border-aethex-400/50 text-aethex-300">Access</Badge>
|
||||
<Badge
|
||||
variant="outline"
|
||||
className="mb-2 border-aethex-400/50 text-aethex-300"
|
||||
>
|
||||
Access
|
||||
</Badge>
|
||||
<CardTitle>Access denied</CardTitle>
|
||||
<CardDescription>You don’t have the required realm or role for this area.</CardDescription>
|
||||
<CardDescription>
|
||||
You don’t have the required realm or role for this area.
|
||||
</CardDescription>
|
||||
</CardHeader>
|
||||
</Card>
|
||||
</section>
|
||||
|
|
|
|||
Loading…
Reference in a new issue