mirror of
https://github.com/massbug/judge4c.git
synced 2025-05-17 14:56:36 +00:00
chore(avatar): update default image to use local shadcn.jpg
This commit is contained in:
parent
1d0b74136f
commit
58222795fe
BIN
public/shadcn.jpg
Normal file
BIN
public/shadcn.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 30 KiB |
@ -31,7 +31,7 @@ export async function AvatarButton() {
|
||||
const session = await auth();
|
||||
const t = await getTranslations("AvatarButton");
|
||||
const isLoggedIn = !!session?.user;
|
||||
const image = session?.user?.image ?? "https://github.com/shadcn.png";
|
||||
const image = session?.user?.image ?? "/shadcn.jpg";
|
||||
const name = session?.user?.name ?? "unknown";
|
||||
const email = session?.user?.email ?? "unknwon@example.com";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user