feat: implement user dropdown menu and reusable components for user data management and display
Build and Release / release (push) Successful in 48s

This commit is contained in:
2026-06-06 22:57:19 +07:00
parent 5bd4a4e402
commit b3e765b6f1
3 changed files with 40 additions and 31 deletions
+2 -2
View File
@@ -57,7 +57,7 @@ export default function UserDropdown() {
.replace(/=.*/, "=;expires=" + new Date().toUTCString() + ";path=/");
});
window.location.href = "/signin";
window.location.href = "/auth/signin";
}
};
@@ -181,7 +181,7 @@ export default function UserDropdown() {
</ul>
<Link
onClick={handleLogout}
href="/signin"
href="/auth/signin"
className="flex items-center gap-3 px-3 py-2 mt-3 font-medium text-gray-700 rounded-lg group text-theme-sm hover:bg-gray-100 hover:text-gray-700 dark:text-gray-400 dark:hover:bg-white/5 dark:hover:text-gray-300"
>
<svg