Updated the platform colors to the new ones
This commit is contained in:
@@ -90,20 +90,20 @@ export default function Home() {
|
||||
<ProgressBar
|
||||
label={`Level ${calculateAverageLevel(user.levels).toFixed(1)}`}
|
||||
percentage={100}
|
||||
color="blue"
|
||||
color="purple"
|
||||
className="max-w-xs w-32 self-end h-10"
|
||||
/>
|
||||
</div>
|
||||
<ProgressBar
|
||||
label=""
|
||||
percentage={Math.round((calculateAverageLevel(user.levels) * 100) / calculateAverageLevel(user.desiredLevels))}
|
||||
color="blue"
|
||||
color="red"
|
||||
className="w-full h-3 drop-shadow-lg"
|
||||
/>
|
||||
<div className="flex justify-between w-full mt-8">
|
||||
<div className="flex gap-4 items-center">
|
||||
<div className="w-16 h-16 border border-mti-gray-platinum bg-mti-gray-smoke flex items-center justify-center rounded-xl">
|
||||
<BsFileEarmarkText className="w-8 h-8 text-mti-blue-light" />
|
||||
<BsFileEarmarkText className="w-8 h-8 text-mti-red-light" />
|
||||
</div>
|
||||
<div className="flex flex-col">
|
||||
<span className="font-bold text-xl">{totalExams(stats)}</span>
|
||||
@@ -112,7 +112,7 @@ export default function Home() {
|
||||
</div>
|
||||
<div className="flex gap-4 items-center">
|
||||
<div className="w-16 h-16 border border-mti-gray-platinum bg-mti-gray-smoke flex items-center justify-center rounded-xl">
|
||||
<BsPencil className="w-8 h-8 text-mti-blue-light" />
|
||||
<BsPencil className="w-8 h-8 text-mti-red-light" />
|
||||
</div>
|
||||
<div className="flex flex-col">
|
||||
<span className="font-bold text-xl">{stats.length}</span>
|
||||
@@ -121,7 +121,7 @@ export default function Home() {
|
||||
</div>
|
||||
<div className="flex gap-4 items-center">
|
||||
<div className="w-16 h-16 border border-mti-gray-platinum bg-mti-gray-smoke flex items-center justify-center rounded-xl">
|
||||
<BsStar className="w-8 h-8 text-mti-blue-light" />
|
||||
<BsStar className="w-8 h-8 text-mti-red-light" />
|
||||
</div>
|
||||
<div className="flex flex-col">
|
||||
<span className="font-bold text-xl">{averageScore(stats)}%</span>
|
||||
@@ -158,7 +158,7 @@ export default function Home() {
|
||||
</div>
|
||||
<div className="pl-14">
|
||||
<ProgressBar
|
||||
color="blue"
|
||||
color="red"
|
||||
label=""
|
||||
percentage={Math.round((user.levels.reading * 100) / user.desiredLevels.reading)}
|
||||
className="w-full h-2"
|
||||
@@ -179,7 +179,7 @@ export default function Home() {
|
||||
</div>
|
||||
<div className="pl-14">
|
||||
<ProgressBar
|
||||
color="blue"
|
||||
color="red"
|
||||
label=""
|
||||
percentage={Math.round((user.levels.writing * 100) / user.desiredLevels.writing)}
|
||||
className="w-full h-2"
|
||||
@@ -200,7 +200,7 @@ export default function Home() {
|
||||
</div>
|
||||
<div className="pl-14">
|
||||
<ProgressBar
|
||||
color="blue"
|
||||
color="red"
|
||||
label=""
|
||||
percentage={Math.round((user.levels.listening * 100) / user.desiredLevels.listening)}
|
||||
className="w-full h-2"
|
||||
@@ -221,7 +221,7 @@ export default function Home() {
|
||||
</div>
|
||||
<div className="pl-14">
|
||||
<ProgressBar
|
||||
color="blue"
|
||||
color="red"
|
||||
label=""
|
||||
percentage={Math.round((user.levels.speaking * 100) / user.desiredLevels.speaking)}
|
||||
className="w-full h-2"
|
||||
|
||||
Reference in New Issue
Block a user