design dashboard comments & messages & modals

This commit is contained in:
Ehsan
2024-09-04 03:00:36 +03:30
parent bc47663002
commit 52a745fcb8
34 changed files with 669 additions and 128 deletions
+3 -1
View File
@@ -9,7 +9,7 @@ import "aos/dist/aos.css";
import { useEffect } from "react";
import Sidebar from './sidebar';
function Layout({ children, title, name, disableFooter, isSidebar, user }) {
function Layout({ children, title, name, disableFooter, isSidebar, user, value, setValue }) {
useEffect(() => {
Aos.init({ duration: 1000 });
@@ -31,6 +31,8 @@ function Layout({ children, title, name, disableFooter, isSidebar, user }) {
{isSidebar && (
<Sidebar
user={user}
value={value}
setValue={setValue}
/>
)}
{children}