GithubHelp home page GithubHelp logo

pltfm-www's Introduction

Stories in Ready

pltfrm-www

Marketing page for PLTFM

Setup Development Environment

$ git clone https://github.com/nappels/pltfm-www.git # Clone repository
$ make harp       # Install Bower and Harp
$ make install    # Install project dependencies
$ harp server     # Start Harp server

Compile website files for deployment

$ harp compile

Files will be compiled into /www directory. Everything will minified and ready for deployment.

Harp JS framework docs

http://harpjs.com/

Refer to these docs for information regarding using partials and data throughout the app.

Generate sprites

  1. Install Glue
  2. cd into /public/sprite_assets/
  3. Generate sprite:
glue public/assets/sprite_assets/ public/assets/sprites --margin=1 --padding=1 --retina --namespace='' --sprite-namespace='' --pseudo-class-separator=_
  1. Copy the generated CSS in the /public/sprites/ directory to appropriate section of /public/styles/_sprites.less.
  2. Move generated sprites images in /public/sprites/ directory to /public/images/ directory. You will need to change the name of these images to match the current name of the sprites. You may also want to optimize the images before deploying.

Deploy to gh-pages (staging)

  1. Compile static assets: harp compile
  2. Deploy to gh-pages: gulp deploy

Staging url will be https://[github username].github.io/pltfm-www/

pltfm-www's People

Contributors

everitosan avatar nappels avatar waffle-iron avatar

Watchers

 avatar  avatar  avatar

pltfm-www's Issues

Add to copyright

The copyright at the bottom should be © 2017 Pltfrm, Inc

Create thank you page for email form submission

Let's just create a really simple page with the follow content. (all you need to do is add a file called thankyou.jade in the same directory as index.jade)

Thank you!

We have received your request and will be in touch. Click here to return home.

Hook up email form

Waiting on implementation details from client. I'll update this ticket once we have more details.

Make <h4>s bold

"ONE SIMPLE GOAL" and "ELEVATE THE WAY YOU WORK" should have a font-weight of 500;

Animate scroll to bottom on click of "Join Beta"

Use this smooth scrolling code snippet:

function scrollTo(element, to, duration) {
  if (duration <= 0) return;
  var difference = to - element.scrollTop;
  var perTick = difference / duration * 10;

  setTimeout(function() {
    element.scrollTop = element.scrollTop + perTick;
    if (element.scrollTop === to) return;
    scrollTo(element, to, duration - 10);
  }, 10);
}

And then on click of the button:

scrollTo(document.body, document.body.offsetHeight - window.innerHeight, 400);

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.