Skip to content

PandaWhisperer/BrisJS-Promised-Land

Repository files navigation

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.

Releases

No releases published

Packages

No packages published