npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@donkeyclip/motorcortex-presenter

v1.3.0

Published

Presenter plugin for MotorCortex

Downloads

6

Readme

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

| Name | Are | Values | | --------------- | :-----------------------------------: | ------------------------: | | width | width of the clip | string/number | | height | height of the clip | string/number | | clientLogo | path of client logo | string | | clientLogoWidth | size of clien logo | string/number | | compLogo | path of company or dev team logo | string | | compLogoWidth | size of company or dev team logo | string/number | | title | the title of project/app | string | | date | start and end year of project | string | | overlayColor | the overlay color of background image | hex values or RGB or text | | fontColor | the color of fonts | hex 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

| Name | Are | Values | | ------------------------- | :----------------------------------------------------: | ------------------------------------: | | width | width of the clip | string/number | | height | height of the clip | string/number | | clientLogo | path of client logo | string | | clientLogoWidth | size of clien logo | string/number | | compLogo | path of company or dev team logo | string | | compLogoWidth | size of company or dev team logo | string/number | | title | the title of project/app | string | | textOne,textTwo,textThree | 3 rows that describe the main consepts of the projects | string | | contentColor | the color of content container | hex values or RGB or text img path | | bgColor | the color of background | hex values or RGB or text or img path | | contentTitle | title of slide | string | | overlayColor | the overlay color of background image | hex values or RGB or text | | fontColor | the color of fonts | hex values or RGB or text | | app | path of app img | string |

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

| Name | Are | Values | | --------------- | :-------------------------------------------------------: | ------------------------------------: | | width | width of the clip | string/number | | height | height of the clip | string/number | | clientLogo | path of client logo | string | | clientLogoWidth | size of clien logo | string/number | | compLogo | path of company or dev team logo | string | | compLogoWidth | size of company or dev team logo | string/number | | title | the title of project/app | string | | textOne | paragraph that describe the main consepts of the projects | string | | contentColor | the color of content container | hex values or RGB or text img path | | bgColor | the color of background | hex values or RGB or text or img path | | contentTitle | title of slide | string | | overlayColor | the overlay color of background image | hex values or RGB or text | | fontColor | the color of fonts | hex values or RGB or text | | fontSize | font size of paragraph | num | | app | path of app img | string |

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

| Name | Are | Values | | --------------- | :-----------------------------------: | ------------------------------------: | | width | width of the clip | string/number | | height | height of the clip | string/number | | clientLogo | path of client logo | string | | clientLogoWidth | size of clien logo | string/number | | compLogo | path of company or dev team logo | string | | compLogoWidth | size of company or dev team logo | string/number | | title | the title of project/app | string | | logos | array with img paths | array of strings | | contentColor | the color of content container | hex values or RGB or text img path | | bgColor | the color of background | hex values or RGB or text or img path | | contentTitle | title of slide | string | | overlayColor | the overlay color of background image | hex values or RGB or text | | fontColor | the color of fonts | hex values or RGB or text | | app | path of app img | string |

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

| Name | Are | Values | | --------------- | :-----------------------------------: | ------------------------------------: | | width | width of the clip | string/number | | height | height of the clip | string/number | | clientLogo | path of client logo | string | | clientLogoWidth | size of clien logo | string/number | | compLogo | path of company or dev team logo | string | | compLogoWidth | size of company or dev team logo | string/number | | title | the title of project/app | string | | contentSubTitle | subtitle of slide | string | | contentColor | the color of content container | hex values or RGB or text img path | | bgColor | the color of background | hex values or RGB or text or img path | | contentTitle | title of slide | string | | overlayColor | the overlay color of background image | hex values or RGB or text | | fontColor | the color of fonts | hex values or RGB or text | | app | path of app img | string |

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

Clip classes

| Clip | Svg version | | ------------ | :-------------: | | Intro | - | | SlideOne | SlideOneSVG | | SlideTwo | SlideTwoSVG | | SlideThree | SlideThreeSVG | | Technologies | TechnologiesSVG | | Highlights | HighlightsSVG |

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