|
|
@ -14,15 +14,30 @@ const hnUrl = `https://news.ycombinator.com/submitlink?t=${description}&u=${page |
|
|
|
const redditUrl = `https://www.reddit.com/submit?title=${description}&url=${pageUrl}`; |
|
|
|
const redditUrl = `https://www.reddit.com/submit?title=${description}&url=${pageUrl}`; |
|
|
|
--- |
|
|
|
--- |
|
|
|
|
|
|
|
|
|
|
|
<a href={twitterUrl} target="_blank" class="text-gray-500 hover:text-gray-700"> |
|
|
|
<div |
|
|
|
<Icon icon="twitter" /> |
|
|
|
class="absolute left-[-18px] top-[110px] h-full hidden" |
|
|
|
</a> |
|
|
|
id="page-share-icons" |
|
|
|
<a href={fbUrl} target="_blank" class="text-gray-500 hover:text-gray-700"> |
|
|
|
> |
|
|
|
<Icon icon="facebook" /> |
|
|
|
<div class="flex sticky top-[100px] flex-col gap-1.5"> |
|
|
|
</a> |
|
|
|
<a |
|
|
|
<a href={hnUrl} target="_blank" class="text-gray-500 hover:text-gray-700"> |
|
|
|
href={twitterUrl} |
|
|
|
<Icon icon="hackernews" /> |
|
|
|
target="_blank" |
|
|
|
</a> |
|
|
|
class="text-gray-500 hover:text-gray-700" |
|
|
|
<a href={redditUrl} target="_blank" class="text-gray-500 hover:text-gray-700"> |
|
|
|
> |
|
|
|
<Icon icon="reddit" /> |
|
|
|
<Icon icon="twitter" /> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
|
|
|
|
<a href={fbUrl} target="_blank" class="text-gray-500 hover:text-gray-700"> |
|
|
|
|
|
|
|
<Icon icon="facebook" /> |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
<a href={hnUrl} target="_blank" class="text-gray-500 hover:text-gray-700"> |
|
|
|
|
|
|
|
<Icon icon="hackernews" /> |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
<a |
|
|
|
|
|
|
|
href={redditUrl} |
|
|
|
|
|
|
|
target="_blank" |
|
|
|
|
|
|
|
class="text-gray-500 hover:text-gray-700" |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<Icon icon="reddit" /> |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |