feat : impove UI
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
"use client";
|
||||
|
||||
import Image from "@/components/ui/resilient-image";
|
||||
import { MousePointerClickIcon } from "lucide-react";
|
||||
import { Children, Fragment, type ReactNode, useState } from "react";
|
||||
import { Separator } from "@/components/ui/separator";
|
||||
import { ScrollableNav } from "@/components/public/scrollable-nav";
|
||||
@@ -10,7 +9,7 @@ import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs";
|
||||
export function ConditionTabIcon({ iconUrl }: { iconUrl?: string | null }) {
|
||||
return iconUrl
|
||||
? <Image src={iconUrl} alt="" width={32} height={32} className="size-8 shrink-0 object-contain" aria-hidden="true" data-icon="inline-start" />
|
||||
: <MousePointerClickIcon className="size-5 text-primary group-aria-pressed/tabs:text-primary-foreground" aria-hidden="true" data-icon="inline-start" />;
|
||||
: null;
|
||||
}
|
||||
|
||||
export function ConditionSwitcher({
|
||||
|
||||
Reference in New Issue
Block a user