8000 GitHub - Vizzuality/wri-guide
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Vizzuality/wri-guide

Repository files navigation

WRI Guide

This repo provides the header shared by all WRI websites.

Header in action

Installation

Requirements:

Install project dependencies:

npm install

Usage (development)

To see in development mode run and follow terminal instructions:

npm start

Go to dev url enviroment for see the demo app in action.

How to use (in sites)

Add this snippet your site:

(function(){
  var element = document.createElement('div'),
    scriptTag = document.createElement('script');
  element.id = 'headerWrI';
  scriptTag.src = 'https://vizzuality.github.io/wri-guide/wri-guide-assets.js';
  document.body.insertBefore(element, document.body.firstChild);
  document.body.appendChild(scriptTag);
})();

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b feature/my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin feature/my-new-feature
  5. Submit a pull request :D

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0