From 2882119c0b167a65d8cc098725324a2c84f27a11 Mon Sep 17 00:00:00 2001 From: Alex Ackermann Date: Wed, 16 Apr 2025 15:22:26 +0200 Subject: [PATCH] feat: add react part --- .../idp/src/components/ResponsiveScreen.jsx | 44 +++++++++++++------ 1 file changed, 31 insertions(+), 13 deletions(-) diff --git a/services/idp/src/components/ResponsiveScreen.jsx b/services/idp/src/components/ResponsiveScreen.jsx index cec79a7a3..be0aac1da 100644 --- a/services/idp/src/components/ResponsiveScreen.jsx +++ b/services/idp/src/components/ResponsiveScreen.jsx @@ -44,6 +44,7 @@ const ResponsiveScreen = (props) => { loading, children, className, + branding, ...other } = props; const { theme } = useContext(OpenCloudContext); @@ -55,21 +56,38 @@ const ResponsiveScreen = (props) => { const content = loading ? : (withoutPadding ? children : {children}); return ( - -
-
+ +
+
+ {branding?.signinPageLogoUri ? ( + {logo} -
-
- {content} -
-
-
+ + ) : ( + logo + )} +
+
{content}
+
-
- OpenCloud - excellent file sharing -
+
+ ); };