fairfax-header
v0.2.2
Published
npm package for dynamic fairfax header
Readme
fairfax-header
npm package for dynamic fairfax header
instructions
- add and tags to html
- add canonical url
- import fairfax-header and add config
- config accepts object with properties : headerConfig and footerConfig
- 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"
}
});
