2025-08-04 17:45:44 +02:00
|
|
|
import { Settings } from "lucide-react";
|
|
|
|
|
import { LangToggle } from "~/components/navbar/lang-toggle";
|
2025-08-28 18:27:07 +02:00
|
|
|
import { Button } from "~/components/ui/button";
|
2025-08-04 17:45:44 +02:00
|
|
|
|
|
|
|
|
import {
|
2025-08-28 18:27:07 +02:00
|
|
|
Popover,
|
|
|
|
|
PopoverContent,
|
|
|
|
|
PopoverTrigger,
|
2025-08-04 17:45:44 +02:00
|
|
|
} from "~/components/ui/popover";
|
2025-11-14 17:21:21 +01:00
|
|
|
import { ThemeSwitch } from "./theme-toggle";
|
2025-08-04 17:45:44 +02:00
|
|
|
|
|
|
|
|
export const SettingsPopover = () => {
|
2025-08-28 18:27:07 +02:00
|
|
|
return (
|
|
|
|
|
<Popover>
|
|
|
|
|
<PopoverTrigger asChild>
|
2025-08-29 16:18:32 +02:00
|
|
|
<Button aria-label="Settings" className="p-2" variant="ghost">
|
2026-01-16 15:47:38 +01:00
|
|
|
<Settings />
|
2025-08-28 18:27:07 +02:00
|
|
|
</Button>
|
|
|
|
|
</PopoverTrigger>
|
|
|
|
|
<PopoverContent className="flex w-fit justify-center gap-4 p-4">
|
|
|
|
|
<LangToggle />
|
2025-11-14 17:21:21 +01:00
|
|
|
<ThemeSwitch />
|
2025-08-28 18:27:07 +02:00
|
|
|
</PopoverContent>
|
|
|
|
|
</Popover>
|
|
|
|
|
);
|
2025-08-04 17:45:44 +02:00
|
|
|
};
|