@aaronlutze/nine-immersive-header

0.2.9 • Public • Published

nine-immersive-header

npm package for dynamic nine immersive header

instructions

  1. add <header> and <footer> tags to html
  2. If using more then one <header> or <footer>, add class masthead
  3. add canonical url
  4. import nine-immersive-header and add config
  5. config accepts object with properties : headerConfig and footerConfig
  6. both configs accept
  • logoColor, bgColor, textColor, css
  • css is object with name = css property and value = css value

example

import nineHeader from "nine-immersive-header";

nineHeader({
  headerConfig: {
    logoColor: "white",

    bgColor: "transparent",
    css: {
      position: "absolute",
      borderBottom: "solid 1px black"
    }
  },
  footerConfig: {
    bgColor: "#fff"
  }
});


Readme

Keywords

none

Package Sidebar

Install

npm i @aaronlutze/nine-immersive-header

Weekly Downloads

4

Version

0.2.9

License

MIT

Unpacked Size

29 kB

Total Files

4

Last publish

Collaborators

  • aaronlutze