fediverse-share-button/index.html

92 lines
3.4 KiB
HTML
Raw Normal View History

2024-05-17 14:19:39 +02:00
<!DOCTYPE html>
2024-07-28 14:05:10 +02:00
<html lang="en"
class="h-100"
data-bs-theme="auto">
2024-05-17 14:19:39 +02:00
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, initial-scale=1.0">
2024-07-28 14:05:10 +02:00
<title>Fediverse Sharing Button</title>
2024-05-17 14:19:39 +02:00
<meta name="description"
2024-06-10 15:42:09 +02:00
content="One of the current objections to Communism, and Socialism altogether, is that the idea is so old, and yet it has never been realized.">
2024-07-28 14:05:10 +02:00
<link rel="stylesheet"
href="./assets/libs/bootstrap/5.3.3/css/bootstrap.min.css">
<link rel="stylesheet"
href="./fediverse-share-button/styles.min.css">
2024-05-17 14:19:39 +02:00
<style>
/* Demo page styles, not needed for the share button. */
.explainer {
font-family: 'Segoe Print', 'Bradley Hand', Chilanka, TSCu_Comic, casual, cursive;
font-weight: normal;
font-size: 1.4rem;
-webkit-transform: rotate(-1deg);
-ms-transform: rotate(-1deg);
transform: rotate(-1deg);
margin-top: 2rem;
margin-bottom: 2rem;
}
2024-05-17 14:19:39 +02:00
</style>
</head>
2024-07-28 14:05:10 +02:00
<body class="d-flex flex-column h-100">
<main class="flex-shrink-0">
<div class="container">
<h1 class="mt-5 fw-bold">Fediverse Sharing Button</h1>
<p class="lead">Make it easy to share your website or a blog with the fediverse</p>
<ul class="mt-4">
<li>Minimalist design with no pop-ups</li>
<li>Remembers the last fediverse domain used</li>
<li>Supports several fediverse platform (<a
href="https://github.com/stefanbohacek/fediverse-share-button/#q-which-platforms-are-supported">see full
list</a>) and shows a matching logo</li>
<li>Open-source</li>
</ul>
<p class="explainer d-block mt-5 mb-3">Try it here ⤵</p>
<form class="fsb-prompt mt-0">
<label>Share this page from your fediverse server</label>
<div class="fsb-input-group mb-3">
<span class="fsb-input-group-text">https://</span>
<input required
type="text"
name="fediverse-domain"
placeholder="mastodon.social"
class="fsb-input fsb-domain"
aria-label="Server domain">
<button class="fsb-button"
type="submit"><img alt="Fediverse platform logo"
src="./fediverse-share-button/icons/mastodon.svg"
class="fsb-icon"></span>Share</button>
</div>
<p class="fsb-support-note fsb-d-none">This server does not support sharing. Please visit <a
class="fsb-support-note-link"
target="_blank"
href=""></a>.</p>
</form>
2024-05-17 14:19:39 +02:00
2024-07-28 14:05:10 +02:00
<p class="mt-5">
<a class="btn btn-dark"
href="https://github.com/stefanbohacek/fediverse-share-button/">Get the code</a>
<a class="btn btn-dark"
href="https://github.com/stefanbohacek/fediverse-share-button-wordpress/">Add to WordPress <sup>beta</sup></a>
<a class="btn btn-light"
href="https://stefanbohacek.com/project/fediverse-sharing-button/">Learn more</a>
</p>
2024-05-17 14:19:39 +02:00
</div>
2024-07-28 14:05:10 +02:00
</main>
<footer class="footer mt-auto py-3 bg-body-tertiary">
<div class="container">
<span class="text-body-secondary">Created by <a class="text-body-secondary"
href="https://stefanbohacek.com/">Stefan Bohacek</a>.</span>
</div>
</footer>
<script class="fsb-script"
src="./fediverse-share-button/script.min.js"
defer>
</script>
2024-05-17 14:19:39 +02:00
</body>
</html>