mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
feat: avatar edition & new avatar component
This commit is contained in:
parent
a51a128fcb
commit
9b8ec34bba
12 changed files with 260 additions and 98 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue