This commit is contained in:
2025-05-21 08:52:33 +03:00
parent e992d388fb
commit 4e5fca2402
68 changed files with 358 additions and 1398 deletions

View File

@@ -12,18 +12,10 @@ export function ServerButton({ server }: ServerButtonProps) {
return (
<NavLink to={`/app/server/${server.id}`}>
{({ isActive }) => (
<Button
variant="outline"
size="none"
asChild
className={isActive ? "bg-accent" : ""}
>
<Button variant="outline" size="none" asChild className={isActive ? "bg-accent" : ""}>
<div>
<Avatar className="size-12 rounded-none flex items-center justify-center">
<AvatarImage
src={server.iconUrl}
className="rounded-none"
/>
<AvatarImage src={server.iconUrl} className="rounded-none" />
<AvatarFallback>
<div>{getFirstLetters(server.name, 4)}</div>
</AvatarFallback>