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