event page generator from techweek

Cian Butler 2d57c5bb19 v1.0.8 3 months ago
src 5790be538e fix static files not being moved error 3 months ago
.babelrc 533c8f916e add flow 3 months ago
.eslintignore 573129c45d add initial implementation 3 months ago
.eslintrc acba4bd2d9 add cli args 3 months ago
.flowconfig acba4bd2d9 add cli args 3 months ago
.gitignore 573129c45d add initial implementation 3 months ago
.npmignore 528625ab14 add npmignore 3 months ago
LICENSE 9e9f126dbf Initial commit 3 months ago
README.md acba4bd2d9 add cli args 3 months ago
package.json 2d57c5bb19 v1.0.8 3 months ago
schema.json 573129c45d add initial implementation 3 months ago
yarn.lock acba4bd2d9 add cli args 3 months ago

README.md

Events Page

Static event page generator using handlebar.js

Installation

yarn add event-page

Usage

To build your page, from Command line run:

event-gen

or from node

const event = ('event-page');

event({
  title: "Amazing event",
  source: "source",
  output: {
    dir: "public",
    css: "main.css",
  }
  schema: "./schema.json",
  menu: [{
    title: "Home",
    url: ""
  }, {
    "title": "Speaker List",
    "url": "Speakers"
  }, {
    "title": "Call For Talks",
    "url": "CFT"
  }],
  theme: 'theme',
  helper: 'helpers',
  templates: 'templates',
  css: 'main.scss',
  static: [ 'js', 'fonts', 'images'],
});