Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding link support for Chess.com , 365Chess and Chessgames #5226

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
6 changes: 6 additions & 0 deletions standard/links/commons/links.lua
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ local PREFIXES = {
booyah = {'https://booyah.live/'},
bracket = {''},
breakingpoint = {match = 'https://www.breakingpoint.gg/match/'},
chesscom = {'https://www.chess.com/'},
Hesketh2 marked this conversation as resolved.
Show resolved Hide resolved
cc = {'https://cc.163.com/'},
cdl = {match = 'https://callofdutyleague.com/en-us/match/'},
challengermode = {
Expand Down Expand Up @@ -359,6 +360,11 @@ local MATCH_ICONS = {
iconDark = 'File:Breaking Point GG icon darkmode.png',
text = 'Breaking Point matchpage'
},
chesscom = {
icon = 'File:ChessCom_allmode.png',
iconDark = 'File:ChessCom_allmode.png',
text = 'Chess.com matchpage'
},
cdl = {
icon = 'File:Call of Duty League lightmode.png',
iconDark = 'File:Call of Duty League darkmode.png',
Expand Down
1 change: 1 addition & 0 deletions standard/links/commons/links_priority_groups.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ return {
'cfs',
'challengermode',
'challonge',
'chesscom',
'cybergamer',
'datdota',
'dotabuff',
Expand Down
1 change: 1 addition & 0 deletions stylesheets/commons/Icons.less
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ Note: When adding a new icon, please add to
.icon-make-image( cfs, "//liquipedia.net/commons/images/1/1e/InfoboxIcon_CFS.png" );
.icon-make-image( challengermode, "//liquipedia.net/commons/images/1/19/InfoboxIcon_Challengermode.png" );
.icon-make-image( challonge, "//liquipedia.net/commons/images/c/cd/InfoboxIcon_Challonge.png" );
.icon-make-image( chesscom, "//liquipedia.net/commons/images/1/10/InfoboxIcon_ChessCom.png" );
.icon-make-image( chzzk, "//liquipedia.net/commons/images/7/71/InfoboxIcon_CHZZK.png" );
.icon-make-image( cntft, "//liquipedia.net/commons/images/e/ea/InfoboxIcon_CNTFT.png" );
.icon-make-image( corestrike, "//liquipedia.net/commons/images/a/aa/InfoboxIcon_CoreStrike.png" );
Expand Down
Loading