-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3cc7487
commit fcb6148
Showing
20 changed files
with
306 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
export default function Codeforces({ rating }){ | ||
const getItem = { | ||
"newbie": <p className="text-gray-500">newbie</p>, | ||
"pupil":<p className="text-green-500">pupil</p>, | ||
"specialist":<p className="text-blue-300">specialist</p>, | ||
"expert":<p className="text-blue-600">expert</p>, | ||
"candidate master":<p className="text-purple-500">Candidate master</p>, | ||
"master":<p className="text-orange-500">master</p>, | ||
"international master":<p className="text-orange-600">International master</p>, | ||
"grandmaster":<p className="text-red-600">Grandmaster</p>, | ||
"international grandmaster":<p className="text-red-700">International Grandmaster</p>, | ||
"legendary grandmaster":<p className="text-red-700"><span className="text-black">legendary</span> Grandmaster</p> | ||
|
||
} | ||
|
||
return getItem[rating]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.