ultisuite-client/lib/suite/favorite-apps.ts
R3D347HR4Y ad1370ea7e
Some checks are pending
E2E / Playwright e2e (push) Waiting to run
feat: enhance configuration and add new demo layouts
- 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.
2026-06-12 19:10:24 +02:00

79 lines
1.8 KiB
TypeScript

import { suitePublicAsset } from "@/lib/suite/suite-public-asset"
export type FavoriteApp = {
name: string
icon: string
/** Variante dark mode (gris clairs, surface adaptée). */
iconDark?: string
href?: string
/** Ouvre dans un nouvel onglet (liens externes). */
external?: boolean
/** Logos sombres : blanc en dark via invert + hue-rotate. */
whiteLogoInDark?: boolean
}
export const SUITE_FAVORITE_APPS: FavoriteApp[] = [
{
name: "Compte",
icon: suitePublicAsset("/compte-mark.svg"),
href: "/compte",
},
{
name: "Agenda",
icon: suitePublicAsset("/agenda-mark.svg"),
iconDark: suitePublicAsset("/agenda-mark-dark.svg"),
href: "/agenda",
},
{ name: "Photos", icon: suitePublicAsset("/photos-mark.svg") },
{
name: "Ultimail",
icon: suitePublicAsset("/ultimail-mark.svg"),
href: "/mail",
},
{
name: "UltiDrive",
icon: suitePublicAsset("/ultidrive-mark.svg"),
href: "/drive",
},
{
name: "Contacts",
icon: suitePublicAsset("/contacts-mark.svg"),
href: "/contacts",
},
{
name: "UltiMeet",
icon: suitePublicAsset("/ultimeet-mark.svg"),
href: "/meet",
},
{
name: "Administration",
icon: suitePublicAsset("/admin-mark.svg"),
href: "/admin/settings",
},
{
name: "OpenMaps",
icon: suitePublicAsset("/openstreetmap-mark.svg"),
href: "https://www.openstreetmap.org/",
external: true,
},
{
name: "UltiAI",
icon: suitePublicAsset("/ultiai-mark.svg"),
href: "/chat",
},
{
name: "Qwant",
icon: suitePublicAsset("/qwant-mark.svg"),
href: "https://www.qwant.com/",
external: true,
whiteLogoInDark: true,
},
{
name: "Ground News",
icon: suitePublicAsset("/ground-news-mark.svg"),
href: "https://ground.news/",
external: true,
whiteLogoInDark: true,
},
]