Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions app/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const LEETCODE = 'leetcode';
const CSACADEMY = 'csacademy';
const ATCODER = 'atcoder';
const KAGGLE = 'kaggle';
const CODINGNINJAS = 'codingninjas';
const OTHER = 'other';

const SUPPORTED_PLATFORMS = [
Expand All @@ -19,6 +20,7 @@ const SUPPORTED_PLATFORMS = [
KAGGLE,
CSACADEMY,
ATCODER,
CODINGNINJAS,
OTHER,
];

Expand Down Expand Up @@ -46,5 +48,6 @@ module.exports = {
KAGGLE,
CSACADEMY,
ATCODER,
CODINGNINJAS,
OTHER,
};
4 changes: 3 additions & 1 deletion app/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const {
CODEFORCES,
HACKEREARTH,
HACKERRANK,
TOPCODER, LEETCODE, KAGGLE, CSACADEMY, ATCODER,
TOPCODER, LEETCODE, KAGGLE, CSACADEMY, ATCODER, CODINGNINJAS
} = require('./constants');

// converts input dateTime (which is UTC) to browser timezone.
Expand Down Expand Up @@ -58,6 +58,8 @@ const iconPath = (platform) => {
return 'img/kaggle.png';
case ATCODER:
return 'img/atcoder.png';
case CODINGNINJAS:
return 'img/codingninjas.jpg';
default:
return 'img/other.png';
}
Expand Down
Binary file added img/codingninjas.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.