PublicDashboards: Page to request access to protected pubdash (#61329)

Adds page to request pubdash access via email
This commit is contained in:
owensmallwood 2023-01-18 11:57:34 -06:00 committed by GitHub
parent 492bdbd585
commit 593e8ae17c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 12 deletions

View File

@ -1,15 +1,16 @@
import { FooterLink } from '../Footer/Footer';
export interface BrandingSettings {
footerLinks: FooterLink[] | null;
appTitle: string;
loginSubtitle: string;
loginTitle: string;
loginLogo: string;
loginBackground: string;
loginBoxBackground: string;
menuLogo: string;
favIcon: string;
loadingLogo: string;
appleTouchIcon: string;
footerLinks?: FooterLink[] | null;
hideFooter?: boolean;
appTitle?: string;
loginSubtitle?: string;
loginTitle?: string;
loginLogo?: string;
loginBackground?: string;
loginBoxBackground?: string;
menuLogo?: string;
favIcon?: string;
loadingLogo?: string;
appleTouchIcon?: string;
}

View File

@ -45,7 +45,7 @@ export const LoginLayout = ({ children, branding }: React.PropsWithChildren<Logi
</div>
<div className={loginStyles.loginOuterBox}>{children}</div>
</div>
<Footer customLinks={branding?.footerLinks} />
{branding?.hideFooter ? <></> : <Footer customLinks={branding?.footerLinks} />}
</Branding.LoginBackground>
);
};