2021-07-08 18:14:35 -04:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8" />
|
|
|
|
<link rel="icon" type="image/svg+xml" href="favicon.svg" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
2021-07-29 09:15:57 -04:00
|
|
|
<title>Shareon Demo Page</title>
|
2021-07-08 18:14:35 -04:00
|
|
|
|
2021-07-29 05:57:59 -04:00
|
|
|
<link rel="stylesheet" href="./shareon.css">
|
2021-07-29 09:15:57 -04:00
|
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/modern-normalize@1/modern-normalize.min.css">
|
|
|
|
|
|
|
|
<style>
|
|
|
|
body {
|
|
|
|
max-width: 800px;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.shareon.specimen {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
</style>
|
2021-07-08 18:14:35 -04:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<main>
|
2021-07-29 09:15:57 -04:00
|
|
|
<h1>Shareon Demo Page</h1>
|
2021-07-08 18:14:35 -04:00
|
|
|
<section>
|
2021-07-29 09:15:57 -04:00
|
|
|
<h2><code><a></code></h2>
|
2021-07-08 18:14:35 -04:00
|
|
|
<div class="shareon">
|
|
|
|
<a class="facebook"></a>
|
|
|
|
<a class="linkedin"></a>
|
|
|
|
<a class="mastodon"></a>
|
|
|
|
<a class="messenger" data-fb-app-id="3619024578167617"></a>
|
|
|
|
<a class="odnoklassniki"></a>
|
|
|
|
<a class="pinterest"></a>
|
|
|
|
<a class="pocket"></a>
|
|
|
|
<a class="reddit"></a>
|
|
|
|
<a class="telegram"></a>
|
|
|
|
<a class="twitter"></a>
|
|
|
|
<a class="viber"></a>
|
|
|
|
<a class="vkontakte"></a>
|
|
|
|
<a class="whatsapp"></a>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
<section>
|
2021-07-29 09:15:57 -04:00
|
|
|
<h2><code><button></code></h2>
|
2021-07-08 18:14:35 -04:00
|
|
|
<div class="shareon">
|
|
|
|
<button class="facebook"></button>
|
|
|
|
<button class="linkedin"></button>
|
|
|
|
<button class="mastodon"></button>
|
|
|
|
<button class="messenger" data-fb-app-id="3619024578167617"></button>
|
|
|
|
<button class="odnoklassniki"></button>
|
|
|
|
<button class="pinterest"></button>
|
|
|
|
<button class="pocket"></button>
|
|
|
|
<button class="reddit"></button>
|
|
|
|
<button class="telegram"></button>
|
|
|
|
<button class="twitter"></button>
|
|
|
|
<button class="viber"></button>
|
|
|
|
<button class="vkontakte"></button>
|
|
|
|
<button class="whatsapp"></button>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
<section>
|
2021-07-29 09:15:57 -04:00
|
|
|
<h2><code><a></code> with custom params</h2>
|
|
|
|
<div class="shareon" data-title="shareon demo page test" data-url="https://demo.shareon.js.org" data-text="hey check this out">
|
2021-07-08 18:14:35 -04:00
|
|
|
<a class="facebook"></a>
|
|
|
|
<a class="linkedin"></a>
|
|
|
|
<a class="mastodon" data-via="@NickKaramoff@fosstodon.org"></a>
|
|
|
|
<a class="messenger" data-fb-app-id="3619024578167617"></a>
|
|
|
|
<a class="odnoklassniki"></a>
|
|
|
|
<a class="pinterest"></a>
|
|
|
|
<a class="pocket"></a>
|
|
|
|
<a class="reddit"></a>
|
|
|
|
<a class="telegram"></a>
|
2021-07-29 09:15:57 -04:00
|
|
|
<a class="twitter" data-via="nickkaramoff"></a>
|
2021-07-08 18:14:35 -04:00
|
|
|
<a class="viber"></a>
|
|
|
|
<a class="vkontakte"></a>
|
|
|
|
<a class="whatsapp"></a>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
<section>
|
2021-07-29 09:15:57 -04:00
|
|
|
<h2>Specimen</h2>
|
|
|
|
<div class="shareon specimen">
|
2021-07-08 18:14:35 -04:00
|
|
|
<a class="facebook">Share</a>
|
|
|
|
<a class="linkedin"></a>
|
|
|
|
<a class="mastodon">Toot</a>
|
|
|
|
<a class="messenger" data-fb-app-id="3619024578167617"></a>
|
|
|
|
<a class="odnoklassniki"></a>
|
|
|
|
<a class="pinterest">Pin</a>
|
|
|
|
<br />
|
|
|
|
<a class="pocket"></a>
|
|
|
|
<a class="reddit"></a>
|
2021-07-29 09:15:57 -04:00
|
|
|
<a class="telegram"></a>
|
2021-07-08 18:14:35 -04:00
|
|
|
<a class="twitter"></a>
|
|
|
|
<a class="viber"></a>
|
2021-07-29 09:15:57 -04:00
|
|
|
<a class="vkontakte">Отправить</a>
|
2021-07-08 18:14:35 -04:00
|
|
|
<a class="whatsapp"></a>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
</main>
|
|
|
|
|
2021-07-29 09:15:57 -04:00
|
|
|
<script type="module" src="./shareon.js"></script>
|
2021-07-08 18:14:35 -04:00
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|