# Landing page

This component provides an application landing page, which is usually the first page shown to a user.

## Usage

The landing page is a part of an overarching concept for guiding a user into a product. Legal guidelines are crucial for the sign-up and sign-in process.

### When to use

- A user has to sign-up or sign-in before using the product.
- A user has to be informed about product usage conditions.

## Design

The landing page provides the first impression of a product to the users. It has to meet multiple goals:

- **Functionality:** This is the major driver for having a landing page. The landing page should present the functionality in an easy way.
- **Legal information** Necessary legal artifacts must be provided to the user.
- **Market Communication** (MarCom): The landing page must provide a (visual) bridge to the marketing material of a product.
- **DevOps information** The landing page shall inform about any product usage interruptive events as planned maintenance activities.

Covering those need solely for large screen might lead to overloaded content. The design is therefore done using the **mobile first** approach.

![Landing page](<../images/landing-page.png>)

> \\1. Brand logo, 2. Language selector, 3. Marketing image, 4. Product info, 5. Marketing claim (Optional), 6. Functional UI elements, 7. Registration (Optional), 8. Additional legal info, 9. Footer with version (optional), copyright and legal links

### Functional UI elements

#### Two-step login

The *two step login* pattern should be used by default.

![Landing page - Login 2 steps](<../images/landing-page-login-2-step.png>)

The user interaction is done in the following 2 steps:

1. **User name:** The user name has to be provided for selecting the correct next step based on the account type.
2. Company OpenID is registered (e.g. `@example.com`): The user is forwarded to the company OpenID environment (e.g. `ExampleORG`).
3. User name is registered as personal OpenID: The user is forwarded to the registered (fallback) OpenID environment.
4. Role based or LDAP account: The UI shows a password sign-in step.
5. The user can register a new account (optional).
6. **Password** or **PKI card:** User provides his credentials according the guidance on the second step. The screen supports the "*Forgot password*" use case.

**Important:** Users should not be informed, if a user name does not exists, if the creation of new accounts is not supported. A login failure should only be shown when all the credentials (incl. password) were provided. This pattern prevents user name enumeration attacks. The error message must be along the lines of `Wrong credentials`.

![Landing page - Login 2 steps notifications](<../images/landing-page-login-2-step-notifications.png>)

#### User name / Password login (deprecated)

This is the classical way to login into a product.

![Landing page - Login 1 Step](<../images/landing-page-login-1-step.png>)

This pattern can be used for LDAP and Role Based Accounts login only. OpenID Connect Accounts are not supported.

**Important:** Users should not be informed, if a user name does not exists, if the creation of new accounts is not supported. A login failure should only be shown when all the credentials (incl. password) were provided. The error message must be along the lines of `Wrong credentials`.

![Landing page - Login 1 step notifications](<../images/landing-page-login-1-step-notifications.png>)

The *two step login* pattern should be used to provide an uniform experience.

#### Button forwarding login (deprecated)

The single button approach works for a single OpenID Connect provider only.

![Landing page - Button (deprecated)](<../images/landing-page-login-button.png>)

The *two step login* pattern should be used to provide an uniform experience. This enables support for multiple OpenID Connect providers, LDAP and Role Based accounts within the same product.

#### Initial password change

Some systems may require the user to perform a password change upon first login.

![Landing page - Initial password change](<../images/landing-page-password-change.png>)

> 1. Heading / explanation, 2. Change password fields, 3. Password policy

### Legal UI elements

#### Footer

The footer shows the copyright information and links to legal artifacts.

#### Explicit legal acknowledge

Some legal artifact (e.g. EULA) needs to be explicitly acknowledged by a user.

![Landing page - Legal - User acknowledge](<../images/landing-page-legal-user-acknowledge.png>)

#### Implicit legal acknowledge

Some legal artifact (e.g. Terms of Use) needs more attention by a user before login to product.

![Landing page - Legal - Implicit acknowledge](<../images/landing-page-legal-implicit-acknowledge.png>)

#### Warning

A warning can be shown, if there is no legal artifact which needs immediate user attention.

![Landing page - Legal - Live data](<../images/landing-page-legal-live-data.png>)

## Code

This component provides an application landing page, with a dynamic content block where you can implement your login UI.

### Usage

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

@Component({
  imports: [SiLandingPageComponent, ...]
})
```

### Landing page with two step login

The size of the logo is changeable with CSS Variable `--landing-page-logo-width` (default: 180px) and `--landing-page-logo-height` (default: auto).

#### Example

Component:

```typescript
/**
 * Copyright (c) Siemens 2016 - 2026
 * SPDX-License-Identifier: MIT
 */
import { Component, inject, signal, OnInit, OnDestroy } from '@angular/core';
import { ActivatedRoute, Route, Router, RouterOutlet } from '@angular/router';
import { CopyrightDetails } from '@siemens/element-ng/copyright-notice';
import {
  AlertConfig,
  SiLandingPageComponent,
  SiLoginBasicComponent,
  UsernamePassword,
  UsernameValidationPayload
} from '@siemens/element-ng/landing-page';
import { LOG_EVENT, provideExampleRoutes } from '@siemens/live-preview';

const loginAlert = signal<AlertConfig | undefined>(undefined);

@Component({
  selector: 'app-two-step-login-wrapper',
  imports: [SiLoginBasicComponent],
  template: `
    <si-login-basic
      usernameLabel="FORM.USERNAME"
      passwordLabel="FORM.PASSWORD"
      loginButtonLabel="FORM.LOGIN"
      backButtonLabel="FORM.BACK"
      nextButtonLabel="FORM.NEXT"
      [twoStep]="true"
      [loading]="loading()"
      [forgotPasswordLink]="{
        title: 'FORM.FORGOT_PASSWORD',
        href: 'https://myid.siemens.com/help/'
      }"
      [registerNowLink]="{
        title: 'FORM.REGISTER_NOW',
        href: 'https://myid.siemens.com/help/'
      }"
      (usernameValidation)="nextStep($event)"
      (valueChanged)="logEvent($event)"
      (login)="login($event)"
    />
  `
})
export class AppTwoStepLoginComponent {
  logEvent = inject(LOG_EVENT);
  readonly loading = signal<boolean>(false);

  copyrightDetails: CopyrightDetails = {
    startYear: 2021,
    lastUpdateYear: 2023,
    company: 'Example Company'
  };

  login(data: UsernamePassword): void {
    if (!data.password || !data.username) {
      loginAlert.set({
        severity: 'danger',
        message: 'Please check your credentials and try again!'
      });
    } else {
      this.loading.set(true);
      loginAlert.set(undefined);
      setTimeout(() => {
        this.loading.set(false);
        this.logEvent('You have logged in!');
      }, 1500);
    }
  }

  nextStep(event: UsernameValidationPayload): void {
    if (event.username) {
      setTimeout(() => {
        loginAlert.set(undefined);
        const isEmail = /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(event.username!);
        event.validate(isEmail);
        if (!isEmail) {
          loginAlert.set({
            severity: 'danger',
            message: 'Please provide a valid username!'
          });
        }
      }, 750); // simulate a short delay
    } else {
      loginAlert.set({
        severity: 'danger',
        message: 'Please check your username and try again!'
      });
    }
    this.logEvent(event);
  }
}

export const ROUTES: Route[] = [
  {
    path: 'login2step',
    component: AppTwoStepLoginComponent
  }
];

@Component({
  selector: 'app-sample',
  imports: [SiLandingPageComponent, RouterOutlet],
  templateUrl: './si-landing-page-two-step-login.html',
  providers: [provideExampleRoutes(ROUTES)]
})
export class SampleComponent implements OnInit, OnDestroy {
  private activeRoute = inject(ActivatedRoute);
  private router = inject(Router);
  readonly loginAlert = loginAlert;

  copyrightDetails: CopyrightDetails = {
    startYear: 2021,
    lastUpdateYear: 2023,
    company: 'Example Company'
  };

  ngOnInit(): void {
    this.router.navigate(['login2step'], { relativeTo: this.activeRoute });
  }

  ngOnDestroy(): void {
    loginAlert.set(undefined);
  }
}
```

Template:

```html
<si-landing-page
  heading="Element App"
  subheading="Software Suite X"
  version="Version: 3.05"
  subtitle="APP.CLAIM"
  [implicitLegalAcknowledge]="legalAcknowledge"
  [copyrightDetails]="copyrightDetails"
  [links]="[
    { title: 'Corporate Information', href: 'http://www.examples.org/corporate-information' },
    { title: 'Privacy Notice', href: 'http://www.examples.org/privacy-notice' },
    { title: 'Terms of Use', href: 'http://www.examples.org/terms-of-use' }
  ]"
  [availableLanguages]="[
    { value: 'en', name: 'English' },
    { value: 'de', name: 'Deutsch' },
    { value: 'fr', name: 'Français' }
  ]"
  [loginAlert]="loginAlert()"
>
  <router-outlet />
  <ng-template #legalAcknowledge>
    You agree to the
    <span class="d-inline-flex"
      ><button type="button" class="btn btn-link">Terms of Use</button></span
    >
    policy by logging into this application.
  </ng-template>
</si-landing-page>
```

### Custom background image and logo

The background image can be changed with the input property `backgroundImageUrl`. Note that the background image is `center` positioned by default so that the focus stays on the center of the image for all the different resolutions and screen sizes.

A custom logo can be set with `logoUrl` and the sizes can be configured with the CSS variables `--landing-page-logo-width` (default: 180px) and `--landing-page-logo-height` (default: 'fit-content').

#### Requirements for custom background images

A custom background image needs to meet some basic criteria to make sure it looks good on all devices and screen sizes (responsive):

- Photographs usually work better than graphics
- Texts or other graphic details can be problematic due to scaling effects where such elements are cut off or become either too small or too big
- Subjects like people or animals are difficult as body parts could be cut off
- The focus should be on the center of the image since the image is `center` positioned
- Aspect ratios of 15:10 and 16:9 have been proven to work well
- The resolution needs to be around 1920x1280 to reduce loading times without introducing blur
- The image should be in WebP format and optimized for web: `cwebp -q 80 input.jpg -o image.webp` (the cwebp tool can be downloaded [here](<https://developers.google.com/speed/webp/download>))

> [!TIP]
>
> **Testing required**
>
> Every image is different and testing of all popular screen sizes is crucial.

#### Example

Component:

```typescript
/**
 * Copyright (c) Siemens 2016 - 2026
 * SPDX-License-Identifier: MIT
 */
import { Component } from '@angular/core';
import { RouterLink } from '@angular/router';
import { CopyrightDetails } from '@siemens/element-ng/copyright-notice';
import { AlertConfig, SiLandingPageComponent } from '@siemens/element-ng/landing-page';
import { SiPasswordToggleModule } from '@siemens/element-ng/password-toggle';
import { SiSystemBannerComponent } from '@siemens/element-ng/system-banner';

@Component({
  selector: 'app-sample',
  imports: [SiLandingPageComponent, SiPasswordToggleModule, RouterLink, SiSystemBannerComponent],
  templateUrl: './si-landing-page-custom.html'
})
export class SampleComponent {
  announcement: AlertConfig = {
    severity: 'warning',
    message: 'System is currently under maintenance'
  };

  loginAlert: AlertConfig = {
    severity: 'danger',
    message: 'Sample login error message'
  };

  copyrightDetails: CopyrightDetails = {
    startYear: 2023,
    company: 'Example Company'
  };
}
```

Template:

```html
<si-system-banner message="System is currently under maintenance" status="caution" />
<si-landing-page
  heading="Element App"
  backgroundImageUrl="./assets/images/building-1.webp"
  logoUrl="./assets/images/example-company-logo.svg"
  subtitle="APP.CLAIM"
  [copyrightDetails]="copyrightDetails"
  [links]="[
    { title: 'Corporate Information', href: 'http://www.examples.org/corporate-information' },
    { title: 'Privacy Notice', href: 'http://www.examples.org/privacy-notice' },
    { title: 'Terms of Use', href: 'http://www.examples.org/terms-of-use' }
  ]"
  [availableLanguages]="['en', 'de', 'fr']"
  [announcement]="announcement"
  [loginAlert]="loginAlert"
>
  <form>
    <div class="mb-4">
      <label for="username" class="form-label">Username</label>
      <input id="username" type="email" class="form-control" />
    </div>
    <div class="mb-4">
      <label for="password" class="form-label">Password</label>
      <si-password-toggle #toggle>
        <input id="password" class="form-control" [type]="toggle.inputType" />
      </si-password-toggle>
    </div>
    <a routerLink="./" class="si-h5">Forgot password</a>
    <button type="button" class="btn btn-primary mt-8 w-100"> Login </button>
  </form>
  <br />
  <div class="si-body mt-4">
    <a routerLink="./" class="si-h5">Register now</a>
  </div>
  <div class="si-h5 text-secondary mt-8"> Productive data </div>
  <div class="si-body text-secondary mt-4">
    You are about to connect to productive data. Please note that changes will take effect
    immediately
  </div>
</si-landing-page>
```

### Security considerations

String values of `implicitLegalAcknowledge` and of `passwordPolicyContent` (`si-change-password`) are rendered as HTML and sanitized by Angular. Do not pass untrusted content that was marked as trusted (e.g. via `bypassSecurityTrustHtml`).

### [SiLandingPageComponent](<https://github.com/siemens/element/blob/main/projects/element-ng/landing-page/si-landing-page.component.ts#L66-L155>)

**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="../../../api/siemens/element-ng/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'
```
