From b2686521cf2ca6bb0b5c5164de72d3d39d5c510e Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Sat, 29 Jan 2022 23:17:49 +0100 Subject: 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. --- src/config/sharing.ts | 70 --------------------------------------------------- 1 file changed, 70 deletions(-) delete mode 100644 src/config/sharing.ts (limited to 'src/config/sharing.ts') 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; -- cgit v1.2.3