From e8715a62e6ed9be55ae0732a7d3437e15bd6f900 Mon Sep 17 00:00:00 2001 From: Koreller Date: Sun, 22 Jun 2025 20:27:14 +0200 Subject: [PATCH] Add HDYC and HOT social link clean markup and change color to #212529 of hdyc.svg and hot.svg --- app/assets/images/social_link_icons/hdyc.svg | 7 +++++++ app/assets/images/social_link_icons/hot.svg | 8 ++++++++ app/models/social_link.rb | 2 ++ 3 files changed, 17 insertions(+) create mode 100644 app/assets/images/social_link_icons/hdyc.svg create mode 100644 app/assets/images/social_link_icons/hot.svg diff --git a/app/assets/images/social_link_icons/hdyc.svg b/app/assets/images/social_link_icons/hdyc.svg new file mode 100644 index 000000000..0cbce4526 --- /dev/null +++ b/app/assets/images/social_link_icons/hdyc.svg @@ -0,0 +1,7 @@ + diff --git a/app/assets/images/social_link_icons/hot.svg b/app/assets/images/social_link_icons/hot.svg new file mode 100644 index 000000000..f90d3bee8 --- /dev/null +++ b/app/assets/images/social_link_icons/hot.svg @@ -0,0 +1,8 @@ + diff --git a/app/models/social_link.rb b/app/models/social_link.rb index 806756a4b..837fcae8f 100644 --- a/app/models/social_link.rb +++ b/app/models/social_link.rb @@ -29,6 +29,8 @@ class SocialLink < ApplicationRecord :flickr => %r{\Ahttps?://(?:www\.)?flickr\.com/people/([a-zA-Z0-9@._-]+)}, :github => %r{\Ahttps?://(?:www\.)?github\.com/([a-zA-Z0-9_-]+)}, :gitlab => %r{\Ahttps?://(?:www\.)?gitlab\.com/([a-zA-Z0-9_-]+)}, + :hdyc => %r{\Ahttps?://(?:www\.)?hdyc\.neis-one\.org/?([a-zA-Z0-9_-]+)}, + :hot => %r{\Ahttps?://tasks\.hotosm\.org/users/([a-zA-Z0-9_-]+)}, :instagram => %r{\Ahttps?://(?:www\.)?instagram\.com/([a-zA-Z0-9._]+)}, :linkedin => %r{\Ahttps?://(?:www\.)?linkedin\.com/in/([a-zA-Z0-9_-]+)}, :line => %r{\Ahttps?://(?:www\.)?line\.me/ti/p/([a-zA-Z0-9_-]+)}, -- 2.39.5