mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-03-24 07:20:20 +01:00
(feat) last.fm button
This commit is contained in:
parent
2c8374df4e
commit
ff7d607e2a
10
assets/linkstack/css/brands.css
vendored
10
assets/linkstack/css/brands.css
vendored
@ -582,6 +582,16 @@ button:hover,
|
||||
filter: brightness(90%);
|
||||
}
|
||||
|
||||
/* last.fm */
|
||||
.button.button-last-fm {
|
||||
color: #ffffff;
|
||||
background-color: #b90000;
|
||||
}
|
||||
.button.button-last-fm:hover,
|
||||
.button.button-last-fm:focus {
|
||||
filter: brightness(90%);
|
||||
}
|
||||
|
||||
/* Lemmy */
|
||||
.button.button-lemmy {
|
||||
color: #000000;
|
||||
|
21
assets/linkstack/icons/last-fm.svg
Normal file
21
assets/linkstack/icons/last-fm.svg
Normal file
@ -0,0 +1,21 @@
|
||||
<svg version="1.1" id="last-fm_logo" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"
|
||||
y="0px" viewBox="0 0 62.5 40" style="enable-background:new 0 0 62.5 40;" xml:space="preserve">
|
||||
<style type="text/css">
|
||||
.st0 {
|
||||
fill: #fff;
|
||||
}
|
||||
</style>
|
||||
<g id="SVGRepo_bgCarrier">
|
||||
</g>
|
||||
<g id="SVGRepo_tracerCarrier">
|
||||
</g>
|
||||
<g id="SVGRepo_iconCarrier">
|
||||
<path class="st0" d="M52.4,15.6c-0.5-0.2-1-0.4-1.5-0.5c-3.9-1.3-5.3-1.8-5.3-4c0-1.9,1.3-3.2,3.3-3.2c1.6,0,2.7,0.7,3.8,2.3
|
||||
c0.4,0.6,1.3,0.8,1.9,0.5l3.8-2C58.7,8.4,59,8,59.1,7.7c0.1-0.4,0.1-0.8-0.1-1.1c-2.2-4.1-5.5-6.2-9.9-6.2c-3.3,0-6.1,1-8.1,3
|
||||
c-2,1.9-3,4.7-3,7.8c0,6.7,4.2,9.4,11.5,11.9c4.2,1.4,5.1,2,5.1,4.2c0,2.7-2.3,4.6-5.5,4.6c-0.1,0-0.2,0-0.3,0
|
||||
c-3.4-0.1-4.5-1.8-6.1-5.6c-2.6-6.1-5.6-13.4-5.8-14c0,0,0,0,0,0C33.7,4.5,27.2,0,19.2,0C8.6,0,0,9,0,20c0,11,8.6,20,19.2,20
|
||||
c5.8,0,11.2-2.7,14.9-7.3c0.3-0.4,0.4-1,0.2-1.5L32,25.7c-0.2-0.5-0.7-0.9-1.3-0.9c-0.6,0-1.1,0.3-1.4,0.8c-2,3.9-5.8,6.4-10.1,6.4
|
||||
c-6.3,0-11.4-5.4-11.4-12c0-6.6,5.1-12,11.4-12c4.6,0,8.7,2.8,10.4,7c0,0,0,0,0,0l5.7,13.5l0.7,1.5c2.7,6.7,6.8,9.6,13.2,9.7h0
|
||||
c7.6,0,13.3-5.3,13.3-12.3C62.5,20.4,58.6,17.7,52.4,15.6z" />
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 1.2 KiB |
@ -14,6 +14,7 @@ $buttonNames = array(
|
||||
'github' => 'GitHub',
|
||||
'gitlab' => 'GitLab',
|
||||
'itchio' => 'itch.io',
|
||||
'last-fm' => 'last.fm'
|
||||
'linkedin' => 'linkedIn',
|
||||
'linkstack' => 'LinkStack',
|
||||
'openstreetmap' => 'OpenStreetMap',
|
||||
|
@ -421,6 +421,9 @@ class ButtonSeeder extends Seeder
|
||||
[
|
||||
'name' => 'trakt'
|
||||
],
|
||||
[
|
||||
'name' => 'last-fm'
|
||||
],
|
||||
];
|
||||
|
||||
Button::insert($buttons);
|
||||
|
Loading…
x
Reference in New Issue
Block a user