0.2.2 • Published 4 years ago

fairfax-header v0.2.2

Weekly downloads
1
License
MIT
Repository
github
Last release
4 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

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.56

5 years ago

0.0.55

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago