add login image

This commit is contained in:
Jacob Overgaard
2024-04-25 17:33:56 +02:00
parent 65a0438185
commit 278de723f0
2 changed files with 4 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 559 KiB

View File

@@ -38,7 +38,7 @@ export class UmbAppAuthModalElement extends UmbModalBaseElement<UmbModalAppAuthC
aria-hidden="true"
part="auth-logo-background" />
<div id="graphic" aria-hidden="true">
<img part="auth-logo" id="logo-on-image" src="/umbraco/backoffice/assets/umbraco_logo_white.svg" alt="Logo" />
<img part="auth-logo" id="logo-on-image" src="/umbraco/backoffice/assets/umbraco_logo_blue.svg" alt="Logo" />
<svg
id="curve-top"
width="1746"
@@ -77,8 +77,8 @@ export class UmbAppAuthModalElement extends UmbModalBaseElement<UmbModalAppAuthC
`;
}
private onSubmit = (providerName: string) => {
this.value = { providerName };
private onSubmit = (providerName: string, loginHint?: string) => {
this.value = { providerName, loginHint };
this._submitModal();
};
@@ -89,7 +89,7 @@ export class UmbAppAuthModalElement extends UmbModalBaseElement<UmbModalAppAuthC
display: block;
background: rgb(244, 244, 244);
--image: url('https://picsum.photos/800/600') no-repeat center center/cover;
--image: url('/umbraco/backoffice/assets/login.jpg') no-repeat center center/cover;
--curves-color: var(--umb-login-curves-color, #f5c1bc);
--curves-display: var(--umb-login-curves-display, inline);
}