@@ -163,8 +163,9 @@ export function PortalGroupedMenu() {
|
||||
aria-label="Sessão da conta"
|
||||
className="mb-3 flex flex-wrap items-center justify-between gap-3 rounded-lg bg-slate-50 px-3 py-2"
|
||||
>
|
||||
<p className="min-w-0 break-words text-sm text-slate-700 [overflow-wrap:anywhere]">
|
||||
Sessão: {props.auth.user.name || props.auth.user.email}
|
||||
<p className="min-w-0 text-sm [overflow-wrap:anywhere] break-words text-slate-700">
|
||||
Sessão:{' '}
|
||||
{props.auth.user.name || props.auth.user.email}
|
||||
</p>
|
||||
<Link
|
||||
href={logout()}
|
||||
@@ -181,7 +182,9 @@ export function PortalGroupedMenu() {
|
||||
className="inline-flex min-h-11 shrink-0 items-center gap-2 rounded-lg border border-slate-400 bg-white px-3 py-2 text-sm font-semibold text-slate-900 hover:bg-slate-100 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-emerald-700 disabled:cursor-wait disabled:opacity-60"
|
||||
>
|
||||
<LogOut aria-hidden="true" className="size-4" />
|
||||
{loggingOut ? 'A terminar sessão…' : 'Terminar sessão'}
|
||||
{loggingOut
|
||||
? 'A terminar sessão…'
|
||||
: 'Terminar sessão'}
|
||||
</Link>
|
||||
</nav>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user