ImgBotApp / planet4-presentation-layer

Styling and markup for various pages of Master theme for Planet4

Home Page:https://greenpeace.github.io/planet4-presentation-layer/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Planet 4 Presentation Layer

Local Installation

Execute these two npm commands to install project dependencies

npm install

To compile the SCSS source to CSS, use

npm run gulp:styles

To watch SCSS files and rebuild the CSS whenever a .scss source file changes, use

npm run gulp

Auto-reloading development server

To start a local development server that will auto-rebuild SCSS and reload your page whenever the HTML or styles change, run

npm start

Using Gulp directly

This project uses a locally-installed gulp with npm scripts to simplify setup, but at times it may be useful to have direct command-line access to gulp itself. You can install the gulp CLI using [these "getting started" instructions]((https://github.com/gulpjs/gulp/blob/master/docs/getting-started.md)

This table shows the corresponding gulp commands for each npm command:

Task npm command gulp command
Compile SCSS to CSS npm run gulp:styles gulp styles
Start Gulp watch task to auto-rebuild SCSS npm run gulp gulp

Coding Guidelines

Coding guidelines are very important here in this project and delivery depends on that.

About

Styling and markup for various pages of Master theme for Planet4

https://greenpeace.github.io/planet4-presentation-layer/


Languages

Language:HTML 55.8%Language:CSS 42.9%Language:JavaScript 1.4%