1
0
mirror of https://github.com/NickKaramoff/shareon synced 2025-03-10 00:10:15 +01:00

89 Commits

Author SHA1 Message Date
Nikita Karamov
ac1ff60c64
Update CSS 2024-12-26 18:38:30 +01:00
Nikita Karamov
e713374dc2
Add icon 2024-12-26 18:37:29 +01:00
Nikita Karamov
7c06b328cf
Add URL builder for lobste.rs 2024-12-26 18:31:19 +01:00
Nikita Karamov
fca8b01fe3
Add button for Bluesky
Closes #128
2024-11-17 19:31:48 +01:00
Nikita Karamov
011307f5e3 Invert icon 2024-11-17 19:22:35 +01:00
Abdelhadi Oumar
98cb62f3ae fix: update Hacker News icon and rearrange button, styles, and function in alphabetical order 2024-11-17 19:22:35 +01:00
Abdelhadi Oumar
ba9a786df8 Added Hackernews sharing option #130 2024-11-17 19:22:35 +01:00
Nikita Karamov
3e0bae3461
Add s2f-instance parameter
Closes #79
2024-02-04 15:43:54 +01:00
Nikita Karamov
9d21baf43b
Add Fediverse button
Closes #107
2024-02-04 15:23:05 +01:00
pre-commit-ci[bot]
b31215510b [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-01-29 18:18:01 +00:00
pre-commit-ci[bot]
d3915fea4a [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-01-15 18:03:45 +00:00
Nikita Karamov
3640a8e05d
Add 'Print' button 2023-12-07 16:44:54 +01:00
Nikita Karamov
29e14cddf2
Add email button 2023-12-06 23:07:42 +01:00
Nikita Karamov
b0dcf28ce2
Update pre-commit hooks 2023-11-20 09:22:57 +01:00
Nikita Karamov
1258053c02
Add required canonical URL parameter 2023-07-31 22:59:00 +02:00
Isaac Kabucho
cf704dec66 Added tumblr between telegram and twitter both in css and html 2023-07-31 15:55:52 +02:00
Isaac Kabucho
d4865ddf54 made the requested changes and added the trailing comma in whatsapp 2023-07-31 15:55:52 +02:00
Isaac Kabucho
b1af98b111 Made the necessary changes requested in the review 2023-07-31 15:55:52 +02:00
Isaac Kabucho
bb746fcbd1 Added tumblr button 2023-07-31 15:55:52 +02:00
Nikita Karamov
6b9ef4212e
Update src/icons/web-share.svg 2023-07-15 19:58:41 +02:00
pre-commit-ci[bot]
7ca6e9f201 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-07-15 13:38:40 +00:00
Jake Howard
3620323d7c
Fix web-share.svg icon
There was an encoding issue in the stroke color.
2023-07-15 14:37:38 +01:00
Nikita Karamov
000e3b1b1f
Move inline SVGs into separate files 2023-07-15 11:35:46 +02:00
Dimitrios Douros
de29ba84b8
webshare api 2023-07-14 23:40:00 +02:00
Dimitrios Douros
a551eca0e3
Added MS Teams
Co-authored-by: Nikita Karamov <me@kytta.dev>
2023-07-14 23:00:04 +02:00
Nikita Karamov
9977dde3c7
Apply new formatting 2023-07-14 22:28:45 +02:00
Edward
73a7467cb4
Update src/shareon.js
Use url encoded string to replace `#`.

Co-authored-by: Nikita Karamov <me@kytta.dev>
2023-07-11 07:24:02 -07:00
Edward
59ba22638a
Apply suggestions from code review
Remove `hashtag` but use the first element of `hastags` instead for facebook hashtag parameter.

Co-authored-by: Nikita Karamov <me@kytta.dev>
2023-07-06 20:50:57 +08:00
Edward Cui
c00e449749 Add hashtag to facebook and hastags to twitter
Hashtag and hastags are the most commonly used features on facebook and
twitter respectively. Adding support to those two will make the library
even more powerful.

This PR add two optional attribute `data-hashtag` for facebook and
`data-hashtags` for twitter.

`data-hashtag` is a single key word without `#` while `data-hashtags`
are comma seperated strings without `#`.
2023-07-04 21:52:20 +08:00
Nikita Karamov
d49120ed0f Change icon for a second after copying 2023-03-20 19:15:22 +01:00
Nikita Karamov
10cf0143d8 Use a different link icon 2023-03-20 19:15:22 +01:00
Nikita Karamov
2493e6d014 Add "Copy URL" button
Closes #41
2023-03-20 19:15:22 +01:00
Nikita Karamov
63e5733a72 Make default background darker 2023-03-20 19:15:22 +01:00
Nikita Karamov
1550573923
Build CSS using Vite 2023-01-25 20:29:14 +01:00
Nikita Karamov
a69c3f7469
Update Mastodon branding
Closes #42
2023-01-23 05:55:44 +01:00
Nikita Karamov
952fe10d67
Update logos and colours 2022-02-11 16:14:24 +01:00
Nikita Karamov
db05a94838
Remove unneeded TODO 2022-02-11 16:14:23 +01:00
Nikita Karamov
d5141a6383
Use non-default export 2022-02-10 23:02:50 +01:00
Nikita Karamov
a0a7c02e0a
Replace index loops with for-of-loops 2022-02-10 22:34:16 +01:00
Nikita Karamov
95cb4ce158
Rename index variables in loops 2022-02-10 22:20:06 +01:00
Nikita Karamov
51a7597235
Use querySelectorAll instead of getElementsByClassName 2022-02-10 22:19:54 +01:00
Nikita Karamov
9a6f39af4a
Move button listener outside the loop 2022-02-10 22:19:03 +01:00
Nikita Karamov
bea94e545d
Re-export shareon with export ... from 2022-02-10 22:16:26 +01:00
Nikita Karamov
50d9e900f2
Add new build scripts 2022-02-10 21:44:53 +01:00
Nikita Karamov
c5e4ab0bd7
Move urlBuilderMap to shareon.js 2022-02-10 21:16:53 +01:00
Nikita Karamov
70aaddb0c3
Add the style definitions directly to the CSS file
Also rename file to `shareon.css`
2022-02-10 21:16:26 +01:00
Nikita Karamov
73b54c385a
Write new index.js for the package 2022-02-10 20:32:40 +01:00
Nikita Karamov
d95105353f
Convert code using Prettier 2022-02-08 18:56:39 +01:00
Nikita Karamov
57b9769417
Update toot URL 2022-02-02 15:08:47 +01:00
Nikita Karamov
da71d0f227
Fix LinkedIn link 2021-01-17 23:58:15 +03:00