Server list

This commit is contained in:
2025-09-28 21:17:55 +02:00
parent 9fce1c3376
commit fac0082a8c
6 changed files with 336 additions and 45 deletions
+14 -7
View File
@@ -1,15 +1,22 @@
'use client';
"use client";
import AppSidebar from "@/components/Sidebar";
import { Button } from "@/components/ui/button";
import Image from "next/image";
export default function Home() {
return (
<AppSidebar>
<Button onClick={() => {
}}>Connect</Button>
<AppSidebar
server={{
id: "bro",
name: "Bro",
channels: [
{ id: "1", name: "general", kind: "text" },
{ id: "2", name: "random", kind: "text" },
{ id: "3", name: "help", kind: "text" },
{ id: "4", name: "voice-chat", kind: "voice" },
],
}}
>
ok
</AppSidebar>
);
}