feat: add tooltips to header
This commit is contained in:
parent
e3382183ef
commit
a34d37ae76
3 changed files with 3 additions and 3 deletions
|
|
@ -24,7 +24,7 @@ export default async function Header() {
|
|||
|
||||
<ul className="flex justify-end gap-3 items-center h-11 *:h-full max-lg:col-span-2 max-md:justify-center">
|
||||
<li title="Random Mii">
|
||||
<Link href={"/random"} className="pill button !p-0 h-full aspect-square">
|
||||
<Link href={"/random"} className="pill button !p-0 h-full aspect-square" data-tooltip="Go to a Random Mii">
|
||||
<Icon icon="mdi:dice-3" fontSize={28} />
|
||||
</Link>
|
||||
</li>
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import { signOut } from "next-auth/react";
|
|||
export default function LogoutButton() {
|
||||
return (
|
||||
<li title="Logout">
|
||||
<button onClick={() => signOut()} className="pill button !p-0 aspect-square h-full">
|
||||
<button onClick={() => signOut()} className="pill button !p-0 aspect-square h-full" data-tooltip="Log Out">
|
||||
<Icon icon="ic:round-logout" fontSize={24} />
|
||||
</button>
|
||||
</li>
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ export default async function ProfileOverview() {
|
|||
|
||||
return (
|
||||
<li title="Your profile">
|
||||
<Link href={`/profile/${session?.user.id}`} className="pill button !gap-2 !p-0 h-full max-w-64">
|
||||
<Link href={`/profile/${session?.user.id}`} className="pill button !gap-2 !p-0 h-full max-w-64" data-tooltip="Your Profile">
|
||||
<Image
|
||||
src={session?.user?.image ?? "/missing.svg"}
|
||||
alt="profile picture"
|
||||
|
|
|
|||
Loading…
Reference in a new issue