feat: avatar edition & new avatar component

This commit is contained in:
swve 2024-01-20 02:27:09 +01:00
parent a51a128fcb
commit 9b8ec34bba
12 changed files with 260 additions and 98 deletions

View file

@ -9,6 +9,7 @@ import { usePathname } from "next/navigation";
import { useRouter } from "next/router";
import path from "path";
import { Settings } from "lucide-react";
import UserAvatar from "@components/Objects/UserAvatar";
export interface Auth {
access_token: string;
@ -91,7 +92,7 @@ function ProfileArea() {
<AccountArea>
<div>{auth.userInfo.user_object.username}</div>
<div>
<Avvvatars value={auth.userInfo.user_object.user_id} style="shape" />
<UserAvatar width={40} />
</div>
<Link href={"/dash"}><Settings /></Link>
</AccountArea>