2024-03-21 02:46:45 +01:00
|
|
|
type LiveIconProps = {
|
|
|
|
layout?: "list" | "grid";
|
|
|
|
};
|
|
|
|
|
|
|
|
export function LiveGridIcon({ layout }: LiveIconProps) {
|
|
|
|
return (
|
2024-05-14 17:06:44 +02:00
|
|
|
<div className="flex size-full flex-col gap-0.5 overflow-hidden rounded-md">
|
2024-03-21 02:46:45 +01:00
|
|
|
<div
|
|
|
|
className={`h-1 w-full ${layout == "grid" ? "bg-selected" : "bg-muted-foreground"}`}
|
|
|
|
/>
|
2024-05-14 17:06:44 +02:00
|
|
|
<div className="flex h-1 w-full gap-0.5">
|
2024-03-21 02:46:45 +01:00
|
|
|
<div
|
|
|
|
className={`w-full ${layout == "grid" ? "bg-selected" : "bg-muted-foreground"}`}
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
className={`w-full ${layout == "grid" ? "bg-selected" : "bg-muted-foreground"}`}
|
|
|
|
/>
|
|
|
|
</div>
|
2024-05-14 17:06:44 +02:00
|
|
|
<div className="flex h-1 w-full gap-0.5">
|
2024-03-21 02:46:45 +01:00
|
|
|
<div
|
|
|
|
className={`w-full ${layout == "grid" ? "bg-selected" : "bg-muted-foreground"}`}
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
className={`w-full ${layout == "grid" ? "bg-selected" : "bg-muted-foreground"}`}
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
export function LiveListIcon({ layout }: LiveIconProps) {
|
|
|
|
return (
|
2024-05-14 17:06:44 +02:00
|
|
|
<div className="flex size-full flex-col gap-0.5 overflow-hidden rounded-md">
|
2024-03-21 02:46:45 +01:00
|
|
|
<div
|
2024-04-04 22:55:04 +02:00
|
|
|
className={`size-full ${layout == "list" ? "bg-selected" : "bg-secondary-foreground"}`}
|
2024-03-21 02:46:45 +01:00
|
|
|
/>
|
|
|
|
<div
|
2024-04-04 22:55:04 +02:00
|
|
|
className={`size-full ${layout == "list" ? "bg-selected" : "bg-secondary-foreground"}`}
|
2024-03-21 02:46:45 +01:00
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|