diff --git a/frontend/Dockerfile b/frontend/Dockerfile index ff26fac39..c396db531 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -11,6 +11,8 @@ COPY spa-build-config.json . ARG CACHE_BUST RUN npx --legacy-peer-deps openmrs@${APP_SHELL_VERSION:-next} assemble --manifest --mode config --config spa-build-config.json --target ./spa RUN npx --legacy-peer-deps openmrs@${APP_SHELL_VERSION:-next} build --build-config spa-build-config.json --target ./spa +COPY namibia_ohri_logo_darkbg.svg ./spa/namibia_ohri_logo_darkbg.svg +COPY namibia_ohri_logo_lightbg.svg ./spa/namibia_ohri_logo_lightbg.svg COPY ohri-config.json ./spa/ohri-config.json FROM nginx:1.23-alpine diff --git a/frontend/namibia_ohri_logo_darkbg.png b/frontend/namibia_ohri_logo_darkbg.png new file mode 100644 index 000000000..943df5358 Binary files /dev/null and b/frontend/namibia_ohri_logo_darkbg.png differ diff --git a/frontend/namibia_ohri_logo_lightbg.png b/frontend/namibia_ohri_logo_lightbg.png new file mode 100644 index 000000000..42c516c51 Binary files /dev/null and b/frontend/namibia_ohri_logo_lightbg.png differ diff --git a/frontend/ohri-config.json b/frontend/ohri-config.json index b6c943b87..d22686eb0 100644 --- a/frontend/ohri-config.json +++ b/frontend/ohri-config.json @@ -28,32 +28,32 @@ ] }, "action-menu-non-chart-items-slot": { - "remove":[ - "patient-list-action-menu" - ] + "remove": ["patient-list-action-menu"] } }, - "notesConceptUuids": ["161011AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "437d1e25-e7ab-481c-aabc-01f21c6cdef1"] + "notesConceptUuids": [ + "161011AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "437d1e25-e7ab-481c-aabc-01f21c6cdef1" + ], + "logo": { + "src": "namibia_ohri_logo_darkbg.png" + } }, "@ohri/openmrs-esm-ohri-core-app": { "extensionSlots": { - "dashboard-links-slot":{ - "remove":[ - "appointments-ohri-dashboard-ext", - "dispensing-ohri-dashboard-ext", - "service-queues-ohri-dashboard-ext" + "dashboard-links-slot": { + "remove": [ + "appointments-ohri-dashboard-ext", + "dispensing-ohri-dashboard-ext", + "service-queues-ohri-dashboard-ext" ] }, "ohri-dashboard-appointments-slot": { - "add": [ - "clinical-appointments-dashboard" - ] + "add": ["clinical-appointments-dashboard"] }, "ohri-dashboard-dispensing-slot": { - "add": [ - "dispensing-dashboard" - ] - } + "add": ["dispensing-dashboard"] + } } }, "@openmrs/esm-patient-banner-app": { @@ -120,8 +120,12 @@ ], "sections": ["demographics", "contact", "nextofkin", "relationships"], "sectionDefinitions": [ - { "id": "nextofkin", "name": "Next of Kin", "fields":["nextOfKinName", "nextOfKinContactNo"] }, - { "id": "relationships", "name": "Create relationship" } + { + "id": "nextofkin", + "name": "Next of Kin", + "fields": ["nextOfKinName", "nextOfKinContactNo"] + }, + { "id": "relationships", "name": "Create relationship" } ] }, @@ -133,10 +137,16 @@ "@openmrs/esm-primary-navigation-app": { "extensionSlots": { "app-menu-slot": { - "remove": [ - "dispensing-link" - ] + "remove": ["dispensing-link"] } + }, + "logo": { + "src": "namibia_ohri_logo_darkbg.png" + } + }, + "@openmrs/esm-login-app": { + "logo": { + "src": "namibia_ohri_logo_lightbg.png" } }, "@ohri/openmrs-esm-ohri-pmtct": {