From d9ce94b2b9398cc83497dad3824885f0bc46a12e Mon Sep 17 00:00:00 2001 From: Siddharth Nikhil Date: Wed, 31 May 2023 12:58:14 +0530 Subject: [PATCH] Replaced coronasafe branding to ohc branding (#5529) --- public/config.json | 2 ++ src/Common/hooks/useConfig.ts | 2 ++ src/Components/Auth/Login.tsx | 6 +++--- src/Locale/en/Common.json | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/public/config.json b/public/config.json index b49199a3857..3661597f64b 100644 --- a/public/config.json +++ b/public/config.json @@ -6,6 +6,8 @@ "analytics_server_url": "https://plausible.10bedicu.in", "static_header_logo": "https://cdn.coronasafe.network/header_logo.png", "static_light_logo": "https://cdn.coronasafe.network/light-logo.svg", + "static_ohc_light_logo": "https://cdn.coronasafe.network/ohc_logo_light.png", + "static_ohc_green_logo": "https://cdn.coronasafe.network/ohc_logo_green.png", "static_black_logo": "https://cdn.coronasafe.network/black-logo.svg", "static_dpg_white_logo": "https://digitalpublicgoods.net/wp-content/themes/dpga/images/logo-w.svg", "static_coronasafe_logo": "https://3451063158-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M233b0_JITp4nk0uAFp%2F-M2Dx6gKxOSU45cjfgNX%2F-M2DxFOkMmkPNn0I6U9P%2FCoronasafe-logo.png?alt=media&token=178cc96d-76d9-4e27-9efb-88f3186368e8", diff --git a/src/Common/hooks/useConfig.ts b/src/Common/hooks/useConfig.ts index df0ce512912..7d064ee92ef 100644 --- a/src/Common/hooks/useConfig.ts +++ b/src/Common/hooks/useConfig.ts @@ -8,6 +8,8 @@ export interface IConfig { site_url: string; analytics_server_url: string; static_header_logo: string; + static_ohc_light_logo: string; + static_ohc_green_logo: string; static_light_logo: string; static_black_logo: string; /** diff --git a/src/Components/Auth/Login.tsx b/src/Components/Auth/Login.tsx index 4de2585787d..8e04b9397d0 100644 --- a/src/Components/Auth/Login.tsx +++ b/src/Components/Auth/Login.tsx @@ -15,10 +15,10 @@ import { LocalStorageKeys } from "../../Common/constants"; export const Login = (props: { forgot?: boolean }) => { const { - static_light_logo, static_black_logo, static_dpg_white_logo, - static_coronasafe_logo, + static_light_logo, + static_ohc_light_logo, recaptcha_site_key, github_url, coronasafe_url, @@ -236,7 +236,7 @@ export const Login = (props: { forgot?: boolean }) => { target="_blank" > coronasafe logo diff --git a/src/Locale/en/Common.json b/src/Locale/en/Common.json index 165aba863b4..131211cce69 100644 --- a/src/Locale/en/Common.json +++ b/src/Locale/en/Common.json @@ -4,7 +4,7 @@ "something_wrong": "Something went wrong! Try again later!", "try_again_later": "Try again later!", "contribute_github": "Contribute on Github", - "footer_body": "CoronaSafe Network is an open-source public utility designed by a multi-disciplinary team of innovators and volunteers. CoronaSafe CARE is a Digital Public Good recognised by the United Nations.", + "footer_body": "Open Healthcare Network is an open-source public utility designed by a multi-disciplinary team of innovators and volunteers. Open Healthcare Network CARE is a Digital Public Good recognised by the United Nations.", "reset": "Reset", "download": "Download", "downloads": "Downloads",