From 72fa55f58e7f063b6a38464d29acdfb19e990ab6 Mon Sep 17 00:00:00 2001 From: Cell <1024@lruihao.cn> Date: Thu, 15 Sep 2022 10:57:03 +0800 Subject: [PATCH] :sparkles: Feat: add 10 newly supported social links (#175) --- CHANGELOG.md | 1 + assets/data/social.yml | 95 ++++++++++++++++++++++++++++++-- assets/svg/icons/plume.svg | 92 +++++++++++++++++++++++++++++++ assets/svg/icons/rootme.svg | 1 + assets/svg/icons/thingiverse.svg | 1 - config.toml | 16 +++++- docs | 2 +- 7 files changed, 198 insertions(+), 10 deletions(-) create mode 100644 assets/svg/icons/plume.svg create mode 100644 assets/svg/icons/rootme.svg delete mode 100644 assets/svg/icons/thingiverse.svg diff --git a/CHANGELOG.md b/CHANGELOG.md index 6f3afbbd..eddaa370 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ All notable changes to this project will be documented in this file. - :sparkles: Feat: add optional parameter `noreferrer` for the shortcode `link` - :sparkles: Feat: update echarts theme config - :sparkles: Feat: add noscript warning banner ([#194](https://github.com/hugo-fixit/FixIt/issues/194)) +- :sparkles: Feat: add 10 newly supported social links ([#175](https://github.com/hugo-fixit/FixIt/issues/175)) - :zap: Perf: remove extra spaces in plugin link - :wheelchair: Feat(accessibility): use `aria-hidden=true` on icons that AT should ignore - :recycle: Refactor: image rendering diff --git a/assets/data/social.yml b/assets/data/social.yml index ccc921b2..23b5627e 100644 --- a/assets/data/social.yml +++ b/assets/data/social.yml @@ -452,7 +452,7 @@ thingiverse: Prefix: https://www.thingiverse.com/ Title: Thingiverse Icon: - Src: svg/icons/thingiverse.svg + Simpleicons: thingiverse # 058: Dev.To devto: @@ -564,17 +564,102 @@ csdn: Icon: Src: svg/icons/csdn.svg -# 072: Email -email: +# 072: Discord User Profile +discord: Weight: 72 + Prefix: https://discordapp.com/users/ + Title: Discord + Icon: + Class: fa-brands fa-discord fa-fw + +# 073: Discord Server Invite Link +discordInvite: + Weight: 73 + Prefix: https://discord.gg/ + Title: Discord + Icon: + Class: fa-brands fa-discord fa-fw + +# 074: Lichess user profile +lichess: + Weight: 74 + Prefix: https://lichess.org/@/ + Title: Lichess + Icon: + Simpleicons: lichess + +# 075: Pleroma +pleroma: + Weight: 75 + Title: Pleroma + Icon: + Simpleicons: pleroma + +# 076: Kaggle +kaggle: + Weight: 76 + Prefix: https://kaggle.com/ + Title: Kaggle + Icon: + Class: fa-brands fa-kaggle fa-fw + +# 077: MediaWiki +mediawiki: + Weight: 77 + Title: MediaWiki + Icon: + Class: fa-brands fa-wikipedia-w fa-fw + +# 078: Plume +plume: + Weight: 78 + Title: Plume + Icon: + Src: svg/icons/plume.svg + +# 079: Hack The Box +hackthebox: + Weight: 79 + Title: Hack The Box + Prefix: https://app.hackthebox.com/profile/ + Icon: + Simpleicons: hackthebox + +# 080: Root-Me +rootme: + Weight: 80 + Title: Root-Me + Prefix: https://www.root-me.org/ + Icon: + Src: svg/icons/rootme.svg + +# 081: Feishu +feishu: + Weight: 81 + Title: Feishu + Template: https://www.feishu.cn/invitation/page/add_contact/?token=%v + Icon: + Class: fa-solid fa-dove + +# Phone +phone: + Weight: 98 + Template: tel:%v + Title: Phone + Icon: + Class: fa-solid fa-phone fa-fw + +# Email +email: + Weight: 99 Template: mailto:%v Title: Email Icon: Class: fa-regular fa-envelope fa-fw -# 073: RSS +# RSS rss: - Weight: 73 + Weight: 100 Url: /index.xml Title: RSS Newtab: true diff --git a/assets/svg/icons/plume.svg b/assets/svg/icons/plume.svg new file mode 100644 index 00000000..722be81d --- /dev/null +++ b/assets/svg/icons/plume.svg @@ -0,0 +1,92 @@ + + + + + Plume Logo - Feather (Black) + + + + + + image/svg+xml + + Plume Logo - Feather (Black) + + 2018/10/07 + + + Abdullah Tarawneh (trwnh.com) + + + A Plume concept logo, with a soft stylized feather. Solid black fill, no path. + + + trwnh + + + + + + + + + + + + + + \ No newline at end of file diff --git a/assets/svg/icons/rootme.svg b/assets/svg/icons/rootme.svg new file mode 100644 index 00000000..95e99dde --- /dev/null +++ b/assets/svg/icons/rootme.svg @@ -0,0 +1 @@ +Root Me \ No newline at end of file diff --git a/assets/svg/icons/thingiverse.svg b/assets/svg/icons/thingiverse.svg deleted file mode 100644 index 061bf250..00000000 --- a/assets/svg/icons/thingiverse.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/config.toml b/config.toml index dcc59336..86169567 100644 --- a/config.toml +++ b/config.toml @@ -210,7 +210,7 @@ # special amount of posts in each home posts page paginate = 6 - # Social config about the author + # FixIt 0.2.16 | CHANGED Social config about the author [params.social] GitHub = "" Linkedin = "" @@ -274,7 +274,6 @@ XMPP = "" Matrix = "" Bilibili = "" - # ORCID, ... , CSDN FixIt 0.2.13 | NEW ORCID = "" Liberapay = "" Ko-Fi = "" @@ -284,8 +283,19 @@ QQGroup = "" # https://qun.qq.com/join.html Diaspora = "" CSDN = "" + Discord = "" + DiscordInvite = "" + Lichess = "" + Pleroma = "" + Kaggle = "" + MediaWiki= "" + Plume = "" + HackTheBox = "" + RootMe= "" + Feishu = "" + Phone = "" Email = "" - RSS = true # FixIt 0.2.0 | NEW + RSS = true # FixIt 0.2.0 | CHANGED Page config [params.page] diff --git a/docs b/docs index f598bb31..f00efc2f 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit f598bb311d9759f8dd407ede03cb91bd44f8af19 +Subproject commit f00efc2f164aa90080d34127071e6af3de8550ac