Skip to content

Commit 91e15dc

Browse files
committed
feat(colours): improve colour grouping for improved visual comparison
1 parent 1e0c774 commit 91e15dc

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

src/app/Draftboard/PlayerTable.tsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,16 @@ class PlayerTable extends PureComponent<any, any> {
3030
if (disable) {
3131
return 'pointer';
3232
}
33+
if (position == 'QB') {
34+
tier = (tier * 2) - 1;
35+
}
3336
if (tier == 1) {
3437
return position + '400 pointer';
35-
} else if (tier == 2) {
38+
} else if (tier == 2 || tier == 3) {
3639
return position + '300 pointer';
37-
} else if (tier >= 3 && tier <= 4) {
40+
} else if (tier == 4 || tier <= 5) {
3841
return position + '200 pointer';
39-
} else if (tier >= 5 && tier < 10) {
42+
} else if (tier == 6 || tier == 7) {
4043
return position + '100 pointer';
4144
} else {
4245
return position + '50 pointer';

src/app/Draftboard/UndraftedPositions.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function UndraftedPositions(props) {
1010
return (
1111
<div id="undrafted-positions">
1212
<Title headingLevel="h1" size={TitleSizes.lg}>
13-
Top Picks By Position
13+
Beersheets Top Picks By Position
1414
</Title>
1515
<Grid hasGutter>
1616
<GridItem span={6}>

0 commit comments

Comments
 (0)