+
{competitor['tco_leaderboard.challenge_count'] || competitor.challengecount}
{
isAlgo ? (
diff --git a/src/shared/components/Leaderboard/PodiumSpot/themes/styles.scss b/src/shared/components/Leaderboard/PodiumSpot/themes/styles.scss
index d2fd45982f..9f45f5f9be 100644
--- a/src/shared/components/Leaderboard/PodiumSpot/themes/styles.scss
+++ b/src/shared/components/Leaderboard/PodiumSpot/themes/styles.scss
@@ -64,6 +64,10 @@ $podium-border-color: #ededf2;
}
}
+ .stats-count {
+ color: #747480;
+ }
+
@include xs-to-sm {
font-size: 12px;
}
diff --git a/src/shared/components/Leaderboard/PodiumSpot/themes/tco20.scss b/src/shared/components/Leaderboard/PodiumSpot/themes/tco20.scss
index bfbc594629..fffcb4919b 100644
--- a/src/shared/components/Leaderboard/PodiumSpot/themes/tco20.scss
+++ b/src/shared/components/Leaderboard/PodiumSpot/themes/tco20.scss
@@ -77,6 +77,19 @@ $podium-border-color: #ededf2;
}
}
+ .stats-count {
+ color: #747480;
+ font-size: 16px;
+ font-weight: 400;
+ line-height: 25px;
+ display: flex;
+ margin-bottom: 4px;
+
+ .value {
+ margin-right: 5px;
+ }
+ }
+
@include xs-to-sm {
font-size: 12px;
}
diff --git a/src/shared/components/Leaderboard/PodiumSpot/themes/tco22.scss b/src/shared/components/Leaderboard/PodiumSpot/themes/tco22.scss
new file mode 100644
index 0000000000..319e1bd11e
--- /dev/null
+++ b/src/shared/components/Leaderboard/PodiumSpot/themes/tco22.scss
@@ -0,0 +1,172 @@
+@import '~styles/mixins';
+$podium-border-color: #ededf2;
+
+.PodiumSpot {
+ border-radius: 12px;
+ padding: 22px 17px 12px;
+ display: flex;
+ width: auto;
+ box-shadow: 0 2px 13px 0 rgba(0, 0, 0, 0.1);
+ min-width: 300px;
+
+ .leaderboard-avatar {
+ display: inline-block;
+ position: relative;
+ margin-bottom: 12px;
+ margin-right: 23px;
+ overflow: visible;
+ }
+
+ .ranking {
+ @include roboto-black;
+
+ border-radius: 20px;
+ display: flex;
+ padding: 0;
+ align-items: center;
+ justify-content: center;
+ position: absolute;
+ right: 0;
+ bottom: -10px;
+ font-size: 15px;
+ width: 28px;
+ height: 28px;
+ }
+
+ .winnings-info span {
+ display: block;
+ }
+
+ .winnings-info {
+ color: #56565d;
+ font-size: 18px;
+ display: flex;
+ justify-content: center;
+ flex-direction: column;
+
+ .stats,
+ .stats-count {
+ color: #747480;
+ font-size: 16px;
+ font-weight: 400;
+ line-height: 25px;
+ display: flex;
+ margin-bottom: 4px;
+
+ .value-title {
+ color: #2a2a2a;
+ font-family: Barlow, sans-serif;
+ font-size: 16px;
+ font-weight: 500;
+ line-height: 26px;
+ text-align: left;
+ white-space: nowrap;
+ }
+
+ .value {
+ color: #2a2a2a;
+ font-family: Barlow, sans-serif;
+ font-size: 16px;
+ font-weight: 700;
+ line-height: 20px;
+ text-align: left;
+ margin-right: 6px;
+ }
+
+ span {
+ font-size: 16px !important;
+ line-height: 25px !important;
+ }
+ }
+
+ .stats-count {
+ .value-title,
+ .value {
+ color: #7f7f7f;
+ font-family: Roboto, sans-serif;
+ font-weight: 500;
+ }
+ }
+
+ @include xs-to-sm {
+ font-size: 12px;
+ }
+
+ @include md-to-lg {
+ font-size: 14px;
+ }
+ }
+
+ a.profile-link {
+ display: block;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ }
+
+ .handle-link,
+ a.profile-link {
+ color: #0d61bf;
+ font-family: Roboto, sans-serif;
+ font-size: 24px;
+ font-weight: 400;
+ line-height: 36px;
+ text-align: left;
+ text-decoration: none;
+ margin-top: -6px;
+ margin-bottom: 5px;
+
+ &:hover {
+ text-decoration: none;
+ }
+ }
+
+ .handle-link:hover {
+ cursor: pointer;
+ }
+}
+
+.PodiumSpot--first {
+ border-bottom: 8px solid #ffd84d;
+
+ .ranking {
+ background-color: #ffd84d;
+ color: #2a2a2a;
+ }
+}
+
+.PodiumSpot--second {
+ border-bottom: 8px solid #7f7f7f;
+
+ .ranking {
+ background-color: #7f7f7f;
+ color: #fff;
+ }
+}
+
+.PodiumSpot--third {
+ border-bottom: 8px solid #d98f64;
+
+ .ranking {
+ background-color: #d98f64;
+ color: #fff;
+ }
+}
+
+.PodiumSpot--fourth {
+ .ranking {
+ background-color: #1e94a3;
+ color: #fff;
+ }
+}
+
+.PodiumSpot--first,
+.PodiumSpot--second,
+.PodiumSpot--third,
+.PodiumSpot--fourth {
+ margin-top: 0;
+
+ .leaderboard-avatar {
+ height: 79px;
+ width: 79px;
+ }
+}
diff --git a/src/shared/components/Leaderboard/avatarStyles.scss b/src/shared/components/Leaderboard/avatarStyles.scss
index 34baecdc3d..175ba5c201 100644
--- a/src/shared/components/Leaderboard/avatarStyles.scss
+++ b/src/shared/components/Leaderboard/avatarStyles.scss
@@ -12,6 +12,12 @@
border-color: rgba(0, 0, 0, 0.05);
}
+.default-tco22 {
+ @include avatar;
+
+ border-color: #fff;
+}
+
.gold {
@include avatar;
@@ -44,3 +50,12 @@
height: 100%;
width: 100%;
}
+
+.tco22-1,
+.tco22-2,
+.tco22-3,
+.tco22-4 {
+ border-radius: 50%;
+ height: 100%;
+ width: 100%;
+}
diff --git a/src/shared/containers/tco/Leaderboard/themes/styles.scss b/src/shared/containers/tco/Leaderboard/themes/styles.scss
index f913880a91..0612fc39d3 100644
--- a/src/shared/containers/tco/Leaderboard/themes/styles.scss
+++ b/src/shared/containers/tco/Leaderboard/themes/styles.scss
@@ -3,7 +3,7 @@
.Leaderboard {
padding: 0;
margin: 40px auto;
- max-width: $screen-md;
+ max-width: 940px;
}
.Leaderboard .section-title {