Some checks are pending
E2E / Playwright e2e (push) Waiting to run
- Removed dark mode icon references for the agenda in landing-data, favorite-apps, and suite-app-splash files. - Consolidated agenda icon handling in agenda-mark component to use a single light icon, improving code maintainability and reducing redundancy.
23 lines
418 B
TypeScript
23 lines
418 B
TypeScript
import { suitePublicAsset } from "@/lib/suite/suite-public-asset"
|
|
import { cn } from "@/lib/utils"
|
|
|
|
const AGENDA_MARK = suitePublicAsset("/agenda-mark.svg")
|
|
|
|
export function AgendaMark({
|
|
className,
|
|
alt = "",
|
|
}: {
|
|
className?: string
|
|
alt?: string
|
|
}) {
|
|
return (
|
|
<img
|
|
src={AGENDA_MARK}
|
|
alt={alt}
|
|
className={cn(className)}
|
|
draggable={false}
|
|
aria-hidden={alt === ""}
|
|
/>
|
|
)
|
|
}
|