Merge pull request #605 from LeviSnoot/streams-button

feat: add streams button
This commit is contained in:
Julian Prieber 2023-10-25 16:39:25 +02:00 committed by GitHub
commit 6531dde429
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 26 additions and 4 deletions

View File

@ -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%);
}
}

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="600" height="600" viewBox="0 0 158.75 158.75" xmlns="http://www.w3.org/2000/svg">
<g font-size="299.52" font-family="serif" fill="#00f" stroke-width=".794" stroke="#000">
<path style="line-height:1.25;-inkscape-font-specification:'serif, Normal'"
d="M156.262 95.222q-11.108-40.513-45.892-40.513-11.107 0-23.384 8.594-12.276 8.286-23.968 16.88-11.692 8.287-21.046 8.287-24.553 0-33.323-33.454l-5.846 3.069q7.016 46.037 45.015 46.037 11.984 0 24.26-8.286 12.278-8.594 23.385-16.88 11.108-8.287 20.461-8.287 23.092 0 34.492 27.315zM156.262 147.705q-11.108-40.513-45.892-40.513-11.107 0-23.384 8.593-12.276 8.287-23.968 16.88-11.692 8.287-21.046 8.287-24.553 0-33.323-33.453l-5.846 3.069q7.016 46.037 45.015 46.037 11.984 0 24.26-8.287 12.278-8.593 23.385-16.88 11.108-8.287 20.461-8.287 23.092 0 34.492 27.316zM156.262 43.66Q145.154 3.147 110.37 3.147q-11.107 0-23.384 8.594-12.276 8.286-23.968 16.88-11.692 8.287-21.046 8.287-24.553 0-33.323-33.454L2.803 6.523Q9.82 52.56 47.818 52.56q11.984 0 24.26-8.286 12.278-8.594 23.385-16.88 11.108-8.287 20.461-8.287 23.092 0 34.492 27.315z" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -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',
);
);

View File

@ -441,8 +441,12 @@ class ButtonSeeder extends Seeder
[
'name' => 'firefish'
],
[
'name' => 'streams'
],
];
Button::insert($buttons);
}
}
}

View File

@ -7,7 +7,7 @@
{{-- Fediverse rel="me" links --}}
@php
$relMe = "mastodon, firefish";
$relMe = "mastodon, firefish, streams";
$relMeList = explode(', ', $relMe);
@endphp