Code Monkey home page Code Monkey logo

nara's Introduction

NARA Renewables 2.0 Theme

NARA's 2.0 site

Working with the NARA theme

Requirements:

  • Install Grunt - npm install -g grunt-cli.
  • Install NPM dependencies - npm install.

On a successful run of grunt or grunt default:

  • All CSS files in src/css will be linted and concatenated into style.css.
  • All Spine JS files in src/js will be linted and concatenated into js/spine.min.js.

Bumping version numbers

When a new version of the theme is ready:

  1. Check out the master branch and make sure you have pulled all changes.
  2. Check out a new branch for the version bump version/x.x.x
  3. Bump the version number in these places:
    • src/css/00-banner.css
    • functions.php
    • package.json
  4. Run grunt so that the version number in banner is applied to the stylesheet.
  5. Commit these changes to the version/x.x.x branch.
  6. Push changes to GitHub and open a pull request.
  7. Once all Travis checks have passed, merge the pull request.
  8. Tag the new version in GitHub for deployment.

nara's People

Contributors

jeremyfelt avatar

Stargazers

 avatar

Watchers

Dan White avatar James Cloos avatar Danial Bleile avatar Clint Young avatar Jon Bickelhaupt avatar Jeff Hanson avatar Courtney Chaffin avatar  avatar  avatar

nara's Issues

Homepage parallax breaks on page update

Turns out that data attributes aren't allowed HTML, so leveraging them as I do now to determine parallax behavior won't work as a long-term solution. ๐Ÿ˜„

I'm planning to introduce a shortcode for adding parallax images as a fix.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.