Skip to content

Commit

Permalink
Tutorial Pages improved
Browse files Browse the repository at this point in the history
  • Loading branch information
assisfery committed Nov 25, 2019
1 parent dc39fd1 commit 9322de3
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 3 deletions.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Its allow to include the social share link of the major social network to your p

See the demo here: https://assisfery.github.io/SocialShareJS/index.html

CDN repository: https://cdn.jsdelivr.net/gh/assisfery/SocialShareJS/
CDN repository: https://www.jsdelivr.com/package/gh/assisfery/SocialShareJS

[![](https://data.jsdelivr.com/v1/package/gh/assisfery/SocialShareJS/badge)](https://www.jsdelivr.com/package/gh/assisfery/SocialShareJS)

Expand All @@ -15,6 +15,15 @@ Just include the **social-share.css** and **social-share.js** files.
<link rel="stylesheet" href="social-share.css">
<script src="social-share.js"></script>
```

Those files are hosted on CDN JSDelivr.
```html
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/assisfery/SocialShareJS@master/social-share.min.css">
<script src="https://cdn.jsdelivr.net/gh/assisfery/SocialShareJS@master/social-share.min.js"></script>
```

Or download them in: https://cdn.jsdelivr.net/gh/assisfery/SocialShareJS/

### Dependences
The **SocialShareJS** don't dependents of none library, but its uses the **FontAwesome 5** Fonts, so make sure you have included it in your web page.
```html
Expand Down
18 changes: 16 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,28 @@ <h1>SocialShareJS</h1>
<p>Github repository: <a href="https://github.com/assisfery/SocialShareJS" target="_blank">https://github.com/assisfery/SocialShareJS</a></p>

<br>
<p>CDN repository: <a href="https://cdn.jsdelivr.net/gh/assisfery/SocialShareJS/" target="_blank">https://cdn.jsdelivr.net/gh/assisfery/SocialShareJS/</a></p>
<p>CDN repository: <a href="https://www.jsdelivr.com/package/gh/assisfery/SocialShareJS" target="_blank">https://www.jsdelivr.com/package/gh/assisfery/SocialShareJS</a></p>

<iframe src="https://data.jsdelivr.com/v1/package/gh/assisfery/SocialShareJS/badge" frameborder="0" height="30" width="160">

</iframe>


<br><br>
<h3>Install</h3>
<p>Just include the <b>social-share.css</b> and <b>social-share.js</b> files.</p>

<pre class="alert alert-secondary">&lt;link rel="stylesheet" href="social-share.css"&gt;
&lt;script src="social-share.js"&gt;&lt;/script&gt;</pre>
&lt;script src="social-share.js"&gt;&lt;/script&gt;</pre>

<p>Those files are hosted on <b>CDN JSDelivr</b>.</p>
<pre class="alert alert-secondary">&lt;link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/assisfery/SocialShareJS@master/social-share.min.css"&gt;
&lt;script src="https://cdn.jsdelivr.net/gh/assisfery/SocialShareJS@master/social-share.min.js"&gt;&lt;/script&gt;</pre>

<p>Or download them in:
<a href="https://cdn.jsdelivr.net/gh/assisfery/SocialShareJS/" target="_blank">https://cdn.jsdelivr.net/gh/assisfery/SocialShareJS/</a>
</p>


<br><br>
<h3>Dependences</h3>
Expand Down

0 comments on commit 9322de3

Please sign in to comment.