mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-09-09 01:18:20 +00:00
Initial End to End functionality
This commit is contained in:
@@ -3,10 +3,32 @@ import { createRoot } from 'react-dom/client';
|
||||
import '@mantine/core/styles.css';
|
||||
import '@mantine/notifications/styles.css';
|
||||
import '@mantine/dates/styles.css';
|
||||
import '@mantine/spotlight/styles.css';
|
||||
import './styles.css';
|
||||
import './app/i18n/config';
|
||||
import { App } from './app/app';
|
||||
|
||||
/**
|
||||
* Branding handed to the vendored `@tria-plc/iamui` user-management module,
|
||||
* which reads it off `window` at import time. Declared here because that
|
||||
* package ships no ambient type for it.
|
||||
*/
|
||||
declare global {
|
||||
interface Window {
|
||||
__USER_MANAGEMENT_BRANDING__: {
|
||||
appName: string;
|
||||
organizationName: string;
|
||||
logoSrc: string;
|
||||
logoAlt: string;
|
||||
homePath: string;
|
||||
moduleBasePath: string;
|
||||
backToAppPath: string;
|
||||
backToAppLabel: string;
|
||||
cssVariables: Record<string, string>;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
document.title = 'EMA Backoffice';
|
||||
|
||||
const _favicon = document.querySelector<HTMLLinkElement>('link[rel="icon"]');
|
||||
|
||||
Reference in New Issue
Block a user