Skip to content

Commit 1d7d464

Browse files
committed
fix(academy): improved messaging
1 parent 67acf2e commit 1d7d464

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

components/console/ConsoleBadgeNotification.tsx

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,11 @@ export function ConsoleBadgeNotification() {
4141
content={
4242
<div className="flex flex-col items-center justify-center">
4343
<h3 className="text-lg font-bold text-center">
44-
Congratulations!
44+
Console Badges have dropped!
4545
</h3>
46+
<p className="text-sm dark:text-zinc-400 text-gray-500 text-center mt-1 mb-2">
47+
We just launched console badges and your past activity has already earned you {pendingBadges.length === 1 ? "one" : "some"}!
48+
</p>
4649

4750
{pendingBadges.length === 1 ? (
4851
<div className="flex flex-col items-center px-2 py-2 w-[250px]">
@@ -52,9 +55,6 @@ export function ConsoleBadgeNotification() {
5255
width={100}
5356
height={100}
5457
/>
55-
<p className="text-base dark:text-zinc-400 text-gray-500 text-center mt-2">
56-
You earned a new console badge!
57-
</p>
5858
<h3 className="text-base font-bold text-center mt-2">
5959
{pendingBadges[0].name}
6060
</h3>
@@ -64,9 +64,6 @@ export function ConsoleBadgeNotification() {
6464
</div>
6565
) : (
6666
<div className="flex flex-col items-center">
67-
<p className="text-base text-gray-500 text-center mb-4">
68-
{`You earned ${pendingBadges.length} new console badges!`}
69-
</p>
7067
<div className={`grid ${pendingBadges.length > 2 ? "grid-cols-3" : "grid-cols-2"} gap-4`}>
7168
{pendingBadges.map((badge, index) => (
7269
<div key={index} className="flex flex-col items-center px-2 py-2 gap-2 w-[200px]">

0 commit comments

Comments
 (0)