From b3533d82cd40bee3eb3a33a33ff8a0422aba630b Mon Sep 17 00:00:00 2001 From: LeviSnoot Date: Sun, 22 Oct 2023 19:34:45 +0200 Subject: [PATCH] feat: add streams button --- assets/linkstack/css/brands.css | 12 +++++++++++- assets/linkstack/icons/streams.svg | 7 +++++++ config/button-names.php | 3 ++- database/seeders/ButtonSeeder.php | 6 +++++- resources/views/littlelink.blade.php | 2 +- 5 files changed, 26 insertions(+), 4 deletions(-) create mode 100644 assets/linkstack/icons/streams.svg diff --git a/assets/linkstack/css/brands.css b/assets/linkstack/css/brands.css index e26c56f..867a43b 100644 --- a/assets/linkstack/css/brands.css +++ b/assets/linkstack/css/brands.css @@ -987,6 +987,16 @@ button.button-scribd{ filter: brightness(90%); } +/* Streams */ +.button.button-streams { + color: #0000FF; + background-color: #FFFFFF; +} +.button.button-streams:hover, +.button.button-streams:focus { + filter: brightness(90%); +} + /* Telegram */ .button.button-telegram { color: #FFFFFF; @@ -1204,4 +1214,4 @@ button.button-scribd{ .button.button-linkstack:hover, .button.button-linkstack:focus { filter: brightness(90%); -} \ No newline at end of file +} diff --git a/assets/linkstack/icons/streams.svg b/assets/linkstack/icons/streams.svg new file mode 100644 index 0000000..3853512 --- /dev/null +++ b/assets/linkstack/icons/streams.svg @@ -0,0 +1,7 @@ + + + + + + diff --git a/config/button-names.php b/config/button-names.php index e5ba283..d450baa 100644 --- a/config/button-names.php +++ b/config/button-names.php @@ -26,6 +26,7 @@ $buttonNames = array( 'picarto' => 'Picarto', 'playstore' => 'Google Play', 'soundcloud' => 'SoundCloud', + 'streams' => 'Streams', 'tiktok' => 'TikTok', 'trakt' => 'Trakt', 'vrchat' => 'VRChat', @@ -33,4 +34,4 @@ $buttonNames = array( 'wordpress' => 'WordPress', 'youtube' => 'YouTube', 'youtube-music' => 'YouTube Music', - ); \ No newline at end of file + ); diff --git a/database/seeders/ButtonSeeder.php b/database/seeders/ButtonSeeder.php index 3a4c61e..4681e90 100755 --- a/database/seeders/ButtonSeeder.php +++ b/database/seeders/ButtonSeeder.php @@ -441,8 +441,12 @@ class ButtonSeeder extends Seeder [ 'name' => 'firefish' ], + + [ + 'name' => 'streams' + ], ]; Button::insert($buttons); } -} \ No newline at end of file +} diff --git a/resources/views/littlelink.blade.php b/resources/views/littlelink.blade.php index 7cf992b..13dbb3c 100644 --- a/resources/views/littlelink.blade.php +++ b/resources/views/littlelink.blade.php @@ -7,7 +7,7 @@ {{-- Fediverse rel="me" links --}} @php - $relMe = "mastodon, firefish"; + $relMe = "mastodon, firefish, streams"; $relMeList = explode(', ', $relMe); @endphp