1.3.0 • Published 2 years ago

@donkeyclip/motorcortex-presenter v1.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

MotorCortex-Presenter

Table of Contents

Demo

Check it out here

Intro / Features

If you are looking for a simple way to create amazing clip presentations, MotorCortex-Presenter is the right plugin for you.

This Plugin exposes five Incident:

  • Intro
  • SlideOne
  • SlideTwo
  • Technologies
  • Highlights

Getting Started

Installation

$ npm install --save @donkeyclip/motorcortex-presenter
# OR
$ yarn add @donkeyclip/motorcortex-presenter

Importing and loading

import { loadPlugin } from "@donkeyclip/motorcortex";
import presenterPlugin from "@donkeyclip/motorcortex-presenter";
const Clip = loadPlugin(presenterPlugin);

Creating Incidents

Intro

const introClip = new Clip.Intro(
  {
    width: 1270,
    height: 720,
    clientLogo: "img.svg",
    clientLogoWidth: 500,
    compLogo: "logo.png",
    compLogoWidth: "150px",
    title: "RMIS / University of Zurich",
    date: "2019 - Today",
    bgUrl: "./bg.jpg",
    overlayColor: overlay,
    mainColor: main,
    fontColor: "#fff",
  },
  {
    selector: ".container6",
  }
);

Intro Attrs

NameAreValues
widthwidth of the clipstring/number
heightheight of the clipstring/number
clientLogopath of client logostring
clientLogoWidthsize of clien logostring/number
compLogopath of company or dev team logostring
compLogoWidthsize of company or dev team logostring/number
titlethe title of project/appstring
datestart and end year of projectstring
overlayColorthe overlay color of background imagehex values or RGB or text
fontColorthe color of fontshex values or RGB or text

SlideOne

const SlideOne = new Clip.SlideOne(
  {
    width: 1270,
    height: 720,
    clientLogo: "img.svg",
    clientLogoWidth: 150,
    compLogo: "logo.png",
    compLogoWidth: "150px",
    title: "RMIS / University of Zurich",
    textOne: "generic",
    textTwo: "module-based",
    textThree: "eHealth platform",
    bgColor: "#000c8f",
    contentColor: "#c10000",
    overlayColor: overlay,
    fontColor: "#fff",
    contentTitle: "Scope",
    app: "./app.png",
  },
  {
    selector: ".container5",
  }
);

SlideOne Attrs

NameAreValues
widthwidth of the clipstring/number
heightheight of the clipstring/number
clientLogopath of client logostring
clientLogoWidthsize of clien logostring/number
compLogopath of company or dev team logostring
compLogoWidthsize of company or dev team logostring/number
titlethe title of project/appstring
textOne,textTwo,textThree3 rows that describe the main consepts of the projectsstring
contentColorthe color of content containerhex values or RGB or text img path
bgColorthe color of backgroundhex values or RGB or text or img path
contentTitletitle of slidestring
overlayColorthe overlay color of background imagehex values or RGB or text
fontColorthe color of fontshex values or RGB or text
apppath of app imgstring

SlideTwo / SlideThree

const SlideTwo = new Clip.SlideTwo(
  {
    width: 1270,
    height: 720,
    clientLogo: "img.svg",
    clientLogoWidth: 150,
    compLogo: "logo.png",
    compLogoWidth: "150px",
    title: "RMIS / University of Zurich",
    textOne:
      "Patients answer to the questionnaires, read articles and consume personalized content based on their condition, progress and answers, always maintaining their anonymity",
    bgColor: "#000c8f",
    overlayColor: overlay,
    fontColor: "#fff",
    contentColor: "#c10000",
    contentTitle: "Scope",
    fonSize: 40,
    app: "./app.png",
  },
  {
    selector: ".container4",
  }
);

SlideTwo / SlideThree Attrs

NameAreValues
widthwidth of the clipstring/number
heightheight of the clipstring/number
clientLogopath of client logostring
clientLogoWidthsize of clien logostring/number
compLogopath of company or dev team logostring
compLogoWidthsize of company or dev team logostring/number
titlethe title of project/appstring
textOneparagraph that describe the main consepts of the projectsstring
contentColorthe color of content containerhex values or RGB or text img path
bgColorthe color of backgroundhex values or RGB or text or img path
contentTitletitle of slidestring
overlayColorthe overlay color of background imagehex values or RGB or text
fontColorthe color of fontshex values or RGB or text
fontSizefont size of paragraphnum
apppath of app imgstring

Technologies

const Technologies = new Clip.Technologies(
  {
    width: 1270,
    height: 720,
    clientLogo: "img.svg",
    clientLogoWidth: 150,
    compLogo: "logo.png",
    compLogoWidth: "150px",
    title: "RMIS / University of Zurich",
    logos: ["./1.png", "./2.png", "./3.png", "./4.png", "./5.png"],
    bgColor: "#000c8f",
    overlayColor: overlay,
    fontColor: "#fff",
    contentColor: "#c10000",
    contentTitle: "Technologies",
    contentSubTitle: "USed",
  },
  {
    selector: ".container2",
  }
);

Technologies Attrs

NameAreValues
widthwidth of the clipstring/number
heightheight of the clipstring/number
clientLogopath of client logostring
clientLogoWidthsize of clien logostring/number
compLogopath of company or dev team logostring
compLogoWidthsize of company or dev team logostring/number
titlethe title of project/appstring
logosarray with img pathsarray of strings
contentColorthe color of content containerhex values or RGB or text img path
bgColorthe color of backgroundhex values or RGB or text or img path
contentTitletitle of slidestring
overlayColorthe overlay color of background imagehex values or RGB or text
fontColorthe color of fontshex values or RGB or text
apppath of app imgstring

Highlights

const Highlights = new Clip.Highlights(
  {
    width: 1270,
    height: 720,
    clientLogo: "img.svg",
    clientLogoWidth: 150,
    compLogo: "logo.png",
    compLogoWidth: "150px",
    title: "RMIS / University of Zurich",
    app: "./app.png",
    bgColor: "#000c8f",
    overlayColor: overlay,
    fontColor: "#fff",
    contentColor: "#c10000",
    contentTitle: "Highlights",
    contentSubTitle: "USed",
    scroll: false,
  },
  {
    selector: ".container1",
  }
);

Highlights Attrs

NameAreValues
widthwidth of the clipstring/number
heightheight of the clipstring/number
clientLogopath of client logostring
clientLogoWidthsize of clien logostring/number
compLogopath of company or dev team logostring
compLogoWidthsize of company or dev team logostring/number
titlethe title of project/appstring
contentSubTitlesubtitle of slidestring
contentColorthe color of content containerhex values or RGB or text img path
bgColorthe color of backgroundhex values or RGB or text or img path
contentTitletitle of slidestring
overlayColorthe overlay color of background imagehex values or RGB or text
fontColorthe color of fontshex values or RGB or text
apppath of app imgstring

| scroll | if the app img will scroll | boolean |

Clip classes

ClipSvg version
Intro-
SlideOneSlideOneSVG
SlideTwoSlideTwoSVG
SlideThreeSlideThreeSVG
TechnologiesTechnologiesSVG
HighlightsHighlightsSVG

Adding Incidents in your clip

clipName.addIncident(incidentName,startTime);

Contributing

In general, we follow the "fork-and-pull" Git workflow, so if you want to submit patches and additions you should follow the next steps: 1. Fork the repo on GitHub 2. Clone the project to your own machine 3. Commit changes to your own branch 4. Push your work back up to your fork 5. Submit a Pull request so that we can review your changes

License

MIT License

Sponsored by

1.3.0

2 years ago

1.2.0

2 years ago

1.1.2

2 years ago

1.1.0

2 years ago

1.0.11

3 years ago