Giter Site home page Giter Site logo

yunusemrealps / linkedin-certification Goto Github PK

View Code? Open in Web Editor NEW

This project forked from suvink/linkedin-certification

0.0 1.0 0.0 498 KB

A plugin that lets you add certifications to LinkedIn from your own website.

JavaScript 5.92% TypeScript 94.08%

linkedin-certification's Introduction

LinkedIn Certification

All Contributors

Release

Lets you add your own certification to LinkedIn with a single click from your websites.

Default Button:

React

Install

npm install linkedin-certification

Add the --save option to add this as a dependency in your application's package.json

Basic Usage

Using Organization Name

import React from "react";
import { LinkedinCertification } from "linkedin-certification";

const App = () => {
  return (
    <LinkedinCertification
      certificationName="My Sample Certification"
      organizationName="My Sample Organization"
      issuedMonth={12}
      issuedYear={2021}
      expirationMonth={3}
      expirationYear={2023}
      certificateId="29c2e87e-5c1c-11ec-bf63-0242ac130002"
      certificateURL="https://www.google.com"
      newTab={true}
    />
  );
};

export default App;

Using Organization ID

import React from "react";
import { LinkedinCertification } from "linkedin-certification";

const App = () => {
  return (
    <LinkedinCertification
      certificationName="My Sample Certification"
      organizationId={1337}
      issuedMonth={12}
      issuedYear={2021}
      expirationMonth={3}
      expirationYear={2023}
      certificateId="29c2e87e-5c1c-11ec-bf63-0242ac130002"
      certificateURL="https://www.google.com"
      newTab={true}
    />
  );
};

export default App;

Advanced Usage

You can pass your own button component and use it to add the certification to LinkedIn.

import React from "react";
import { LinkedinCertification } from "linkedin-certification";

const App = () => {
  return (
    <LinkedinCertification
      certificationName="My Sample Certification"
      organizationName="My Sample Organization"
      issuedMonth={12}
      issuedYear={2021}
      expirationMonth={3}
      expirationYear={2023}
      certificateId="29c2e87e-5c1c-11ec-bf63-0242ac130002"
      certificateURL="https://www.google.com"
      newTab={true}
      customButton={
        <button className="button is-link">
          <span className="icon">
            <i className="fab fa-linkedin"></i>
          </span>
          <span>Add to LinkedIn</span>
        </button>
      }
    />
  );
};

export default App;

Options

Property Type Description
certificationName string The name of the certification. [Required]
organizationId* string The id of the organization.
organizationName* string The name of the organization.
issuedMonth number Certification issued month
issuedYear number Certification issued year
expirationMonth number Certification expiry month
expirationYear number Certification expiry year
certificateId number Unique ID of the certification
certificateURL string URL for the certification
newTab boolean Set true to open the LinkedIn Certification window in a new tab
customButton React Node Lets you pass your own custom button.

*When using the component, please pick between ‘organizationId’ and ‘organizationName’.The two cannot be included at the same time. If your organization has an existing page on LinkedIn, it is recommended to use the ‘organizationId’ property. If your organization does not have an existing page on LinkedIn, use the ‘organizationName’ property instead.

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Contributors

Suvin Nimnaka
Suvin Nimnaka

💻
Ravin Hewage
Ravin Hewage

💻
Yunus Emre Alpu
Yunus Emre Alpu

💻
Nipun Chamikara Weerasiri
Nipun Chamikara Weerasiri

🚧

Donations

Buy Me A Coffee

License

Apache 2.0 License © Suvin Nimnaka

linkedin-certification's People

Contributors

nipunchamikara avatar allcontributors[bot] avatar suvink avatar ravinhwg avatar yunusemrealps avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.