partial-UI-generation-dataset / sketch /0081f461c829fda05c5921aa2e4fefaa5ca10d1cdd99d5a4d2bdb0ff3926d794_partial.html
csbhlim222's picture
feat: add files
1bff947
<html><head>
<title>Links for Social Network Share Dialogs · hjr265.me</title>
<style>
html,
body {
margin: 0;
padding: 0;
}
html {
scroll-padding-top: 1.5em;
scroll-behavior: smooth;
font-size: 16px;
}
body {
padding: 1em;
font-family: rubik, sans-serif;
font-size: 1.125rem;
font-weight: 400;
line-height: 1.875rem;
}
.page {
max-width: 750px;
}
.wide {
position: relative;
}
a {
text-decoration: none;
color: #207cbb;
}
a.muted {
text-decoration: none;
color: #5c6873;
}
.muted {
color: #5c6873;
}
header {
margin-bottom: 1.5em;
}
h1 {
font-size: 28px;
font-weight: 700;
}
code {
font-family: Agave, monospace;
}
.flair {
display: flex;
gap: 0 1.5rem;
flex-wrap: wrap;
}
</style></head>
<body>
<div class="page">
<article>
<div><a>hjr265.me</a> / <a>blog</a> /</div>
<header class="-leaf">
<h1>Links for Social Network Share Dialogs</h1>
<div class="flair">
<span class="flair__item muted">January 7, 2023</span><span class="flair__item"><a class="muted">#100DaysToOffload</a><a class="muted">#Debloat</a><a class="muted">#Web</a></span>
</div>
</header>
<div class="wide">
<div class="main">
<article>
<p>
You have a few options to add social network sharing buttons to
your website or web app.
</p>
<p>
One, you can embed their JavaScript
<del>operating systems</del> SDKs. If your site needs
21st-century Internet bloat, this is what you are looking for.
</p>
<p>
Two, you can use third-party share button JavaScript libraries.
There are way too many of these out there. And they are just a
“google” away. I will refrain from linking to any.
</p>
<p>
But if you know me, I prefer lean solutions. And nothing beats
using simple anchor elements with links to social network share
dialogs. This is the approach I took in <a>Toph</a> and other
websites I have built.
</p>
<p>
In this post, I am sharing a list of links to share dialogs for
various social network websites:
</p>
<ul>
<li>
<strong>Facebook</strong>:
<code>https://facebook.com/sharer/sharer.php?u={url}</code>
</li>
<li>
<strong>Twitter</strong>:
<code>https://twitter.com/intent/tweet/?text={text}&amp;url={url}</code>
</li>
<li>
<strong>LinkedIn</strong>:
<code>https://www.linkedin.com/shareArticle?mini=true&amp;url={url}&amp;title={text}</code>
</li>
<li>
<strong>Telegram</strong>:
<code>https://telegram.me/share/url?text={text}&amp;url={url}</code>
</li>
</ul>
<p>Example:</p>
<div>
<p>
<a><img src="temp.jpg" style="border-radius: 0.25rem; width: 2rem"></a>
<a><img src="temp.jpg" style="border-radius: 0.25rem; width: 2rem"></a>
<a><img src="temp.jpg" style="border-radius: 0.25rem; width: 2rem"></a>
<a><img src="temp.jpg" style="border-radius: 0.25rem; width: 2rem"></a>
</p>
</div>
<p>
Got links for more social network share dialogs? Please leave
them in the comments below.
</p>
<missing></missing>
</article>
</div>
</div>
</article>
</div>
</body></html>