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
2 changed files with 13 additions and 12 deletions
+12 -11
View File
@@ -1,15 +1,16 @@
import { FooterLink } from '../Footer/Footer'; import { FooterLink } from '../Footer/Footer';
export interface BrandingSettings { export interface BrandingSettings {
footerLinks: FooterLink[] | null; footerLinks?: FooterLink[] | null;
appTitle: string; hideFooter?: boolean;
loginSubtitle: string; appTitle?: string;
loginTitle: string; loginSubtitle?: string;
loginLogo: string; loginTitle?: string;
loginBackground: string; loginLogo?: string;
loginBoxBackground: string; loginBackground?: string;
menuLogo: string; loginBoxBackground?: string;
favIcon: string; menuLogo?: string;
loadingLogo: string; favIcon?: string;
appleTouchIcon: string; loadingLogo?: string;
appleTouchIcon?: string;
} }
@@ -45,7 +45,7 @@ export const LoginLayout = ({ children, branding }: React.PropsWithChildren<Logi
</div> </div>
<div className={loginStyles.loginOuterBox}>{children}</div> <div className={loginStyles.loginOuterBox}>{children}</div>
</div> </div>
<Footer customLinks={branding?.footerLinks} /> {branding?.hideFooter ? <></> : <Footer customLinks={branding?.footerLinks} />}
</Branding.LoginBackground> </Branding.LoginBackground>
); );
}; };