Skip to content

Commit 16010aa

Browse files
Merge pull request #864 from MattDevTec/beta
Add New Buttons to LinkStack
2 parents 63f1130 + 07df443 commit 16010aa

File tree

5 files changed

+39
-0
lines changed

5 files changed

+39
-0
lines changed

assets/linkstack/css/brands.css

+19
Original file line numberDiff line numberDiff line change
@@ -1308,3 +1308,22 @@ button.button-scribd{
13081308
.button.button-linkstack:focus {
13091309
filter: brightness(90%);
13101310
}
1311+
/* Xbox */
1312+
.button.button-xbox {
1313+
color: #FFFFFF;
1314+
background-color: #0e7a0d
1315+
;
1316+
}
1317+
.button.button-xbox:hover,
1318+
.button.button-xbox:focus {
1319+
filter: brightness(90%);
1320+
}
1321+
/* Threads */
1322+
.button.button-threads {
1323+
color: #FFFFFF;
1324+
background-color: #000000;
1325+
}
1326+
.button.button-threads:hover,
1327+
.button.button-threads:focus {
1328+
filter: brightness(90%);
1329+
}

assets/linkstack/icons/threads.svg

+1
Loading

assets/linkstack/icons/xbox.svg

+1
Loading

database/seeders/ButtonSeeder.php

+15
Original file line numberDiff line numberDiff line change
@@ -938,6 +938,21 @@ public function run()
938938
"mb" => false,
939939
],
940940

941+
[
942+
"name" => "xbox",
943+
"alt" => "Xbox",
944+
"exclude" => false,
945+
"group" => "default",
946+
"mb" => false,
947+
],
948+
949+
[
950+
"name" => "threads",
951+
"alt" => "Threads",
952+
"exclude" => false,
953+
"group" => "default",
954+
"mb" => false,
955+
],
941956
];
942957

943958
Button::insert($buttons);

resources/views/studio/links.blade.php

+3
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,9 @@ function icon($name, $label) {
322322
{!! icon('dribbble', 'Dribble') !!}
323323

324324
{!! icon('bluesky', 'Bluesky') !!}
325+
326+
{!! icon('threads', 'Threads') !!}
327+
325328

326329

327330
<button type="submit" class="mt-3 ml-3 btn btn-primary">{{__('messages.Save links')}}</button>

0 commit comments

Comments
 (0)