From d64e3481effe65ebb906420854bbd0937b9b096f Mon Sep 17 00:00:00 2001 From: Zac Yu Date: Fri, 31 Jan 2025 16:33:05 -0500 Subject: [PATCH] Add Duolingo to the list of pre-defined sites --- assets/linkstack/css/brands.css | 10 ++++++++++ assets/linkstack/icons/duolingo.svg | 26 ++++++++++++++++++++++++++ database/seeders/ButtonSeeder.php | 8 ++++++++ 3 files changed, 44 insertions(+) create mode 100644 assets/linkstack/icons/duolingo.svg diff --git a/assets/linkstack/css/brands.css b/assets/linkstack/css/brands.css index aa0309a4..7d4bc1f0 100644 --- a/assets/linkstack/css/brands.css +++ b/assets/linkstack/css/brands.css @@ -410,6 +410,16 @@ button:hover, filter: brightness(90%); } +/* Duolingo */ +.button.button-duolingo { + color: #FFFFFF; + background-color: #89E219; +} +.button.button-duolingo:hover, +.button.button-duolingo:focus { + filter: brightness(90%); +} + /* Epic Games */ .button.button-epic-games { color: #FFFFFF; diff --git a/assets/linkstack/icons/duolingo.svg b/assets/linkstack/icons/duolingo.svg new file mode 100644 index 00000000..a66c01e7 --- /dev/null +++ b/assets/linkstack/icons/duolingo.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/database/seeders/ButtonSeeder.php b/database/seeders/ButtonSeeder.php index 0d726d82..084db886 100755 --- a/database/seeders/ButtonSeeder.php +++ b/database/seeders/ButtonSeeder.php @@ -953,6 +953,14 @@ public function run() "group" => "default", "mb" => false, ], + + [ + "name" => "duolingo", + "alt" => "Duolingo", + "exclude" => false, + "group" => "default", + "mb" => false, + ], ]; Button::insert($buttons);