Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit f0d455f

Browse files
committed
Merge pull request #547 from appirio-tech/feature/dashboard-empty-state-copy-change-jess
SUP-2599, Change copy on empty state for dashboard
2 parents e39da2e + 2cdf826 commit f0d455f

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

app/services/emptyState.service.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,15 @@
5858
},
5959
"dashboard-challenges-never-participated": {
6060
title: "My Challenges",
61-
description: "Compete in challenges to win money, test yourself against the world's best, and learn new skills",
62-
helpLinks: [{
61+
description: "Compete in challenges to learn new skills, win cash prizes and test yourself against the world's best",
62+
helpLinks: [ {
63+
title: "Get Started",
64+
url: _getUrl("/getting-started"),
65+
cssClass: "primary-cta tc-btn tc-btn-s"
66+
}, {
6367
title: "Find Challenges",
6468
url: _getUrl("/challenges/?pageIndex=1"),
65-
cssClass: "find-challenges tc-btn tc-btn-s"
66-
}, {
67-
title: "Learn More",
68-
url: _getUrl("/getting-started"),
69-
cssClass: "learn-more"
69+
cssClass: "secondary-cta"
7070
}]
7171
},
7272
"my-challenges-active": {

assets/css/directives/empty-state-placeholder.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,15 @@
6060
display: block;
6161
@include sofia-pro-medium;
6262

63+
// used more generic css class (secondary-cta)
64+
// remove find-challenges class once we are sure that it is not being used in any empty state
65+
&.primary-cta,
6366
&.find-challenges {
6467
}
6568

69+
// used more generic css class (secondary-cta)
70+
// remove learn-more class once we are sure that it is not being used in any empty state
71+
&.secondary-cta,
6672
&.learn-more {
6773
font-size: 12px;
6874
line-height: 12px;

0 commit comments

Comments
 (0)