Add Bandcamp support

This commit is contained in:
James Panther 2024-05-01 14:47:06 +10:00
parent b496ce078c
commit 97a2ba8bc8
No known key found for this signature in database
GPG Key ID: D36F789E45745D17
8 changed files with 13 additions and 1 deletions

View File

@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added ### Added
- Support for Blueksy, Spotify and Threads - Support for Bandcamp, Blueksy, Spotify and Threads
- Support for X (Twitter) ([#107](https://github.com/jpanther/lynx/pull/107)) - Support for X (Twitter) ([#107](https://github.com/jpanther/lynx/pull/107))
### Changed ### Changed

View File

@ -1103,6 +1103,10 @@ video {
background-color: #333; background-color: #333;
} }
.link-bandcamp {
background-color: #1da0c3;
}
.link-bluesky { .link-bluesky {
background: #0084ff; background: #0084ff;
background: linear-gradient(2.35619rad, #5a72fa 0%, #0084ff 100%); background: linear-gradient(2.35619rad, #5a72fa 0%, #0084ff 100%);

View File

@ -21,6 +21,9 @@
.link-apple { .link-apple {
background-color: #333; background-color: #333;
} }
.link-bandcamp {
background-color: #1da0c3;
}
.link-bluesky { .link-bluesky {
background: #0084ff; background: #0084ff;
background: linear-gradient(2.35619rad, #5a72fa 0%, #0084ff 100%); background: linear-gradient(2.35619rad, #5a72fa 0%, #0084ff 100%);

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path fill="currentColor" d="M256 8C119 8 8 119 8 256S119 504 256 504 504 393 504 256 393 8 256 8zm48.2 326.1h-181L207.9 178h181z"/></svg>

After

Width:  |  Height:  |  Size: 352 B

View File

@ -18,6 +18,7 @@ disableKinds = ["taxonomy", "term"]
# { link = "https://link-to-some-website.com/" }, # { link = "https://link-to-some-website.com/" },
# { amazon = "https://www.amazon.com/hz/wishlist/ls/wishlist-id" }, # { amazon = "https://www.amazon.com/hz/wishlist/ls/wishlist-id" },
# { apple = "https://www.apple.com" }, # { apple = "https://www.apple.com" },
# { bandcamp = "https://username.bandcamp.com" },
# { bluesky = "https://bsky.app/profile/username" }, # { bluesky = "https://bsky.app/profile/username" },
# { codepen = "https://codepen.io/username" }, # { codepen = "https://codepen.io/username" },
# { dev = "https://dev.to/username" }, # { dev = "https://dev.to/username" },

View File

@ -11,6 +11,7 @@ These are all the built-in link styles available in Lynx. Don't forget that you
{{< link link >}} {{< link link >}}
{{< link amazon >}} {{< link amazon >}}
{{< link apple >}} {{< link apple >}}
{{< link bandcamp >}}
{{< link bluesky >}} {{< link bluesky >}}
{{< link codepen >}} {{< link codepen >}}
{{< link dev >}} {{< link dev >}}

View File

@ -1,6 +1,7 @@
link: link:
amazon: Amazon amazon: Amazon
apple: Apple apple: Apple
bandcamp: Bandcamp
bluesky: Bluesky bluesky: Bluesky
codepen: CodePen codepen: CodePen
dev: DEV dev: DEV

View File

@ -1,6 +1,7 @@
link: link:
amazon: Amazon amazon: Amazon
apple: Apple apple: Apple
bandcamp: Bandcamp
bluesky: Bluesky bluesky: Bluesky
codepen: CodePen codepen: CodePen
dev: DEV dev: DEV