2.1.3 • Published 1 year ago

@visual-framework/ebi-header-footer v2.1.3

Weekly downloads
73
License
Apache 2.0
Repository
-
Last release
1 year ago

EMBL-EBI Header and Footer component

npm version

About

Support for using the EMBL-EBI header and footer from the EMBL-EBI VF 1.3.

Usage

This component provides the minimum amount of legacy CSS to make the header and footer work while avoiding conflicts with other 2.0 styles.

  • This component requires the EMBL contentHub loader, which is included in most EMBL VF builds.
  • This requires VF 2.0 footer CSS and other styles.
  • If you do not currently have VF 2.0 CSS and JS as part of your project, you can use the CDN JS.
  • This uses the existing //ebi.emblstatic.net/web_guidelines/EBI-Framework/v1.3/js/script.js to load the HTML for the header.
  • The EBI VF 1.x will also included a data protection banner, to disable this with 1.4 you can an included an element with data-protection-message-disable="true"
    • This will be inserted by default when using the ebi-header-footer--footer template.

Install

This repository is distributed with npm. After installing npm, you can install ebi-header-footer with this command.

$ yarn add --dev @visual-framework/ebi-header-footer

Sass/CSS

The style files included are written in Sass. If you're using a VF-core project, you can import it like this:

@import "@visual-framework/ebi-header-footer/index.scss";

Make sure you import Sass requirements along with the modules. You can use a project boilerplate or the vf-sass-starter

Help

2.1.3

1 year ago

2.1.2

2 years ago

2.1.1

2 years ago

2.1.0

3 years ago

2.0.3

3 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0-beta.2

4 years ago

1.0.0-beta.1

4 years ago

0.0.2-alpha.0

4 years ago