2024-04-01 17:31:31 +02:00
|
|
|
import {
|
|
|
|
Tooltip,
|
|
|
|
TooltipContent,
|
|
|
|
TooltipTrigger,
|
|
|
|
} from "@/components/ui/tooltip";
|
2024-04-16 22:55:24 +02:00
|
|
|
import { isDesktop } from "react-device-detect";
|
2024-04-01 17:31:31 +02:00
|
|
|
import { VscAccount } from "react-icons/vsc";
|
|
|
|
|
|
|
|
export default function AccountSettings() {
|
|
|
|
return (
|
|
|
|
<Tooltip>
|
|
|
|
<TooltipTrigger asChild>
|
2024-04-16 22:55:24 +02:00
|
|
|
<div
|
|
|
|
className={`flex flex-col justify-center items-center ${isDesktop ? "rounded-lg text-secondary-foreground bg-secondary hover:bg-muted cursor-pointer" : "text-secondary-foreground"}`}
|
|
|
|
>
|
|
|
|
<VscAccount className="size-5 md:m-[6px]" />
|
|
|
|
</div>
|
2024-04-01 17:31:31 +02:00
|
|
|
</TooltipTrigger>
|
|
|
|
<TooltipContent side="right">
|
|
|
|
<p>Account</p>
|
|
|
|
</TooltipContent>
|
|
|
|
</Tooltip>
|
|
|
|
);
|
|
|
|
}
|