This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@volvo-cars/site-footer-component

3.0.3 • Public • Published

Site Footer for volvocars.com

@volvo-cars/site-footer-component @volvo-cars/site-footer-component

This is the global footer component that can be found on volvocars.com

Install

Install the package:

npm install @volvo-cars/site-footer-component
# or
yarn add @volvo-cars/site-footer-component

Requirements

Styling and theming is handled with VCC UI:

  1. npm install vcc-ui
  2. Wrap your application in a <StyleProvider> and <ThemeProvider>
  3. Configure at least the following static assets for VCC UI (example configuration):
    • The "Volvo Logo"
    • The "Volvo Novum Light" and "Volvo Broad" fonts

Browser support and polyfills

The code is compiled to match @volvo-cars/browserslist-config but you also need to include some runtime polyfills to support old browsers. We recommend the @volvo-cars/polyfill package.

Usage

The data and content is not provided in this package. You will need to fetch content from the VCC Content Delivery API. Please contact jimmy.sorting at volvocars.com for more information.

import { SiteFooter } from "@volvo-cars/site-footer-component"
const myApp() (
  ...
  <SiteFooter data={dataFromContentDeliveryAPI} />
  ...
)

Tracking

<SiteFooter> component is doing click tracking if you set up Google Tag Manager (GTM) properly on your page. If you don't have GTM it should silently ignore and work as usual.

We highly recommend you to enable tracking. It will allow us to have a better understating of the actual usage of the component and improve it based on the data we gather.

Please contact the analytics team in order to set up the Google Tag Manager.

Dependencies (1)

Dev Dependencies (8)

Package Sidebar

Install

npm i @volvo-cars/site-footer-component

Weekly Downloads

2

Version

3.0.3

License

UNLICENSED

Unpacked Size

53.9 kB

Total Files

46

Last publish

Collaborators

  • sylvainestevezvolvocars
  • allenbargi-vcc
  • jacobrask
  • glenashley
  • volvocars-uip-bot
  • alizeait
  • kristiankalb
  • samny_volvocars