diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-01-29 23:17:49 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-01-29 23:21:14 +0100 |
| commit | b2686521cf2ca6bb0b5c5164de72d3d39d5c510e (patch) | |
| tree | ba18ca4612460017ec7dae1f0471d0972457681c /src/config/sharing.ts | |
| parent | 657d11ce72c905832b9b169354352f521f42207a (diff) | |
refactor(widgets): move sharing websites from config to sharing widget
I only use these websites inside the sharing widget so it makes more
sense to gather them. In addition, I can translate the website name if
needed.
Diffstat (limited to 'src/config/sharing.ts')
| -rw-r--r-- | src/config/sharing.ts | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/src/config/sharing.ts b/src/config/sharing.ts deleted file mode 100644 index 9e84801..0000000 --- a/src/config/sharing.ts +++ /dev/null @@ -1,70 +0,0 @@ -const sharingMedia = [ - { - id: 'diaspora', - name: 'Diaspora', - parameters: { - content: '', - image: '', - title: 'title', - url: 'url', - }, - url: 'https://share.diasporafoundation.org/', - }, - { - id: 'facebook', - name: 'Facebook', - parameters: { - content: '', - image: '', - title: '', - url: 'u', - }, - url: 'https://www.facebook.com/sharer/sharer.php', - }, - { - id: 'linkedin', - name: 'LinkedIn', - parameters: { - content: '', - image: '', - title: '', - url: 'url', - }, - url: 'https://www.linkedin.com/sharing/share-offsite/', - }, - { - id: 'twitter', - name: 'Twitter', - parameters: { - content: '', - image: '', - title: 'text', - url: 'url', - }, - url: 'https://twitter.com/intent/tweet', - }, - { - id: 'journal-du-hacker', - name: 'Journal du Hacker', - parameters: { - content: '', - image: '', - title: 'title', - url: 'url', - }, - url: 'https://www.journalduhacker.net/stories/new', - }, - { - id: 'email', - name: 'Email', - parameters: { - content: 'body', - image: '', - title: 'subject', - url: '', - }, - url: 'mailto:', - }, -]; - -export default sharingMedia; |
