feat: build dashboard lead funnel
This commit is contained in:
@@ -2,6 +2,7 @@ import { redirect } from "next/navigation";
|
||||
|
||||
import { isAuthenticated } from "@/lib/auth-server";
|
||||
import { DashboardSidebar } from "@/components/dashboard-sidebar";
|
||||
import { DashboardThemeProvider } from "@/components/dashboard-theme";
|
||||
import { getDashboardRedirectPath } from "@/lib/route-guards";
|
||||
|
||||
export default async function DashboardLayout({
|
||||
@@ -17,9 +18,9 @@ export default async function DashboardLayout({
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="min-h-dvh bg-background md:flex">
|
||||
<DashboardThemeProvider>
|
||||
<DashboardSidebar />
|
||||
<div className="min-w-0 flex-1">{children}</div>
|
||||
</div>
|
||||
</DashboardThemeProvider>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user