the button should appear no matter what tab you are looking at
This commit is contained in:
@@ -24,7 +24,8 @@ import {
|
|||||||
Code2,
|
Code2,
|
||||||
Mails,
|
Mails,
|
||||||
Send,
|
Send,
|
||||||
ClipboardList
|
ClipboardList,
|
||||||
|
ExternalLink
|
||||||
} from "lucide-react"
|
} from "lucide-react"
|
||||||
import { Button } from "@/components/ui/button";
|
import { Button } from "@/components/ui/button";
|
||||||
import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";
|
import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";
|
||||||
@@ -118,6 +119,14 @@ function AdminLayout({
|
|||||||
</Sidebar>
|
</Sidebar>
|
||||||
<SidebarInset>
|
<SidebarInset>
|
||||||
<div className="p-4 sm:p-6 lg:p-8">
|
<div className="p-4 sm:p-6 lg:p-8">
|
||||||
|
<div className="flex justify-end mb-4">
|
||||||
|
<Link href="/" passHref>
|
||||||
|
<Button variant="outline">
|
||||||
|
<ExternalLink className="mr-2 h-4 w-4" />
|
||||||
|
Go to Frontend
|
||||||
|
</Button>
|
||||||
|
</Link>
|
||||||
|
</div>
|
||||||
{children}
|
{children}
|
||||||
</div>
|
</div>
|
||||||
</SidebarInset>
|
</SidebarInset>
|
||||||
|
|||||||
@@ -32,12 +32,6 @@ export default async function LeadsPage() {
|
|||||||
A list of all the users who have requested an estimate.
|
A list of all the users who have requested an estimate.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<Link href="/" passHref>
|
|
||||||
<Button variant="outline">
|
|
||||||
<ExternalLink className="mr-2 h-4 w-4" />
|
|
||||||
Go to Frontend
|
|
||||||
</Button>
|
|
||||||
</Link>
|
|
||||||
</div>
|
</div>
|
||||||
<Card>
|
<Card>
|
||||||
<CardHeader>
|
<CardHeader>
|
||||||
|
|||||||
Reference in New Issue
Block a user