Skip to content
Edit this page

SiLandingPageComponent documentation

import { SiLandingPageComponent } from '@siemens/element-ng/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 | undefined

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 | undefined

Copyright information to be displayed. Alternatively, you can use the SI_COPYRIGHT_DETAILS global inject.

heading required
TranslatableString

Heading of the application.

implicitLegalAcknowledge
string | TemplateRef<unknown> | undefined

Text for some legal artifacts (e.g. Terms of Use) that needs more attention before the login.

liveDataWarning
LandingPageWarning | undefined

Warning text for Live Data. Can be shown, if there is no legal artifact which needs immediate user attention.

loginAlert
AlertConfig | undefined

Config to enable/disable login related error/alerts

logoUrl deprecated
string | undefined

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" />
subheading
TranslatableString | undefined

Secondary heading of the application.

subtitle required
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 | undefined

Version of the application.

Attributes and Methods

Name Type Default Description
(readonly)isFullHeightSection
WritableSignal<boolean> false

Option to display the landing page content in full height.

Types Documentation

import type { AlertConfig } from '@siemens/element-ng/landing-page';

import type { CopyrightDetails } from '@siemens/element-ng/copyright-notice';
Properties
  • The company name to be displayed in the copyright notice (not to be translated). If empty (recommended), the company name from the theme will be used.

    company ? : string

  • The year when the app was last updated. Must be left blank if it equals startYear

    lastUpdateYear ? : number

  • The year when the app was first released.

    startYear : number

import type { IsoLanguageValue } from '@siemens/element-ng/language-switcher';
Properties

import type { LandingPageWarning } from '@siemens/element-ng/landing-page';

import type { Link } from '@siemens/element-ng/link';

import type { TranslatableString } from '@siemens/element-translate-ng/translate-types';

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.

StatusType

'success' | 'info' | 'warning' | 'danger' | 'caution' | 'critical'
type alias
import type { StatusType } from '@siemens/element-ng/common';


Except where otherwise noted, content on this site is licensed under MIT License.