From d69b4e4857fcb1ac1c05ac59c78d130788f00400 Mon Sep 17 00:00:00 2001 From: Yassine Doghri Date: Mon, 31 Jul 2023 10:53:46 +0000 Subject: [PATCH] fix(platforms): change twitter to X + add buymeacoffee and kofi as funding + fix a few typos closes #353, #361 --- app/Database/Seeds/PlatformSeeder.php | 36 ++++++++++++++------ app/Resources/icons/funding/buymeacoffee.svg | 4 +++ app/Resources/icons/funding/kofi.svg | 4 +++ app/Resources/icons/social/twitter.svg | 2 +- app/Resources/icons/social/x.svg | 4 +++ 5 files changed, 38 insertions(+), 12 deletions(-) create mode 100644 app/Resources/icons/funding/buymeacoffee.svg create mode 100644 app/Resources/icons/funding/kofi.svg create mode 100755 app/Resources/icons/social/x.svg diff --git a/app/Database/Seeds/PlatformSeeder.php b/app/Database/Seeds/PlatformSeeder.php index c207b06d..156ec328 100644 --- a/app/Database/Seeds/PlatformSeeder.php +++ b/app/Database/Seeds/PlatformSeeder.php @@ -22,7 +22,7 @@ class PlatformSeeder extends Seeder [ 'slug' => 'amazon', 'type' => 'podcasting', - 'label' => 'Amazon Music and Audible', + 'label' => 'Amazon Music & Audible', 'home_url' => 'https://music.amazon.com/', 'submit_url' => 'https://podcasters.amazon.com/', ], @@ -365,7 +365,7 @@ class PlatformSeeder extends Seeder [ 'slug' => 'podnews', 'type' => 'podcasting', - 'label' => 'podnews', + 'label' => 'Podnews', 'home_url' => 'https://podnews.net/podcast/subscribe-pages', 'submit_url' => '', ], @@ -394,16 +394,23 @@ class PlatformSeeder extends Seeder 'slug' => 'zion', 'type' => 'podcasting', 'label' => 'Zion', - 'home_url' => 'https://getzion.com/', - 'submit_url' => 'https://shop.n2n2.chat/', + 'home_url' => 'https://zion.fyi/', + 'submit_url' => 'https://guide.zion.fyi/zion/getting-started', ], ]; $fundingData = [ + [ + 'slug' => 'buymeacoffee', + 'type' => 'funding', + 'label' => 'Buy Me a Coffee', + 'home_url' => 'https://www.buymeacoffee.com/', + 'submit_url' => 'https://www.buymeacoffee.com/signup', + ], [ 'slug' => 'paypal', 'type' => 'funding', - 'label' => 'Paypal', + 'label' => 'PayPal', 'home_url' => 'https://www.paypal.com/', 'submit_url' => 'https://www.paypal.com/paypalme/my/grab', ], @@ -424,7 +431,7 @@ class PlatformSeeder extends Seeder [ 'slug' => 'helloasso', 'type' => 'funding', - 'label' => 'helloasso', + 'label' => 'HelloAsso', 'home_url' => 'https://www.helloasso.com/', 'submit_url' => 'https://auth.helloasso.com/inscription', ], @@ -449,6 +456,13 @@ class PlatformSeeder extends Seeder 'home_url' => 'https://www.kisskissbankbank.com/', 'submit_url' => 'https://www.kisskissbankbank.com/en/financer-mon-projet', ], + [ + 'slug' => 'kofi', + 'type' => 'funding', + 'label' => 'Ko-fi', + 'home_url' => 'https://ko-fi.com/', + 'submit_url' => 'https://ko-fi.com/account/register', + ], [ 'slug' => 'liberapay', 'type' => 'funding', @@ -579,11 +593,11 @@ class PlatformSeeder extends Seeder 'submit_url' => 'https://www.twitch.tv/signup', ], [ - 'slug' => 'twitter', + 'slug' => 'x', 'type' => 'social', - 'label' => 'Twitter', - 'home_url' => 'https://twitter.com/', - 'submit_url' => 'https://twitter.com/i/flow/signup', + 'label' => 'X', + 'home_url' => 'https://x.com/', + 'submit_url' => 'https://x.com/i/flow/signup', ], [ 'slug' => 'writefreely', @@ -595,7 +609,7 @@ class PlatformSeeder extends Seeder [ 'slug' => 'youtube', 'type' => 'social', - 'label' => 'Youtube', + 'label' => 'YouTube', 'home_url' => 'https://www.youtube.com/', 'submit_url' => 'https://creatoracademy.youtube.com/page/home', ], diff --git a/app/Resources/icons/funding/buymeacoffee.svg b/app/Resources/icons/funding/buymeacoffee.svg new file mode 100644 index 00000000..987bd109 --- /dev/null +++ b/app/Resources/icons/funding/buymeacoffee.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/app/Resources/icons/funding/kofi.svg b/app/Resources/icons/funding/kofi.svg new file mode 100644 index 00000000..e27ef1b4 --- /dev/null +++ b/app/Resources/icons/funding/kofi.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/app/Resources/icons/social/twitter.svg b/app/Resources/icons/social/twitter.svg index 1b07620c..3c6492d2 100755 --- a/app/Resources/icons/social/twitter.svg +++ b/app/Resources/icons/social/twitter.svg @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/app/Resources/icons/social/x.svg b/app/Resources/icons/social/x.svg new file mode 100755 index 00000000..3c6492d2 --- /dev/null +++ b/app/Resources/icons/social/x.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file