feat: add firefish button

This commit is contained in:
Levi 2023-09-12 10:00:23 +02:00
parent 74460ad378
commit 99b488302a
5 changed files with 54 additions and 1 deletions

View File

@ -430,6 +430,23 @@ button:hover,
filter: brightness(90%); filter: brightness(90%);
} }
/* Firefish */
.button.button-firefish {
color: #fff;
background-image: linear-gradient(
45deg,
#DB44DB,
1%,
#EC476D,
80%,
#F6AE4A
);
}
.button.button-firefish:hover,
.button.button-firefish:focus {
filter: brightness(90%);
}
/* Firefox */ /* Firefox */
.button.button-firefox { .button.button-firefox {
color: #FFFFFF; color: #FFFFFF;

View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="firefish" xmlns="http://www.w3.org/2000/svg" width="40" height="40"
viewBox="0 0 40 40">
<defs>
<style>
.fishy {
fill: #fff;
}
</style>
</defs>
<path class="fishy"
d="m20.71,17.14H2.14c-1.18,0-2.14.96-2.14,2.14v18.57c0,1.18.96,2.14,2.14,2.14h18.57c1.18,0,2.14-.96,2.14-2.14v-18.57c0-1.18-.96-2.14-2.14-2.14Zm-15,17.14c-1.58,0-2.86-1.28-2.86-2.86s1.28-2.86,2.86-2.86,2.86,1.28,2.86,2.86-1.28,2.86-2.86,2.86Zm7.14,0c-1.58,0-2.86-1.28-2.86-2.86s1.28-2.86,2.86-2.86,2.86,1.28,2.86,2.86-1.28,2.86-2.86,2.86Z" />
<path class="fishy"
d="m20.71,17.14H2.14c-1.18,0-2.14.96-2.14,2.14v18.57c0,1.18.96,2.14,2.14,2.14h18.57c1.18,0,2.14-.96,2.14-2.14v-18.57c0-1.18-.96-2.14-2.14-2.14Zm-15,17.14c-1.58,0-2.86-1.28-2.86-2.86s1.28-2.86,2.86-2.86,2.86,1.28,2.86,2.86-1.28,2.86-2.86,2.86Zm7.14,0c-1.58,0-2.86-1.28-2.86-2.86s1.28-2.86,2.86-2.86,2.86,1.28,2.86,2.86-1.28,2.86-2.86,2.86Z" />
<path class="fishy"
d="m20.71,14.28h-9.82c-1.18,0-2.14-.96-2.14-2.14V2.32c0-1.91,2.31-2.86,3.66-1.51l9.82,9.82c1.35,1.35.39,3.66-1.51,3.66h0Z" />
<path class="fishy"
d="m37.83,31.43h-9.94c-1.2,0-2.17-.97-2.17-2.17v-9.94c0-1.93,2.34-2.9,3.7-1.53l9.94,9.94c1.37,1.37.4,3.7-1.53,3.7h0Z" />
<path class="fishy"
d="m37.83,14.28h-9.94c-1.2,0-2.17-.97-2.17-2.17V2.17c0-1.93,2.34-2.9,3.7-1.53l9.94,9.94c1.37,1.37.4,3.7-1.53,3.7h0Z" />
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -11,6 +11,7 @@ $buttonNames = array(
'dev-to' => 'DEV', 'dev-to' => 'DEV',
'epic-games' => 'Epic Games', 'epic-games' => 'Epic Games',
'f-droid' => 'F-Droid', 'f-droid' => 'F-Droid',
'firefish' => 'Firefish',
'furaffinity' => 'FurAffinity', 'furaffinity' => 'FurAffinity',
'github' => 'GitHub', 'github' => 'GitHub',
'gitlab' => 'GitLab', 'gitlab' => 'GitLab',

View File

@ -421,15 +421,22 @@ class ButtonSeeder extends Seeder
[ [
'name' => 'trakt' 'name' => 'trakt'
], ],
[ [
'name' => 'last-fm' 'name' => 'last-fm'
], ],
[ [
'name' => 'itaku' 'name' => 'itaku'
], ],
[ [
'name' => 'furaffinity' 'name' => 'furaffinity'
], ],
[
'name' => 'firefish'
],
]; ];
Button::insert($buttons); Button::insert($buttons);

View File

@ -5,12 +5,19 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
{{-- Mastodon re="me" link --}} {{-- Mastodon rel="me" link --}}
@foreach($links as $link) @foreach($links as $link)
@if($link->name === "mastodon") @if($link->name === "mastodon")
<link href="{{$link->link}}" rel="me"> <link href="{{$link->link}}" rel="me">
@endif @endif
@endforeach @endforeach
{{-- Firefish rel="me" link --}}
@foreach($links as $link)
@if($link->name === "firefish")
<link href="{{$link->link}}" rel="me">
@endif
@endforeach
<?php <?php
// Theme Config // Theme Config