2024-03-21 02:46:45 +01:00
|
|
|
type LiveIconProps = {
|
|
|
|
layout?: "list" | "grid";
|
|
|
|
};
|
|
|
|
|
|
|
|
export function LiveGridIcon({ layout }: LiveIconProps) {
|
|
|
|
return (
|
|
|
|
<div className="size-full flex flex-col gap-0.5 rounded-md overflow-hidden">
|
|
|
|
<div
|
|
|
|
className={`h-1 w-full ${layout == "grid" ? "bg-selected" : "bg-muted-foreground"}`}
|
|
|
|
/>
|
|
|
|
<div className="h-1 w-full flex gap-0.5">
|
|
|
|
<div
|
|
|
|
className={`w-full ${layout == "grid" ? "bg-selected" : "bg-muted-foreground"}`}
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
className={`w-full ${layout == "grid" ? "bg-selected" : "bg-muted-foreground"}`}
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div className="h-1 w-full flex gap-0.5">
|
|
|
|
<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 (
|
|
|
|
<div className="size-full flex flex-col gap-0.5 rounded-md overflow-hidden">
|
|
|
|
<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>
|
|
|
|
);
|
|
|
|
}
|