2.1.0 • Published 3 months ago

github-repo-cards v2.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

Github Repo Cards

!IMPORTANT
Github Repo Cards is now on it's version 2, it had many breaking changes since version 1. If you want to continue using the old version, please check the 1.0.10 version docs

Github Repo Cards, the Web Component to show your Github repository cards.

Cards

CDN

First of all, import the web component pasting the following script tag at the head tag of your page.

<script src="https://cdn.jsdelivr.net/npm/github-repo-cards@2.1.0/app.js" defer></script>

Usage

The way of using it is via the custom element github-repo-cards as in the following example:

<github-repo-cards data-user="fedeperin"></github-repo-cards>

Parameters

The cards are customizable. You can pass parameters to the section to make changes to the cards.

data-user

Your GitHub username.

data-target-blank

The parameter data-target-blank is to configure if the links are opened by default in a new tab or not. If you want them to open in a new tab, the value should be true, else, the value should be false.

data-background

The parameter data-background is to configure the background of the container. The value can be a color in rgb, rgba, hex, hsl, or the name of the color (the supported values of the native CSS background).

2.1.0

3 months ago

2.0.0

3 months ago

1.0.10

8 months ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago