This commit is contained in:
NotII
2025-03-03 20:24:26 +00:00
parent de6ec3bfaf
commit f5c7994bf7
11 changed files with 827 additions and 110 deletions

View File

@@ -3,6 +3,7 @@
import { useState, useEffect } from "react"
import { useTheme } from "next-themes"
import Sidebar from "./sidebar"
import ChatNotifications from "@/components/dashboard/ChatNotifications"
import type React from "react" // Added import for React
interface LayoutProps {
@@ -21,6 +22,11 @@ export default function Layout({ children }: LayoutProps) {
<div className={`flex h-screen ${theme === "dark" ? "dark" : ""}`}>
<Sidebar />
<div className="w-full flex flex-1 flex-col">
<header className="h-16 border-b border-border flex items-center justify-end px-6">
<div className="flex items-center space-x-2">
<ChatNotifications />
</div>
</header>
<main className="flex-1 overflow-auto p-6 dark:bg-[#0F0F12]">{children}</main>
</div>
</div>