npm package: @springernature/global-corporate-footer
Description: corporate footer
Author: Springer Nature
Latest version: 6.0.2

# Global corporate footer

[![NPM version][badge-npm]][info-npm]

The Corporate footer gives copyright, licensing and other information about your service and department.

## When to use this component

Use this footer on all Springer, Nature Portfolio and Springer Nature products and services.

## How it works

There are 2 ways to configure the Corporate footer component.

The default footer option includes footer items that must be used everywhere

Or you can use the extended footer option. This includes the same footer items, as well as some extra links that only some services need.

### Default footer

#### Default footer items

Always include these items in your footer:

- Your privacy choices/Manage cookies
- Accessibility statement
- Privacy policy

You must use this exact wording for the footer links so that they're the same across our products.

#### Your privacy choices/Manage cookies

This item uses `JavaScript` to open a dialog window when a user clicks it. The window shows the user how to manage their cookie preferences.

For that reason, the component uses a `<button>` element rather than an `<a>` element for the manage cookies action.

You'll need to integrate the third party script of a cookie consent banner into your application.

We use our main cookie consent banner provider at Springer Nature:

1. Springer Nature's custom [Consent Management Platform (CMP)](https://cookie-consent.public.springernature.app/docs/introduction/)

For CMP, read how to implement the button in the [Preference Dialog Trigger section of the cookie consent
documentation](https://cookie-consent.public.springernature.app/docs/getting-started/installation/#preference-dialog-trigger). 

CMP users don't need to link to a cookie policy from the footer as it's covered in the platform itself.

See an example implementation in the [`demo` folder](https://github.com/springernature/frontend-toolkits/tree/master/toolkits/global/packages/global-corporate-footer/demo).

If you've got any questions about your cookie policy, email the Data Protection Manager, Quinton Creighton, at [quinton.creighton@springernature.com](mailto:quinton.creighton@springernature.com)

### Accessibility statement

The accessibility statement link in your footer must take users to the url in the [component demo's `context.json` file](https://github.com/springernature/frontend-toolkits/tree/master/toolkits/global/packages/global-corporate-footer/demo/context.json).

If you're concerned that the accessibility statement isn't relevant for the product you're working on, contact Accessibility Specialist Hollie Kay or Jude Robinson on Slack.

### Privacy policy

The privacy policy you need to use to depends on the legal entity for the product you're working on. Talk to your Product Owner or Manager to find out which privacy policy to link to. 

If you're still not sure, email the Data Protection Manager, Quinton Creighton, at [quinton.creighton@springernature.com](mailto:quinton.creighton@springernature.com).

### Extended footer

The extended footer contains the same links as the default footer, with the option to include:

- Your US state privacy rights
- Terms and conditions
- Help and support

#### Your US state privacy rights

Your product or service needs to include a "Your US state privacy rights" link if it meets one of the following criteria.

1. It makes more than $25 million or more in annual revenue from California residents.
2. It holds the personal data of more than 50,000 Californian "consumers, households or devices".
3. It earns more than half of its annual revenue selling Californian consumers' personal data. 

Your Product Owner or Manager should be able to confirm whether or not you need a "Your US state privacy rights" link. If you're still not sure, email the Data Protection Manager, Quinton Creighton, at [quinton.creighton@springernature.com](mailto:quinton.creighton@springernature.com).

If you need to include a "Your US state privacy rights" link, you must use the url in the [component demo's `context.json` file](https://github.com/springernature/frontend-toolkits/tree/master/toolkits/global/packages/global-corporate-footer/demo/context.json).

#### Terms and conditions

The text you should use for this link depends on what it covers for your product or service. You might need to include more than one link.

The most common options are:

- Terms and conditions
- Terms of use
- Impressum
- Imprint

### Help and support links

Help and support should link to the relevant contact options your service offers.

## Installation

To use the Corporate footer component, enter the following command in
your Terminal:

```
npm install @springernature/global-corporate-footer
```
The Corporate footer component is designed to be the same across all brands. Because of this, it doesn't include any brand settings like some of the other components.

Import the installed component code in your `scss` file:

```scss
@import '@springernature/global-corporate-footer/scss/10-settings/default';

// Include this with your other components
@import '@springernature/global-corporate-footer/scss/50-components/corporate-footer';
```

## Template

Find a configurable template in the [`view` folder](https://github.com/springernature/frontend-toolkits/tree/master/toolkits/global/packages/global-corporate-footer/view). 

You can see an example in the [`demo` folder](https://github.com/springernature/frontend-toolkits/tree/master/toolkits/global/packages/global-corporate-footer/demo).

### Template configuration

#### Using the Corporate footer with an existing footer

The Corporate footer component doesn't include a `<footer>` region/landmark. This means you can use it together with - for example - `springer-nature-publisher` inside a common `<footer>`.

#### Configuring the default or extended footer option

The `demo`'s `context.json` file shows both the `default` and `extended` versions of the footer. 

We use wrappers around each version to sandbox them in the demo - but you won't need these wrappers when you're using the component in your application.

The actual configuration of the `corporate-footer` should look something like this example:

```json
{
  "navigation": {
  "links": [
    {
      "text": "Example link",
      "url": "/url/to/example/link"
    },
    {
      "text": "Example button",
      "buttonProperties": "onlick=\"doSomething()\""
    }
  ]
  },
  "image": {
    "src": "path/to/springer/nature/logo",
    "alt": "Springer Nature",
    "link": "https://www.springernature.com/"
  },
  "currentYear": 2022
}
```

## Help improve this page

If you’ve got a question, idea or suggestion about how to improve this component or guidance, post in the [#design-systems Slack channel](https://springernature.slack.com/archives/C75DHBTBP).

[info-npm]: https://www.npmjs.com/package/@springernature/global-corporate-footer
[badge-npm]: https://img.shields.io/npm/v/@springernature/global-corporate-footer.svg