From a9e82588f6a62479d8af68e6c2013a388e4db94a Mon Sep 17 00:00:00 2001 From: Zeeshan Mehboob Date: Mon, 27 Nov 2023 13:49:48 +0530 Subject: [PATCH] [FIXES] image issue comes from variables Signed-off-by: Zeeshan Mehboob --- oidc-ui/public/images/brand_logo.svg | 51 ++++++++++++++++++++++++++++ oidc-ui/public/variables.css | 22 ++++++------ oidc-ui/src/components/Background.js | 8 ++--- 3 files changed, 66 insertions(+), 15 deletions(-) create mode 100644 oidc-ui/public/images/brand_logo.svg diff --git a/oidc-ui/public/images/brand_logo.svg b/oidc-ui/public/images/brand_logo.svg new file mode 100644 index 000000000..51b922903 --- /dev/null +++ b/oidc-ui/public/images/brand_logo.svg @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + Eldoria Authenication Platform + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/oidc-ui/public/variables.css b/oidc-ui/public/variables.css index f93ad8e75..81ef0a3c2 100644 --- a/oidc-ui/public/variables.css +++ b/oidc-ui/public/variables.css @@ -5,10 +5,10 @@ --login-background: #FCFCFF; --language-icon-color: #FFFFFF; --language-icon-bg-color: #1262C9; - --brand-only-logo-url: url("logo.png"); + --brand-only-logo-url: url("/logo.png"); --brand-logo-url: url(""); - --background-logo-url: url("images/illustration_one.png"); - --footer-brand-logo-url: url("images/footer_logo.png"); + --background-logo-url: url("/images/illustration_one.png"); + --footer-brand-logo-url: url("/images/footer_logo.png"); --primary-button-color: #FFFFFF; --primary-button-bg-color: #0953FA; --primary-button-border-color: #0953FA; @@ -53,8 +53,8 @@ --signup-banner-signup-url-color-focus: #2F8EA3; --multipurpose-login-card-border-radius: 20px; --multipurpose-login-card-background-color: #FFFFFF; - --top-left-bg-logo-url: url("images/top_left_bg_logo.svg"); - --bottom-right-bg-logo-url: url("images/bottom_right_bg_logo.svg"); + --top-left-bg-logo-url: url("/images/top_left_bg_logo.svg"); + --bottom-right-bg-logo-url: url("/images/bottom_right_bg_logo.svg"); --login-client-logo-image-height: 5rem; --login-client-logo-image-width: 8rem; --login-alternate-arrow: "\21CB"; @@ -71,10 +71,10 @@ --login-background: #F7F9FD; --language-icon-color: #ffffff; --language-icon-bg-color: #EB6F2D; - --brand-only-logo-url: url("logo.png"); - --brand-logo-url: url(""); - --background-logo-url: url("images/illustration_one.png"); - --footer-brand-logo-url: url("images/footer_logo.png"); + --brand-only-logo-url: url("/logo.png"); + --brand-logo-url: url("/images/brand_logo.svg"); + --background-logo-url: url("/images/illustration_one.png"); + --footer-brand-logo-url: url("/images/footer_logo.png"); --primary-button-color: #ffffff; --primary-button-bg-color: #EB6F2D; --primary-button-border-color: #EB6F2D; @@ -119,8 +119,8 @@ --signup-banner-signup-url-color-focus: #EB6F2D; --multipurpose-login-card-border-radius: 20px; --multipurpose-login-card-background-color: #ffffff; - --top-left-bg-logo-url: url("images/top_left_bg_logo.svg"); - --bottom-right-bg-logo-url: url("images/bottom_right_bg_logo.svg"); + --top-left-bg-logo-url: url("/images/top_left_bg_logo.svg"); + --bottom-right-bg-logo-url: url("/images/bottom_right_bg_logo.svg"); --login-client-logo-image-height: 2.75rem; --login-client-logo-image-width: 2.75rem; --login-alternate-arrow: "\21C4"; diff --git a/oidc-ui/src/components/Background.js b/oidc-ui/src/components/Background.js index 91952c44f..f416b3a41 100644 --- a/oidc-ui/src/components/Background.js +++ b/oidc-ui/src/components/Background.js @@ -40,8 +40,8 @@ export default function Background({ ) : ( <> - - + top left background + bottom right background ); @@ -75,10 +75,10 @@ export default function Background({ alt={clientName} /> - + />