0.0.19 • Published 7 months ago
powered-immersive-header v0.0.19
powered-immersive-header
npm package for dynamic powered immersive header
instructions
- add
<header class="masthead"></header>
and<footer class="masthead"></footer>
tags to html - add canonical url
- import powered-immersive-header with style.css and add config
- config accepts object with properties : headerConfig and footerConfig
- both configs accept
- bgColor, textColor
example
import masthead from 'powered-immersive-header'
import 'powered-immersive-header/dist/style.css';
masthead({
headerConfig: {
bgColor: 'white',
textColor: '#d15800',
},
footerConfig: {
bgColor: 'white',
textColor: '#d15800',
},
})
masthead override
- By default, masthead logo logic is getting pulled from window.location.hostname. You can add an override by using a meta tag with the name of "masthead" then choose a masthead by adding content prop. See all possible values in src/lib/utils/config.js
- e.g to show nine celebrity logo:
<meta name="masthead" content="celebrity" />
0.0.15
7 months ago
0.0.16
7 months ago
0.0.17
7 months ago
0.0.18
7 months ago
0.0.19
7 months ago
0.0.14
7 months ago
0.0.12
8 months ago
0.0.13
8 months ago
0.0.60
10 months ago
0.0.61
10 months ago
0.0.59
10 months ago
0.0.52
10 months ago
0.0.53
10 months ago
0.0.10
9 months ago
0.0.54
10 months ago
0.0.11
9 months ago
0.0.55
10 months ago
0.0.56
10 months ago
0.0.58
10 months ago
0.0.9
9 months ago
0.0.8
9 months ago
0.0.7
10 months ago
0.0.51
10 months ago
0.0.50
10 months ago
0.0.49
10 months ago
0.0.48
10 months ago
0.0.47
10 months ago
0.0.46
10 months ago
0.0.45
10 months ago
0.0.44
10 months ago
0.0.43
10 months ago
0.0.42
11 months ago
0.0.41
11 months ago
0.0.40
11 months ago
0.0.38
11 months ago
0.0.37
11 months ago
0.0.36
11 months ago
0.0.35
11 months ago
0.0.34
11 months ago
0.0.32
11 months ago
0.0.31
11 months ago
0.0.3
11 months ago
0.0.2
11 months ago
0.0.1
11 months ago