Various BCGov header footer themes as a service, implemented using Unippear. Themes include:
- default bootstrap v4.1 theme
- gov theme providing bcgov home site header/footer
-
Install
git clone https://github.com/bcgov/MyGovBC-core-headerFooterService.git npm i -g yarn yarn install -
Update /client-whitelist.json with a list of authorized client URL patterns. Updates made at runtime in the future take effect immediately without restarting Node.
-
Launch the app by running command
npm startfrom application root. By default, the process listens on port 3000. To change, set env UNIPPEAR_PORT before launching node. -
Check READMEs in sub-folders of public/assets for additional version/theme specific options
Copyright 2016-Present Province of British Columbia
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.