diff --git a/public/images/mesh-bg.png b/public/images/mesh-bg.png new file mode 100644 index 0000000..a2922f0 Binary files /dev/null and b/public/images/mesh-bg.png differ diff --git a/src/app/(site)/(internal)/dashboard/layout.tsx b/src/app/(site)/(internal)/dashboard/layout.tsx index 97f8b8d..0e63721 100644 --- a/src/app/(site)/(internal)/dashboard/layout.tsx +++ b/src/app/(site)/(internal)/dashboard/layout.tsx @@ -1,7 +1,8 @@ -import {FC, PropsWithChildren} from "react"; +import React, {FC, PropsWithChildren} from "react"; import DashboardSidebar from "@/app/(site)/(internal)/dashboard/components/DashboardSidebar"; import {Metadata} from "next"; import DreamsProvider from "@/app/(site)/(internal)/dashboard/(your-dreams)/components/dreams/DreamsProvider"; +import Image from "next/image"; export const metadata: Metadata = { title: 'Dream Logger - Dashboard', @@ -10,14 +11,26 @@ export const metadata: Metadata = { const DashboardLayout: FC = ({children}) => { return ( -
- -
- - {children} - +
+
+ +
+ + {children} + +
+
) } diff --git a/src/app/(site)/components/sidebar/Sidebar.tsx b/src/app/(site)/components/sidebar/Sidebar.tsx index 6af85bb..c02c722 100644 --- a/src/app/(site)/components/sidebar/Sidebar.tsx +++ b/src/app/(site)/components/sidebar/Sidebar.tsx @@ -40,8 +40,8 @@ const Sidebar: FC = ({children, headerText}) => { = ({children, headerText}) => {
{isOpen && ( - +

@{memberData.data?.username}

-

{memberData.data?.email}

+

{memberData.data?.email}

= ({children, headerText}) => { - +
)}