Cian Butler eddd2b5309
add comments
2 months ago
src add comments 2 months ago
.babelrc add flow 8 months ago
.eslintignore add initial implementation 9 months ago
.eslintrc.js use promises to manage async calls 7 months ago
.flowconfig add cli args 8 months ago
.gitignore add initial implementation 9 months ago
.npmignore clean up repo 8 months ago
LICENSE fix upgrade errors async 3 months ago
README.md Update README.md 7 months ago
package.json add comments 2 months ago
schema.json fix upgrade errors async 3 months ago
yarn.lock add comments 2 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 = require('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'],
});