From 75151945568a27048a43c0d0bb8f04f1d146e1bc Mon Sep 17 00:00:00 2001 From: Samuel Young Date: Wed, 25 Jun 2025 13:28:19 -0500 Subject: [PATCH] Add codeberg to profile options --- lib/MetaCPAN/Web/Model/API/Author.pm | 4 ++++ root/static/images/profile/codeberg.png | Bin 0 -> 393 bytes root/static/less/account.less | 3 +++ 3 files changed, 7 insertions(+) create mode 100644 root/static/images/profile/codeberg.png diff --git a/lib/MetaCPAN/Web/Model/API/Author.pm b/lib/MetaCPAN/Web/Model/API/Author.pm index 97c7775a96..7e594b45a6 100644 --- a/lib/MetaCPAN/Web/Model/API/Author.pm +++ b/lib/MetaCPAN/Web/Model/API/Author.pm @@ -113,6 +113,10 @@ my $profile_data = { name => 'Bitbucket', url_format => 'https://bitbucket.org/%s', }, + codeberg => { + name => 'Codeberg', + url_format => 'https://codeberg.org/%s', + }, coderwall => { name => 'Coderwall', url_format => 'https://coderwall.com/%s', diff --git a/root/static/images/profile/codeberg.png b/root/static/images/profile/codeberg.png new file mode 100644 index 0000000000000000000000000000000000000000..7f4854592c8df28ca3091ded3a50d56f7e802606 GIT binary patch literal 393 zcmV;40e1e0P){1R2{f=8HN5};0TxL_ zK~y-)mD4*fL{St4;BW3EXeKg=iUy%jDU=F{QYcXe_Q;x6_|de`WKjS@l=1Ch-V&N`eFG#)XUdE!`LdEPPH z<-kuYWW-gBV>5bLZd(|V1-A<(G=&))=D2Ur$pEKF3J#dYGFHR9lz*R~6{K6N;j7?) zC)6<*Q|SiYN@DZgvC?BzQ=bIqAT*6Ct|HHRtoV2Qi(1s3FmR_DJAUc+s9`u$@8db~ n_vnNVbzGz){7+P{mAi!>uhV_e5?F1a00000NkvXXu0mjfX6vJx literal 0 HcmV?d00001 diff --git a/root/static/less/account.less b/root/static/less/account.less index 5529de5bfe..e20e0bc579 100644 --- a/root/static/less/account.less +++ b/root/static/less/account.less @@ -71,6 +71,9 @@ &.profile-brightkite .control-label { background-image: url(/static/images/profile/brightkite.png); } + &.profile-codeberg .control-label { + background-image: url(/static/images/profile/codeberg.png); + } &.profile-coderwall .control-label { background-image: url(/static/images/profile/coderwall.png); }