From a1ba00618ca67003e2077a7bfc9c233bacc95f83 Mon Sep 17 00:00:00 2001 From: BaoVu2k4 Date: Tue, 25 Aug 2026 14:12:49 +0700 Subject: [PATCH] Add a real, visible patient-profile button --- apps/web/app/_components/AccountMenu.tsx | 43 +++++++++++++++--------- 1 file changed, 27 insertions(+), 16 deletions(-) diff --git a/apps/web/app/_components/AccountMenu.tsx b/apps/web/app/_components/AccountMenu.tsx index 05c661d..d72a078 100644 --- a/apps/web/app/_components/AccountMenu.tsx +++ b/apps/web/app/_components/AccountMenu.tsx @@ -3,7 +3,7 @@ import { useEffect, useState } from "react"; import Link from "next/link"; import { useRouter } from "next/navigation"; -import { LogIn, LogOut, UserRound } from "lucide-react"; +import { ClipboardList, LogIn, LogOut, UserRound } from "lucide-react"; import type { AuthUser } from "@duoc-thu/shared-types"; import { logout, me } from "@duoc-thu/api-client"; @@ -37,22 +37,33 @@ export function AccountMenu() { } return ( -
- - - {user.username} - - +
+ {/* A real, labeled button — not a tooltip hidden on plain text (that + * shipped invisible: an owner testing the feature live couldn't find + * it at all). Same destination as before, `/profile`. */} + - - + + Hồ sơ bệnh nhân + ); }