0.2.2 • Published 6 years ago

fairfax-header v0.2.2

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

fairfax-header

npm package for dynamic fairfax header

instructions

  1. add and tags to html
  2. add canonical url
  3. import fairfax-header and add config
  4. config accepts object with properties : headerConfig and footerConfig
  5. both configs accept
  • logoColor, bgColor, textColor, css
  • css is object with name = css property and value = css value

example

import fairfax from "fairfax-header";

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

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

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.56

6 years ago

0.0.55

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago