# SiLandingPageComponent documentation

**Kind:** component

**Selector:** `si-landing-page`

```
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:

```html
<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>
```

```
component SiLandingPageComponent
```

#### Input Properties

<table><thead><tr><th>Name</th><th>Type</th><th>Default</th><th>Description</th></tr></thead> <tbody><tr id="SiLandingPageComponent.announcement"> <td class="api-column-name"><span data-api-type-target-for="SiLandingPageComponent.announcement" id="t:SiLandingPageComponent.announcement"></span><a href="https://github.com/siemens/element/blob/main/projects/element-ng/landing-page/si-landing-page.component.ts#L124-L124">announcement</a></td> <td class="api-column-type"><code><a href="index.html#t:AlertConfig">AlertConfig</a> | <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined">undefined</a></code></td> <td class="api-column-default"></td><td class="api-column-description"><p>Config to enable/disable general alerts on landing page</p></td></tr><tr id="SiLandingPageComponent.availableLanguages"> <td class="api-column-name"><span data-api-type-target-for="SiLandingPageComponent.availableLanguages" id="t:SiLandingPageComponent.availableLanguages"></span><a href="https://github.com/siemens/element/blob/main/projects/element-ng/landing-page/si-landing-page.component.ts#L118-L118">availableLanguages</a></td> <td class="api-column-type"><code><a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String">string</a>[] | <a href="index.html#t:IsoLanguageValue">IsoLanguageValue</a>[]</code></td> <td class="api-column-default"><code>[]</code></td><td class="api-column-description"><p>Input of si-language-switcher: List of all available languages in this application.</p></td></tr><tr id="SiLandingPageComponent.backgroundImageUrl"> <td class="api-column-name"><span data-api-type-target-for="SiLandingPageComponent.backgroundImageUrl" id="t:SiLandingPageComponent.backgroundImageUrl"></span><a href="https://github.com/siemens/element/blob/main/projects/element-ng/landing-page/si-landing-page.component.ts#L91-L91">backgroundImageUrl</a></td> <td class="api-column-type"><code><a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String">string</a></code></td> <td class="api-column-default"><code>'./assets/images/landing-page-steel.webp'</code></td><td class="api-column-description"><p>URL to custom background image</p></td></tr><tr id="SiLandingPageComponent.copyrightDetails"> <td class="api-column-name"><span data-api-type-target-for="SiLandingPageComponent.copyrightDetails" id="t:SiLandingPageComponent.copyrightDetails"></span><a href="https://github.com/siemens/element/blob/main/projects/element-ng/landing-page/si-landing-page.component.ts#L148-L148">copyrightDetails</a></td> <td class="api-column-type"><code><a href="index.html#t:CopyrightDetails">CopyrightDetails</a> | <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined">undefined</a></code></td> <td class="api-column-default"></td><td class="api-column-description"><p>Copyright information to be displayed. Alternatively, you can use the <a href="../../types/SI_COPYRIGHT_DETAILS/index.html#t:SI_COPYRIGHT_DETAILS">SI_COPYRIGHT_DETAILS</a> global inject.</p></td></tr><tr id="SiLandingPageComponent.heading"> <td class="api-column-name"><span data-api-type-target-for="SiLandingPageComponent.heading" id="t:SiLandingPageComponent.heading"></span><a href="https://github.com/siemens/element/blob/main/projects/element-ng/landing-page/si-landing-page.component.ts#L70-L70">heading</a> (required)</td> <td class="api-column-type"><code><a href="index.html#t:TranslatableString">TranslatableString</a></code></td> <td class="api-column-default"></td><td class="api-column-description"><p>Heading of the application.</p></td></tr><tr id="SiLandingPageComponent.implicitLegalAcknowledge"> <td class="api-column-name"><span data-api-type-target-for="SiLandingPageComponent.implicitLegalAcknowledge" id="t:SiLandingPageComponent.implicitLegalAcknowledge"></span><a href="https://github.com/siemens/element/blob/main/projects/element-ng/landing-page/si-landing-page.component.ts#L139-L139">implicitLegalAcknowledge</a></td> <td class="api-column-type"><code><a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String">string</a> | <a href="https://angular.dev/api/core/TemplateRef">TemplateRef</a>&lt;<a href="https://www.typescriptlang.org/docs/handbook/2/functions.html#unknown">unknown</a>&gt; | <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined">undefined</a></code></td> <td class="api-column-default"></td><td class="api-column-description"><p>Text for some legal artifacts (e.g. Terms of Use) that needs more attention before the login.</p></td></tr><tr id="SiLandingPageComponent.links"> <td class="api-column-name"><span data-api-type-target-for="SiLandingPageComponent.links" id="t:SiLandingPageComponent.links"></span><a href="https://github.com/siemens/element/blob/main/projects/element-ng/landing-page/si-landing-page.component.ts#L84-L84">links</a></td> <td class="api-column-type"><code><a href="index.html#t:Link">Link</a>[]</code></td> <td class="api-column-default"><code>[]</code></td><td class="api-column-description"><p>List of links (e.g. Corporate information)</p></td></tr><tr id="SiLandingPageComponent.liveDataWarning"> <td class="api-column-name"><span data-api-type-target-for="SiLandingPageComponent.liveDataWarning" id="t:SiLandingPageComponent.liveDataWarning"></span><a href="https://github.com/siemens/element/blob/main/projects/element-ng/landing-page/si-landing-page.component.ts#L135-L135">liveDataWarning</a></td> <td class="api-column-type"><code><a href="index.html#t:LandingPageWarning">LandingPageWarning</a> | <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined">undefined</a></code></td> <td class="api-column-default"></td><td class="api-column-description"><p>Warning text for Live Data. Can be shown, if there is no legal artifact which needs immediate user attention.</p></td></tr><tr id="SiLandingPageComponent.loginAlert"> <td class="api-column-name"><span data-api-type-target-for="SiLandingPageComponent.loginAlert" id="t:SiLandingPageComponent.loginAlert"></span><a href="https://github.com/siemens/element/blob/main/projects/element-ng/landing-page/si-landing-page.component.ts#L130-L130">loginAlert</a></td> <td class="api-column-type"><code><a href="index.html#t:AlertConfig">AlertConfig</a> | <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined">undefined</a></code></td> <td class="api-column-default"></td><td class="api-column-description"><p>Config to enable/disable login related error/alerts</p></td></tr><tr id="SiLandingPageComponent.logoUrl"> <td class="api-column-name"><span data-api-type-target-for="SiLandingPageComponent.logoUrl" id="t:SiLandingPageComponent.logoUrl"></span><a href="https://github.com/siemens/element/blob/main/projects/element-ng/landing-page/si-landing-page.component.ts#L102-L102">logoUrl</a> (deprecated)</td> <td class="api-column-type"><code><a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String">string</a> | <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined">undefined</a></code></td> <td class="api-column-default"></td><td class="api-column-description"><p>URL to custom brand image.</p><p>Deprecated: By default the logo provided in the theme will be used. For a different logo use the respective CSS variables:</p><pre><code class="language-html">&lt;si-landing-page style=&quot;--landing-page-logo: url('https://example.com'); --landing-page-logo-width: 100px; --landing-page-logo-height: 100px&quot; /&gt;</code></pre></td></tr><tr id="SiLandingPageComponent.subheading"> <td class="api-column-name"><span data-api-type-target-for="SiLandingPageComponent.subheading" id="t:SiLandingPageComponent.subheading"></span><a href="https://github.com/siemens/element/blob/main/projects/element-ng/landing-page/si-landing-page.component.ts#L74-L74">subheading</a></td> <td class="api-column-type"><code><a href="index.html#t:TranslatableString">TranslatableString</a> | <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined">undefined</a></code></td> <td class="api-column-default"></td><td class="api-column-description"><p>Secondary heading of the application.</p></td></tr><tr id="SiLandingPageComponent.subtitle"> <td class="api-column-name"><span data-api-type-target-for="SiLandingPageComponent.subtitle" id="t:SiLandingPageComponent.subtitle"></span><a href="https://github.com/siemens/element/blob/main/projects/element-ng/landing-page/si-landing-page.component.ts#L78-L78">subtitle</a> (required)</td> <td class="api-column-type"><code><a href="index.html#t:TranslatableString">TranslatableString</a></code></td> <td class="api-column-default"></td><td class="api-column-description"><p>Short description of the application.</p></td></tr><tr id="SiLandingPageComponent.translationKey"> <td class="api-column-name"><span data-api-type-target-for="SiLandingPageComponent.translationKey" id="t:SiLandingPageComponent.translationKey"></span><a href="https://github.com/siemens/element/blob/main/projects/element-ng/landing-page/si-landing-page.component.ts#L111-L111">translationKey</a></td> <td class="api-column-type"><code><a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String">string</a></code></td> <td class="api-column-default"><code>'LANGUAGE'</code></td><td class="api-column-description"><p>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.</p></td></tr><tr id="SiLandingPageComponent.version"> <td class="api-column-name"><span data-api-type-target-for="SiLandingPageComponent.version" id="t:SiLandingPageComponent.version"></span><a href="https://github.com/siemens/element/blob/main/projects/element-ng/landing-page/si-landing-page.component.ts#L143-L143">version</a></td> <td class="api-column-type"><code><a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String">string</a> | <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined">undefined</a></code></td> <td class="api-column-default"></td><td class="api-column-description"><p>Version of the application.</p></td></tr></tbody></table>

#### Attributes and Methods

##### isFullHeightSection

[Source for isFullHeightSection](<https://github.com/siemens/element/blob/main/projects/element-ng/landing-page/si-landing-page.component.ts#L154-L154>)

**Modifiers:** readonly

**Type:** `WritableSignal<boolean>`

**Default:** `false`

Option to display the landing page content in full height.

### Types Documentation

### [AlertConfig](<https://github.com/siemens/element/blob/main/projects/element-ng/landing-page/alert-config.model.ts#L8-L14>)

**Kind:** interface

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

```
interface AlertConfig
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [action](<https://github.com/siemens/element/blob/main/projects/element-ng/landing-page/alert-config.model.ts#L12-L12>) (optional) | `Link` |  |
| [heading](<https://github.com/siemens/element/blob/main/projects/element-ng/landing-page/alert-config.model.ts#L10-L10>) (optional) | `string` |  |
| [message](<https://github.com/siemens/element/blob/main/projects/element-ng/landing-page/alert-config.model.ts#L11-L11>) | `string` |  |
| [severity](<https://github.com/siemens/element/blob/main/projects/element-ng/landing-page/alert-config.model.ts#L9-L9>) | `StatusType` |  |
| [translationParams](<https://github.com/siemens/element/blob/main/projects/element-ng/landing-page/alert-config.model.ts#L13-L13>) (optional) | `{ [key: string]: any; }` |  |

### [CopyrightDetails](<https://github.com/siemens/element/blob/main/projects/element-ng/copyright-notice/si-copyright-notice.ts#L7-L21>)

**Kind:** interface

```
import type { CopyrightDetails } from '@siemens/element-ng/copyright-notice';
```

```
interface CopyrightDetails
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [company](<https://github.com/siemens/element/blob/main/projects/element-ng/copyright-notice/si-copyright-notice.ts#L20-L20>) (optional) | `string` | 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. |
| [lastUpdateYear](<https://github.com/siemens/element/blob/main/projects/element-ng/copyright-notice/si-copyright-notice.ts#L15-L15>) (optional) | `number` | The year when the app was last updated. Must be left blank if it equals [startYear](<index.html#t:CopyrightDetails.startYear>) |
| [startYear](<https://github.com/siemens/element/blob/main/projects/element-ng/copyright-notice/si-copyright-notice.ts#L11-L11>) | `number` | The year when the app was first released. |

### [IsoLanguageValue](<https://github.com/siemens/element/blob/main/projects/element-ng/language-switcher/iso-language-value.ts#L8-L17>)

**Kind:** interface

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

```
interface IsoLanguageValue
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [name](<https://github.com/siemens/element/blob/main/projects/element-ng/language-switcher/iso-language-value.ts#L16-L16>) | `TranslatableString` | Language name, ex "English" or translatable string, ex "LANGUAGES.EN" |
| [value](<https://github.com/siemens/element/blob/main/projects/element-ng/language-switcher/iso-language-value.ts#L12-L12>) | `string` | Official ISO language code, ex "en" |

### [LandingPageWarning](<https://github.com/siemens/element/blob/main/projects/element-ng/landing-page/si-landing-page.model.ts#L7-L10>)

**Kind:** interface

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

```
interface LandingPageWarning
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [content](<https://github.com/siemens/element/blob/main/projects/element-ng/landing-page/si-landing-page.model.ts#L9-L9>) | `TranslatableString` |  |
| [title](<https://github.com/siemens/element/blob/main/projects/element-ng/landing-page/si-landing-page.model.ts#L8-L8>) | `TranslatableString` |  |

### [Link](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L8-L51>)

**Kind:** interface

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

```
interface Link
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [action](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L42-L42>) (optional) | `string \| ((param?: any) => void \| any)` | A function that will be invoked when clicking on the menu item. When passed as a string, use together with SiLinkActionService to receive events. This is meant for repetitive things in lists/tables/etc. |
| [disabled](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L50-L50>) (optional) | `boolean` | A boolean that lets the link know whether it is disabled or not. |
| [href](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L22-L22>) (optional) | `string` | Defines a href URI that the menu item will be linked to. Will be used to set the href attribute of the a element. Will only be used if link and function is not set. |
| [isActive](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L46-L46>) (optional) | `boolean` | A boolean that lets the link know whether it is active or not. It is useful when action() is executed instead of link route. |
| [link](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L32-L32>) (optional) | `string \| any[]` | Defines the link of the menu item within the application using the angular router link concept. Accepts an array of `any` as per \[routerLink API definition\][https://angular.dev/api/router/RouterLink](<https://angular.dev/api/router/RouterLink>). |
| [navigationExtras](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L36-L36>) (optional) | `NavigationExtras` | The navigation extras provide additional routing options when using the router link. |
| [target](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L27-L27>) (optional) | `string` | The target attribute specifies where to open the linked document. If no target is specified, the link will open in the current tab. |
| [title](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L12-L12>) (optional) | `TranslatableString` | The title of the menu item. Can be either the title to be displayed or the translation key. |
| [tooltip](<https://github.com/siemens/element/blob/main/projects/element-ng/link/link.model.ts#L17-L17>) (optional) | `TranslatableString` | The optional tooltip of the link. Can be either the text to be displayed or the translation key. |

### [TranslatableString](<https://github.com/siemens/element/blob/main/projects/element-translate-ng/translate-types/global.types.ts#L18-L18>)

**Kind:** type alias

```
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.

```
type TranslatableString = string & Translatable
```

### [StatusType](<https://github.com/siemens/element/blob/main/projects/element-ng/common/models/status-type.model.ts#L7-L7>)

**Kind:** type alias

```
import type { StatusType } from '@siemens/element-ng/common';
```

```
type StatusType = 'success' | 'info' | 'warning' | 'danger' | 'caution' | 'critical'
```
