Skip to content

Commit e5a6f74

Browse files
committed
Adding codeberg
1 parent cf0c68a commit e5a6f74

2 files changed

Lines changed: 14 additions & 2 deletions

File tree

board.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"title": "Board Member",
66
"photo": "images/board/Helio.jpg",
77
"github": "https://github.com/helioloureiro",
8-
"mastodon": "https://bolha.linux-br.org/@helioloureiro"
8+
"mastodon": "https://bolha.linux-br.org/@helioloureiro",
9+
"codeberg": "https://codeberg.org/helioloureiro"
910
},
1011
{
1112
"name": "Steven Chien",

index.html

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,18 @@ <h2>Our Team</h2>
652652
</span>
653653
`;
654654
}
655-
if (!member.hasOwnProperty("facebook") && !member.hasOwnProperty("twitter") && !member.hasOwnProperty("github") && !member.hasOwnProperty("mastodon")) {
655+
if (member.codeberg) {
656+
response +=
657+
` <span class="fa-stack">
658+
<a href="` + member.codeberg + `">
659+
<span class="hexagon"></span>
660+
<i class="fab fa-mastodon fa-stack-1x"></i>
661+
</a>
662+
</span>
663+
`;
664+
}
665+
666+
if (!member.hasOwnProperty("facebook") && !member.hasOwnProperty("twitter") && !member.hasOwnProperty("github") && !member.hasOwnProperty("mastodon") && !member.hasOwnProperty("codeberg") {
656667
response += `<br>`
657668
}
658669

0 commit comments

Comments
 (0)