Add link to footer admin email
This commit is contained in:
parent
f3146837d6
commit
7cad939694
@ -45,12 +45,18 @@ export default function Footer() {
|
|||||||
'flex items-center gap-1',
|
'flex items-center gap-1',
|
||||||
'text-dim min-h-10',
|
'text-dim min-h-10',
|
||||||
)}>
|
)}>
|
||||||
<div className="flex gap-x-3 xs:gap-x-4 grow flex-wrap">
|
<div className={clsx(
|
||||||
|
'flex gap-x-3 xs:gap-x-4 grow flex-wrap',
|
||||||
|
'w-full min-w-0',
|
||||||
|
)}>
|
||||||
{userEmail || userEmailEager
|
{userEmail || userEmailEager
|
||||||
? <>
|
? <>
|
||||||
<div className="truncate max-w-full">
|
<Link
|
||||||
|
href={PATH_ADMIN_PHOTOS}
|
||||||
|
className="truncate max-w-full"
|
||||||
|
>
|
||||||
{userEmail || userEmailEager}
|
{userEmail || userEmailEager}
|
||||||
</div>
|
</Link>
|
||||||
<form action={() => signOutAction()
|
<form action={() => signOutAction()
|
||||||
.then(clearAuthStateAndRedirectIfNecessary)}>
|
.then(clearAuthStateAndRedirectIfNecessary)}>
|
||||||
<SubmitButtonWithStatus styleAs="link">
|
<SubmitButtonWithStatus styleAs="link">
|
||||||
@ -66,7 +72,7 @@ export default function Footer() {
|
|||||||
{appText.nav.admin}
|
{appText.nav.admin}
|
||||||
</Link>}
|
</Link>}
|
||||||
</div>
|
</div>
|
||||||
<div className="flex items-center h-10">
|
<div className="flex items-center h-10 shrink-0">
|
||||||
<ThemeSwitcher />
|
<ThemeSwitcher />
|
||||||
</div>
|
</div>
|
||||||
</div>]
|
</div>]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user