SiLandingPageComponent documentation¶
si-landing-page
A comprehensive landing page component that provides a standardized layout for authentication flows.
This component serves as a container for various authentication-related components and provides a consistent layout with support for branding, internationalization, legal acknowledgments, and various notification types. It includes slots for custom content and handles responsive layout adjustments.
The component supports: - Custom branding and background images - Multi-language support with language switcher - Legal acknowledgments and terms display - Alert and notification systems - Copyright information display - Responsive layout with full-height section option
Example:
<si-landing-page
[heading]="appTitle"
[subtitle]="appDescription"
[availableLanguages]="languages"
[copyrightDetails]="copyright"
[announcement]="announcementConfig"
[loginAlert]="loginErrorConfig">
<si-login-basic
(login)="handleLogin($event)"
(usernameValidation)="validateUsername($event)">
</si-login-basic>
</si-landing-page>
Input Properties¶
Name | Type | Default | Description |
---|---|---|---|
announcement ¶ | AlertConfig | Config to enable/disable general alerts on landing page | |
availableLanguages ¶ | (string [] | IsoLanguageValue []) | [] | Input of si-language-switcher: List of all available languages in this application. |
backgroundImageUrl ¶ | string | './assets/images/landing-page-steel.webp' | URL to custom background image |
copyrightDetails ¶ | CopyrightDetails | Copyright information to be displayed. Alternatively, you can use the SI_COPYRIGHT_DETAILS global inject. | |
heading | TranslatableString | Heading of the application. | |
implicitLegalAcknowledge ¶ | (string | TemplateRef <unknown >) | Text for some legal artifacts (e.g. Terms of Use) that needs more attention before the login. | |
links ¶ | Link [] | [] | List of links (e.g. Corporate information) |
liveDataWarning ¶ | LandingPageWarning | Warning text for Live Data. Can be shown, if there is no legal artifact which needs immediate user attention. | |
loginAlert ¶ | AlertConfig | Config to enable/disable login related error/alerts | |
subheading ¶ | TranslatableString | Secondary heading of the application. | |
subtitle | TranslatableString | Short description of the application. | |
translationKey ¶ | string | 'LANGUAGE' | Input of si-language-switcher: Key for translation. If your languages are already translated, you may display them without any manipulation by passing in an empty string. |
version ¶ | string | Version of the application. | |
logoUrl | string | URL to custom brand image. Deprecated: By default the logo provided in the theme will be used. For a different logo use the respective CSS variables: <si-landing-page style="--landing-page-logo: url('https://example.com'); --landing-page-logo-width: 100px; --landing-page-logo-height: 100px" /> |
Attributes and Methods¶
Name | Type | Default | Description |
---|---|---|---|
(readonly) isFullHeightSection ¶ | WritableSignal <boolean > | false | Option to display the landing page content in full height. |
Types Documentation¶
|
|
|
Variable The injection token to be used when used globally across the app |
---|
Represents a translatable string. This can either be a translation key, e.g. ACTIONS.EDIT that will be automatically translated when displayed on the UI or a pre-translated string, e.g. Edit . Equivalent to a normal string in usage and functionality. |
---|
|
Copyright (c) Siemens 2016 - 2025 SPDX-License-Identifier: MIT | |||
---|---|---|---|
|
Translatable import imported from @siemens/element-translate-ng |
---|
Except where otherwise noted, content on this site is licensed under MIT License.