React application for slides.
npm run install
npm run start
Then open a browser at localhost:8080
.
Click on the right or left side of the pages to navigate through the slides.
Put your own slides under src/slides/
and update the Config.jsx
accordingly.
The exported configuration must be an object with the following properties:
title
(string
): The title of the slide showdate
(string
): The date that should be displayedslides
(array
): The ordered array of slides
Your slides can use any templates under src/templates/
or you own ones.
Example:
'use strict';
import React from 'react';
import LayoutVCM from 'templates/LayoutVCM';
export default function Title() {
return (
<LayoutVCM>
<h1>Title</h1>
<h3>Subtitle</h3>
</LayoutVCM>
);
}