From 97a2ba8bc8103c5c9211f90c038e4e82fb9fade3 Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Wed, 1 May 2024 14:47:06 +1000 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Add=20Bandcamp=20support?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 2 +- assets/css/compiled/main.css | 4 ++++ assets/css/main.css | 3 +++ assets/icons/bandcamp.svg | 1 + config.toml | 1 + exampleSite/content/styles.md | 1 + i18n/en.yaml | 1 + i18n/fr.yaml | 1 + 8 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 assets/icons/bandcamp.svg diff --git a/CHANGELOG.md b/CHANGELOG.md index 296bb6d..eb6998b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### 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)) ### Changed diff --git a/assets/css/compiled/main.css b/assets/css/compiled/main.css index c5f71aa..368eabc 100644 --- a/assets/css/compiled/main.css +++ b/assets/css/compiled/main.css @@ -1103,6 +1103,10 @@ video { background-color: #333; } +.link-bandcamp { + background-color: #1da0c3; +} + .link-bluesky { background: #0084ff; background: linear-gradient(2.35619rad, #5a72fa 0%, #0084ff 100%); diff --git a/assets/css/main.css b/assets/css/main.css index 9fe3f65..3cbb8c8 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -21,6 +21,9 @@ .link-apple { background-color: #333; } +.link-bandcamp { + background-color: #1da0c3; +} .link-bluesky { background: #0084ff; background: linear-gradient(2.35619rad, #5a72fa 0%, #0084ff 100%); diff --git a/assets/icons/bandcamp.svg b/assets/icons/bandcamp.svg new file mode 100644 index 0000000..2e50f8f --- /dev/null +++ b/assets/icons/bandcamp.svg @@ -0,0 +1 @@ + diff --git a/config.toml b/config.toml index 80bebd7..ba67a85 100644 --- a/config.toml +++ b/config.toml @@ -18,6 +18,7 @@ disableKinds = ["taxonomy", "term"] # { link = "https://link-to-some-website.com/" }, # { amazon = "https://www.amazon.com/hz/wishlist/ls/wishlist-id" }, # { apple = "https://www.apple.com" }, + # { bandcamp = "https://username.bandcamp.com" }, # { bluesky = "https://bsky.app/profile/username" }, # { codepen = "https://codepen.io/username" }, # { dev = "https://dev.to/username" }, diff --git a/exampleSite/content/styles.md b/exampleSite/content/styles.md index ced1542..078fb57 100644 --- a/exampleSite/content/styles.md +++ b/exampleSite/content/styles.md @@ -11,6 +11,7 @@ These are all the built-in link styles available in Lynx. Don't forget that you {{< link link >}} {{< link amazon >}} {{< link apple >}} +{{< link bandcamp >}} {{< link bluesky >}} {{< link codepen >}} {{< link dev >}} diff --git a/i18n/en.yaml b/i18n/en.yaml index a65b684..002f2cb 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -1,6 +1,7 @@ link: amazon: Amazon apple: Apple + bandcamp: Bandcamp bluesky: Bluesky codepen: CodePen dev: DEV diff --git a/i18n/fr.yaml b/i18n/fr.yaml index 2104a5e..d0185c0 100644 --- a/i18n/fr.yaml +++ b/i18n/fr.yaml @@ -1,6 +1,7 @@ link: amazon: Amazon apple: Apple + bandcamp: Bandcamp bluesky: Bluesky codepen: CodePen dev: DEV