Prototype for the Eric H. Holder Initiative.
Hosted on GitHub Pages and viewable here.
The prototype is built on Jekyll, which compiles Liquid templates in /_layouts/
and /_includes/
and generates a static HTML site in /_site/
.
Source styles are written in SCSS and can be found in /assets/styles/
.
all.scss
: compilation of all style_variables.css
: variables, such as colors, breakpoints, etc.
Jekyll compiles CSS in /_site/assets/styles/all.css
.
Source scripts are in /assets/scripts/all.js
. The scripts are used to:
- Change fixed header style when scrolled down in the page.
- Initialize the mobile navigation modal.
- Initialize external links to open in new tab.
Jekyll transfers JS in /_site/assets/scripts/all.js
.
- Assets for the site are in
/assets/images/
, and the SVG logos are in/_includes/
. - Assets that would be uploaded via CMS are in
/_uploads/
.
Make sure you have Jekyll installed.
Install gems:
bundle install
Start the server and watch for changes:
bundle exec jekyll serve
The local site is viewable at localhost:4000/holder-initiative/
.