güncelleme
This commit is contained in:
@@ -4,6 +4,8 @@ import { redirect } from "next/navigation"
|
||||
import { Sidebar } from "@/components/dashboard/sidebar"
|
||||
import { DashboardHeader } from "@/components/dashboard/header"
|
||||
|
||||
import { AutoLogoutHandler } from "@/components/dashboard/auto-logout-handler"
|
||||
|
||||
export default async function DashboardLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
@@ -20,6 +22,7 @@ export default async function DashboardLayout({
|
||||
|
||||
return (
|
||||
<div className="flex min-h-screen w-full flex-col bg-muted/40">
|
||||
<AutoLogoutHandler />
|
||||
<aside className="fixed inset-y-0 left-0 z-10 hidden w-64 flex-col border-r bg-background sm:flex">
|
||||
<div className="flex h-14 items-center border-b px-4 lg:h-[60px] lg:px-6">
|
||||
<span className="font-semibold text-lg">ParaKasa Panel</span>
|
||||
|
||||
Reference in New Issue
Block a user