diff --git a/config/button-names.php b/config/button-names.php index fc2a6c3..cd7698a 100644 --- a/config/button-names.php +++ b/config/button-names.php @@ -4,6 +4,7 @@ $buttonNames = array( 'littlelink-custom' => 'LittleLink Custom', 'all-inkl' => 'ALL-INKL', 'appstore' => 'App Store', + 'apple-books' => 'Apple Books', 'apple-music' => 'Apple Music', 'apple-podcasts' => 'Apple Podcasts', 'bookwyrm' => 'BookWyrm', diff --git a/database/seeders/ButtonSeeder.php b/database/seeders/ButtonSeeder.php index 9003d4f..04c3159 100755 --- a/database/seeders/ButtonSeeder.php +++ b/database/seeders/ButtonSeeder.php @@ -12,7 +12,7 @@ class ButtonSeeder extends Seeder * Run the database seeds. * * ALWAYS ADD NEW BUTTONS TO THE END OF THE FILE! - * + * * @return void */ public function run() @@ -21,51 +21,51 @@ class ButtonSeeder extends Seeder [ 'name' => 'custom' ], - + [ 'name' => 'custom_website' ], - + [ 'name' => 'bandcamp' ], - + [ 'name' => 'buy me a coffee' ], - + [ 'name' => 'cashapp' ], - + [ 'name' => 'default email' ], - + [ 'name' => 'default email_alt' ], - + [ 'name' => 'discord' ], - + [ 'name' => 'facebook' ], - + [ 'name' => 'figma' ], - + [ 'name' => 'github' ], - + [ 'name' => 'gitlab' ], - + [ 'name' => 'goodreads' ], @@ -73,123 +73,123 @@ class ButtonSeeder extends Seeder [ 'name' => 'instagram' ], - + [ 'name' => 'kit' ], - + [ 'name' => 'linkedin' ], - + [ 'name' => 'mastodon' ], - + [ 'name' => 'medium' ], - + [ 'name' => 'messenger' ], - + [ 'name' => 'patreon' ], - + [ 'name' => 'paypal' ], - + [ 'name' => 'pinterest' ], - + [ 'name' => 'reddit' ], - + [ 'name' => 'signal' ], - + [ 'name' => 'skoob' ], - + [ 'name' => 'snapchat' ], - + [ 'name' => 'soundcloud' ], - + [ 'name' => 'spotify' ], - + [ 'name' => 'steam' ], - + [ 'name' => 'telegram' ], - + [ 'name' => 'tiktok' ], - + [ 'name' => 'tumblr' ], - + [ 'name' => 'twitch' ], - + [ 'name' => 'twitter' ], - + [ 'name' => 'venmo' ], - + [ 'name' => 'vimeo' ], - + [ 'name' => 'website' ], - + [ 'name' => 'whatsapp' ], - + [ 'name' => 'wordpress' ], - + [ 'name' => 'xing' ], - + [ 'name' => 'youtube' ], - + [ 'name' => 'heading' ], - + [ 'name' => 'space' ], - + [ 'name' => 'phone' ], @@ -201,147 +201,147 @@ class ButtonSeeder extends Seeder [ 'name' => 'littlelink-custom' ], - + [ 'name' => 'space' ], - + [ 'name' => 'amazon' ], - + [ 'name' => 'appstore' ], - + [ 'name' => 'apple-music' ], - + [ 'name' => 'apple-podcasts' ], - + [ 'name' => 'briar' ], - - [ + + [ 'name' => 'castopod' ], - + [ 'name' => 'codepen' ], - + [ 'name' => 'codeberg' ], - + [ 'name' => 'cryptpad' ], - + [ 'name' => 'dev-to' ], - + [ 'name' => 'deezer' ], - + [ 'name' => 'epic-games' ], - + [ 'name' => 'etsy' ], - + [ 'name' => 'firefox' ], - + [ 'name' => 'flickr' ], - + [ 'name' => 'funkwhale' ], - + [ 'name' => 'f-droid' ], - + [ 'name' => 'itchio' ], - + [ 'name' => 'humble-bundle' ], - + [ 'name' => 'kickstarter' ], - + [ 'name' => 'ko-fi' ], - + [ 'name' => 'lemmy' ], - + [ 'name' => 'letterboxd' ], - + [ 'name' => 'liberapay' ], - + [ 'name' => 'matrix' ], - + [ 'name' => 'misskey' ], - + [ 'name' => 'notion' ], - + [ 'name' => 'odysee' ], - + [ 'name' => 'openstreetmap' ], - + [ 'name' => 'owncast' ], - + [ 'name' => 'peertube' ], - + [ 'name' => 'pixelfed' ], - + [ 'name' => 'piwigo' ], - + [ 'name' => 'playstore' ], - + [ 'name' => 'plemora' ], @@ -349,35 +349,35 @@ class ButtonSeeder extends Seeder [ 'name' => 'producthunt' ], - + [ 'name' => 'session' ], - + [ 'name' => 'strava' ], - + [ 'name' => 'unity' ], - + [ 'name' => 'unraid' ], - + [ 'name' => 'untappd' ], - + [ 'name' => 'upptime' ], - + [ 'name' => 'vrchat' ], - + [ 'name' => 'youtube-music' ], @@ -385,7 +385,7 @@ class ButtonSeeder extends Seeder [ 'name' => 'all-inkl' ], - + [ 'name' => 'text' ], @@ -402,8 +402,12 @@ class ButtonSeeder extends Seeder 'name' => 'vcard' ], + [ + 'name' => 'apple-books' + ], + ]; Button::insert($buttons); } -} \ No newline at end of file +} diff --git a/littlelink/css/brands.css b/littlelink/css/brands.css index 21776fe..1e7402a 100644 --- a/littlelink/css/brands.css +++ b/littlelink/css/brands.css @@ -187,6 +187,22 @@ button:hover, filter: brightness(90%); } +/* Apple Books */ +.button.button-apple-books { + color: #FFFFFF; + background-image: linear-gradient( + -45deg, + #fa753b, + #feb033 + ); + + +} +.button.button-apple-books:hover, +.button.button-apple-books:focus { + filter: brightness(90%); +} + /* Apple Music */ .button.button-apple-music { color: #FFFFFF; @@ -889,7 +905,7 @@ button:hover, .button.button-strava:focus { filter: brightness(90%); } - + /* Telegram */ .button.button-telegram { color: #FFFFFF; @@ -1086,4 +1102,4 @@ button:hover, .button.button-youtube-music:hover, .button.button-youtube-music:focus { filter: brightness(90%); -} \ No newline at end of file +} diff --git a/littlelink/icons/apple-books.svg b/littlelink/icons/apple-books.svg new file mode 100644 index 0000000..3776d06 --- /dev/null +++ b/littlelink/icons/apple-books.svg @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + +