Add Fediverse, Matrix and XMPP social links (#2044)

This commit is contained in:
cel
2022-08-17 17:35:45 +01:00
committed by Gabe Kangas
parent dd737a60d6
commit 38ed3c4024
5 changed files with 309 additions and 1 deletions

View File

@@ -20,6 +20,18 @@ func GetSocialHandle(platform string) *SocialHandle {
// GetAllSocialHandles will return a list of all the social platforms we support.
func GetAllSocialHandles() map[string]SocialHandle {
socialHandlePlatforms := map[string]SocialHandle{
"fediverse": {
Platform: "Fediverse",
Icon: "/img/platformlogos/fediverse.svg",
},
"matrix": {
Platform: "Matrix",
Icon: "/img/platformlogos/matrix.svg",
},
"xmpp": {
Platform: "XMPP",
Icon: "/img/platformlogos/xmpp.svg",
},
"bandcamp": {
Platform: "Bandcamp",
Icon: "/img/platformlogos/bandcamp.svg",