ultisuite-client/lib/suite/favorite-apps.ts
R3D347HR4Y 6ec95262af Add OnlyOffice integration and update project configurations
- Updated .env.example to include configuration for OnlyOffice Document Server.
- Modified the workspace configuration to remove the drive-suite path.
- Adjusted TypeScript environment imports for consistency.
- Enhanced Next.js configuration to disable canvas in Webpack.
- Updated package.json to include new dependencies for OnlyOffice and PDF.js.
- Added global styles for OnlyOffice theme integration in the CSS.
- Created new layout and page components for the Drive feature, including public sharing and editing functionalities.
- Updated metadata handling across various layouts to reflect the new app structure.
2026-06-07 15:49:21 +02:00

61 lines
1.6 KiB
TypeScript

import { suitePublicAsset } from "@/lib/suite/suite-public-asset"
export type FavoriteApp = {
name: string
icon: 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") },
{ name: "Agenda", icon: suitePublicAsset("/agenda-mark.svg") },
{ name: "Photos", icon: suitePublicAsset("/photos-mark.svg") },
{
name: "Ultimail",
icon: suitePublicAsset("/brand/ultimail-header-icon.png"),
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") },
{ name: "Administration", icon: suitePublicAsset("/admin-mark.svg") },
{
name: "OpenMaps",
icon: suitePublicAsset("/openstreetmap-mark.svg"),
href: "https://www.openstreetmap.org/",
external: true,
},
{
name: "Mistral",
icon: suitePublicAsset("/mistral-mark.svg"),
href: "https://chat.mistral.ai/",
external: true,
},
{
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,
},
]