shareon-pulsanti-condivisio.../index.html

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

138 lines
4.2 KiB
HTML
Raw Normal View History

2023-07-14 22:27:58 +02:00
<!doctype html>
2022-02-10 21:34:06 +01:00
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Shareon Demo Page</title>
<style>
body {
max-width: 800px;
margin: 0 auto;
font-family: sans-serif;
}
code {
font-family: monospace;
font-size: 1em;
}
.shareon.specimen {
font-weight: 600;
}
</style>
</head>
<body>
<main>
<h1>Shareon Demo Page</h1>
<section>
<h2><code>&lt;a&gt;</code></h2>
<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="teams"></a>
2022-02-10 21:34:06 +01:00
<a class="telegram"></a>
<a class="tumblr"></a>
2022-02-10 21:34:06 +01:00
<a class="twitter"></a>
<a class="viber"></a>
<a class="vkontakte"></a>
<a class="whatsapp"></a>
2023-01-23 05:50:02 +01:00
<a class="copy-url"></a>
2023-12-06 23:07:42 +01:00
<a class="email"></a>
2023-12-07 16:44:54 +01:00
<a class="print"></a>
2023-07-14 23:40:00 +02:00
<a class="web-share"></a>
2022-02-10 21:34:06 +01:00
</div>
</section>
<section>
<h2><code>&lt;button&gt;</code></h2>
<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="teams"></button>
2022-02-10 21:34:06 +01:00
<button class="telegram"></button>
<button class="tumblr"></button>
2022-02-10 21:34:06 +01:00
<button class="twitter"></button>
<button class="viber"></button>
<button class="vkontakte"></button>
<button class="whatsapp"></button>
2023-01-23 05:50:02 +01:00
<button class="copy-url"></button>
2023-12-06 23:07:42 +01:00
<button class="email"></button>
2023-12-07 16:44:54 +01:00
<button class="print"></button>
2023-07-14 23:40:00 +02:00
<button class="web-share"></button>
2022-02-10 21:34:06 +01:00
</div>
</section>
<section>
<h2><code>&lt;a&gt;</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"
>
<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="teams"></a>
2022-02-10 21:34:06 +01:00
<a class="telegram"></a>
<a class="tumblr"></a>
2022-02-10 21:34:06 +01:00
<a class="twitter" data-via="nickkaramoff"></a>
<a class="viber"></a>
<a class="vkontakte"></a>
<a class="whatsapp"></a>
2023-01-23 05:50:02 +01:00
<a class="copy-url"></a>
2023-12-06 23:07:42 +01:00
<a class="email"></a>
2023-07-14 23:40:00 +02:00
<a class="web-share"></a>
2022-02-10 21:34:06 +01:00
</div>
</section>
<section>
<h2>Specimen</h2>
<div class="shareon specimen">
2023-07-15 00:11:45 +02:00
<a class="facebook"></a>
2022-02-10 21:34:06 +01:00
<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>
2023-01-23 05:50:15 +01:00
<br />
2023-07-15 00:11:45 +02:00
<a class="pocket"></a>
<a class="reddit"></a>
2023-07-14 23:03:27 +02:00
<a class="teams"></a>
2022-02-10 21:34:06 +01:00
<a class="telegram"></a>
<a class="tumblr"></a>
2023-07-14 23:03:27 +02:00
<a class="twitter">Tweet</a>
2022-02-10 21:34:06 +01:00
<a class="viber"></a>
2023-07-15 00:11:45 +02:00
<br />
<a class="vkontakte">Поделиться</a>
2022-02-10 21:34:06 +01:00
<a class="whatsapp"></a>
2023-07-15 00:11:45 +02:00
<a class="copy-url"></a>
2023-12-06 23:07:42 +01:00
<a class="email"></a>
2023-07-15 00:11:45 +02:00
<a class="web-share">Share</a>
2022-02-10 21:34:06 +01:00
</div>
</section>
</main>
<script type="module">
2022-02-10 23:02:50 +01:00
import { init } from "./src/shareon.js";
init();
2022-02-10 21:34:06 +01:00
</script>
</body>
</html>