Code Monkey home page Code Monkey logo

polymer-js.la's Introduction

Panda Slides

This is a template for authoring HTML5 slide decks. Based on IO 2012 Slides, but Panda-flavored.

Getting Started

  1. Install Harp, if you don't already have it:

     npm install -g harp
    
  2. Create a new slide deck:

     harp init [name] -b pandastrike/panda-slides
    

    NOTE: If name is omitted, slides will be created in the current directory.

  3. Start a server for live preview:

     harp server
    

    Open your browser and go to http://localhost:9000/

That's it! Now you can open index.jade in your $EDITOR and start hacking away.

Configuring the slides

You can customize basic settings in slide_config.js. This includes the presentation title, Analytics tracking ID, speaker information (name, social urls, blog), web fonts to load, themes, and other general behavior.

Editing CSS

The stylesheet is currently written in SASS, althought there are plans to port it to Stylus. Stylesheets are compiled on-the-fly when using the editing preview, thanks to Harp. All you have to is make some changes and reload the page in your browser. Easy peasy.

Running the slides

You can run the slides either by using a local server (recommended for development) or by producing a static HTML version (for uploading to your website).

Running from a web server

Make sure you have Harp installed (see "Getting Started"), then just navigate to your slides directory and run harp server. Open your browser and go to http://localhost:9000/slides.html. Done!

Compiling to static HTML

Again, make sure you have Harp installed. Navigate to your slide directory and run harp compile [outputDir]. Your compiled slide deck will be found in outputDir (or ./www if you did not specify one).

Presenter mode

The slides contain a presenter mode feature (beta) to view + control the slides from a popup window.

To enable presenter mode, add presentme=true to the URL: http://localhost:9000/?presentme=true

To disable presenter mode, hit http://localhost:9000/?presentme=false

Presenter mode is sticky, so refreshing the page will persist your settings.

Credits

Credits go to the original authors of the Google slide template, Eric Bidelman and Luke Mahé. Without their work this would not be possible.

polymer-js.la's People

Contributors

pandawhisperer avatar

Watchers

 avatar James Cloos avatar  avatar

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.