mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-26 19:12:50 +00:00
update the usermananegement config
This commit is contained in:
BIN
apps/backoffice/public/assets/MainDashboard.png
Normal file
BIN
apps/backoffice/public/assets/MainDashboard.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 154 KiB |
BIN
apps/backoffice/public/assets/StatsCard.png
Normal file
BIN
apps/backoffice/public/assets/StatsCard.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 46 KiB |
BIN
apps/backoffice/public/assets/eiarLogo.jpg
Normal file
BIN
apps/backoffice/public/assets/eiarLogo.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 390 KiB |
BIN
apps/backoffice/public/assets/ema-logo.png
Normal file
BIN
apps/backoffice/public/assets/ema-logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 390 KiB |
11
apps/backoffice/public/assets/smart-office-logo.svg
Normal file
11
apps/backoffice/public/assets/smart-office-logo.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 16 KiB |
Submodule user-management updated: 3f09900200...5b6a377fa2
@@ -7,7 +7,7 @@
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, shrink-to-fit=no"
|
||||
/>
|
||||
<title>User Management</title>
|
||||
<title>EMA Portal</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
|
||||
@@ -1,11 +1,22 @@
|
||||
import { StrictMode } from "react";
|
||||
import { createRoot } from "react-dom/client";
|
||||
// Consume the reusable module via its public barrel (@/ → ../user-management/src).
|
||||
import i18n from "@/i18n";
|
||||
import { UserManagementApp } from "@/index";
|
||||
// Your project's config lives HERE in the host folder (resolved via @app-config).
|
||||
// The module never imports it; the host passes it in.
|
||||
import { projectTheme } from "@app-config/project.theme";
|
||||
|
||||
// Override submodule translation texts for EMA branding
|
||||
// (the submodule is a readonly git submodule, so we patch i18n at runtime here)
|
||||
i18n.addResourceBundle("en", "translation", {
|
||||
auth: {
|
||||
welcomeHeadline: "Welcome to EMA Portal",
|
||||
paperlessOffice: "Ethiopian Maritime Authority",
|
||||
welcomeSubtext: "Sign in to access your maritime services efficiently.",
|
||||
},
|
||||
}, true, true);
|
||||
|
||||
createRoot(document.getElementById("root")!).render(
|
||||
<StrictMode>
|
||||
<UserManagementApp config={projectTheme} />
|
||||
|
||||
@@ -27,11 +27,9 @@ export const projectTheme: DesignConfig = {
|
||||
// Replace with your organisation's assets.
|
||||
// ─────────────────────────────────────────────────────────────────────────
|
||||
brand: {
|
||||
appName: "Federal Housing Corporation", // FHC — shown in the browser tab
|
||||
// Drop the FHC logo at this path in /public to show it in the sidebar brand
|
||||
// and as the favicon. Until then the sidebar falls back to a building icon.
|
||||
// logoUrl: "/assets/logo/fhc.png",
|
||||
// faviconUrl: "/favicon.ico", // optional — defaults to logoUrl
|
||||
appName: "EMA Portal", // EMA — shown in the browser tab
|
||||
logoUrl: "/assets/ema-logo.png",
|
||||
faviconUrl: "/assets/ema-logo.png",
|
||||
},
|
||||
|
||||
// ─────────────────────────────────────────────────────────────────────────
|
||||
@@ -132,8 +130,8 @@ export const projectTheme: DesignConfig = {
|
||||
sidebarHoverBackground: "rgba(255,255,255,0.08)",
|
||||
sidebarBorder: "rgba(255,255,255,0.10)",
|
||||
sidebarRail: "linear-gradient(180deg, #4A90E2 0%, #1A3A5C 100%)",
|
||||
sidebarBrandLabel: "User Management",
|
||||
sidebarBrandSublabel: "Federal Housing",
|
||||
sidebarBrandLabel: "EMA Portal",
|
||||
sidebarBrandSublabel: "User Management",
|
||||
|
||||
// ── THE MENU (data, shared by the side menu AND the top tabs) ──────────
|
||||
// Edit/add/remove freely. `icon` is a name from the registry in
|
||||
|
||||
Reference in New Issue
Block a user