diff --git a/src/components/app/AppLayout.tsx b/src/components/app/AppLayout.tsx index ec5797b..abed679 100644 --- a/src/components/app/AppLayout.tsx +++ b/src/components/app/AppLayout.tsx @@ -12,6 +12,7 @@ import { Server, Message } from "@/types/types"; import SidebarServers from "./SidebarServers"; import SidebarDMs from "./SidebarDMs"; import SidebarChannels from "./SidebarChannels"; +import DMItem from "./DMItem"; export default function AppLayout({ children, @@ -70,15 +71,30 @@ export default function AppLayout({ app.sidebarOpen && isMobile ? "w-5xl md:w-md" : "w-0 md:w-md" )} > - {/* Left column — servers */} - +
+ +
- {/* Right column — DMs or server channels */} - {server ? ( - - ) : ( - - )} +
+
+ {server ? ( + + ) : ( + + )} +
+ +
+ +
+
{app.sidebarOpen && isMobile ? ( diff --git a/src/components/app/SidebarDMs.tsx b/src/components/app/SidebarDMs.tsx index 9e88f46..c1be647 100644 --- a/src/components/app/SidebarDMs.tsx +++ b/src/components/app/SidebarDMs.tsx @@ -76,7 +76,7 @@ export default function SidebarDMs({ app }: { app: App }) {
- - ); }