Some checks are pending
E2E / Playwright e2e (push) Waiting to run
- Introduced turbopack alias for canvas in next.config.mjs. - Updated package.json scripts for development and branding tasks. - Added new dependencies for Tiptap extensions. - Implemented new demo layouts for agenda, contacts, drive, and mail applications. - Enhanced globals.css for improved theming and splash screen animations. - Added OAuth callback handling for drive mounts. - Updated layout components to integrate new demo shells and improve structure.
33 lines
724 B
TypeScript
33 lines
724 B
TypeScript
import { suitePublicAsset } from "@/lib/suite/suite-public-asset"
|
|
import { cn } from "@/lib/utils"
|
|
|
|
const AGENDA_MARK_LIGHT = suitePublicAsset("/agenda-mark.svg")
|
|
const AGENDA_MARK_DARK = suitePublicAsset("/agenda-mark-dark.svg")
|
|
|
|
export function AgendaMark({
|
|
className,
|
|
alt = "",
|
|
}: {
|
|
className?: string
|
|
alt?: string
|
|
}) {
|
|
return (
|
|
<>
|
|
<img
|
|
src={AGENDA_MARK_LIGHT}
|
|
alt={alt}
|
|
className={cn(className, "dark:hidden")}
|
|
draggable={false}
|
|
aria-hidden={alt === ""}
|
|
/>
|
|
<img
|
|
src={AGENDA_MARK_DARK}
|
|
alt={alt}
|
|
className={cn(className, "hidden dark:block")}
|
|
draggable={false}
|
|
aria-hidden={alt === ""}
|
|
/>
|
|
</>
|
|
)
|
|
}
|