diff --git a/apps/backoffice/public/assets/MainDashboard.png b/apps/backoffice/public/assets/MainDashboard.png new file mode 100644 index 000000000..1ac4fb7ee Binary files /dev/null and b/apps/backoffice/public/assets/MainDashboard.png differ diff --git a/apps/backoffice/public/assets/StatsCard.png b/apps/backoffice/public/assets/StatsCard.png new file mode 100644 index 000000000..ae699996e Binary files /dev/null and b/apps/backoffice/public/assets/StatsCard.png differ diff --git a/apps/backoffice/public/assets/eiarLogo.jpg b/apps/backoffice/public/assets/eiarLogo.jpg new file mode 100644 index 000000000..b35ba3e7b Binary files /dev/null and b/apps/backoffice/public/assets/eiarLogo.jpg differ diff --git a/apps/backoffice/public/assets/ema-logo.png b/apps/backoffice/public/assets/ema-logo.png new file mode 100644 index 000000000..b35ba3e7b Binary files /dev/null and b/apps/backoffice/public/assets/ema-logo.png differ diff --git a/apps/backoffice/public/assets/smart-office-logo.svg b/apps/backoffice/public/assets/smart-office-logo.svg new file mode 100644 index 000000000..398ad472f --- /dev/null +++ b/apps/backoffice/public/assets/smart-office-logo.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/user-management b/user-management index 3f0990020..5b6a377fa 160000 --- a/user-management +++ b/user-management @@ -1 +1 @@ -Subproject commit 3f099002006a37b015bdc401ce431282831288c9 +Subproject commit 5b6a377fa2d92dab34b3df8362364e38cc3230be diff --git a/user-management-config/index.html b/user-management-config/index.html index 30392eb04..b490e83af 100644 --- a/user-management-config/index.html +++ b/user-management-config/index.html @@ -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" /> - User Management + EMA Portal
diff --git a/user-management-config/main.tsx b/user-management-config/main.tsx index f04f34c86..b1d689859 100644 --- a/user-management-config/main.tsx +++ b/user-management-config/main.tsx @@ -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( diff --git a/user-management-config/project.theme.ts b/user-management-config/project.theme.ts index e8a460ff4..a010a44a0 100644 --- a/user-management-config/project.theme.ts +++ b/user-management-config/project.theme.ts @@ -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