diff --git a/index.html b/index.html index 9156cbe7..e656cd4c 100644 --- a/index.html +++ b/index.html @@ -3,9 +3,14 @@ - + + + + + + - MCP + ManagedControlPlane UI diff --git a/public/favicon/apple-touch-icon.png b/public/favicon/apple-touch-icon.png new file mode 100644 index 00000000..eff2c1e2 Binary files /dev/null and b/public/favicon/apple-touch-icon.png differ diff --git a/public/favicon/favicon-96x96.png b/public/favicon/favicon-96x96.png new file mode 100644 index 00000000..8f6a9041 Binary files /dev/null and b/public/favicon/favicon-96x96.png differ diff --git a/public/favicon/favicon.ico b/public/favicon/favicon.ico new file mode 100644 index 00000000..78dbda58 Binary files /dev/null and b/public/favicon/favicon.ico differ diff --git a/public/favicon/favicon.svg b/public/favicon/favicon.svg new file mode 100644 index 00000000..c8160cd3 --- /dev/null +++ b/public/favicon/favicon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/favicon/site.webmanifest b/public/favicon/site.webmanifest new file mode 100644 index 00000000..d48f8de4 --- /dev/null +++ b/public/favicon/site.webmanifest @@ -0,0 +1,21 @@ +{ + "name": "ManagedControlPlane UI", + "short_name": "MCP UI", + "icons": [ + { + "src": "/favicon/web-app-manifest-192x192.png", + "sizes": "192x192", + "type": "image/png", + "purpose": "maskable" + }, + { + "src": "/favicon/web-app-manifest-512x512.png", + "sizes": "512x512", + "type": "image/png", + "purpose": "maskable" + } + ], + "theme_color": "#ffffff", + "background_color": "#ffffff", + "display": "standalone" +} \ No newline at end of file diff --git a/public/favicon/web-app-manifest-192x192.png b/public/favicon/web-app-manifest-192x192.png new file mode 100644 index 00000000..aa1b92e5 Binary files /dev/null and b/public/favicon/web-app-manifest-192x192.png differ diff --git a/public/favicon/web-app-manifest-512x512.png b/public/favicon/web-app-manifest-512x512.png new file mode 100644 index 00000000..a892b4c1 Binary files /dev/null and b/public/favicon/web-app-manifest-512x512.png differ diff --git a/public/logo.png b/public/logo.png deleted file mode 100644 index 28d703df..00000000 Binary files a/public/logo.png and /dev/null differ diff --git a/public/touch-icon-180x180.png b/public/touch-icon-180x180.png new file mode 100644 index 00000000..2e69347b Binary files /dev/null and b/public/touch-icon-180x180.png differ diff --git a/src/App.tsx b/src/App.tsx index c8efae23..f28a27eb 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,21 +1,12 @@ import AppRouter from './AppRouter'; import { useAuthOnboarding } from './spaces/onboarding/auth/AuthContextOnboarding.tsx'; import '@ui5/webcomponents-icons/dist/AllIcons.d.ts'; -import { useEffect } from 'react'; -import { useFrontendConfig } from './context/FrontendConfigContext.tsx'; import { SignInPage } from './spaces/onboarding/pages/SignInPage/SignInPage.tsx'; import { BusyIndicator } from '@ui5/webcomponents-react'; import * as Sentry from '@sentry/react'; function App() { const auth = useAuthOnboarding(); - const frontendConfig = useFrontendConfig(); - - useEffect(() => { - if (frontendConfig && frontendConfig.landscape) { - document.title = `[${frontendConfig.landscape}] MCP`; - } - }, [frontendConfig]); if (auth.isLoading) { return ; diff --git a/src/assets/images/sap-logo.svg b/src/assets/images/sap-logo.svg new file mode 100644 index 00000000..c8160cd3 --- /dev/null +++ b/src/assets/images/sap-logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/components/Core/ShellBar.tsx b/src/components/Core/ShellBar.tsx index c08b8edf..07968e6e 100644 --- a/src/components/Core/ShellBar.tsx +++ b/src/components/Core/ShellBar.tsx @@ -14,6 +14,7 @@ import { ShellBarProfileClickEventDetail } from '@ui5/webcomponents-fiori/dist/S import PopoverPlacement from '@ui5/webcomponents/dist/types/PopoverPlacement.js'; import { useTranslation } from 'react-i18next'; import { generateInitialsForEmail } from '../Helper/generateInitialsForEmail.ts'; +import SapLogo from '../../assets/images/sap-logo.svg'; import styles from './ShellBar.module.css'; export function ShellBarComponent() { @@ -44,8 +45,9 @@ export function ShellBarComponent() { startButton={
- MCP - MCP + SAP + {/* eslint-disable-next-line i18next/no-literal-string */} + ManagedControlPlane UI
}