Skip to content

Commit 90a9340

Browse files
author
vikasrohit
authored
Merge pull request #4293 from appirio-tech/feature/add_msg_for_taas_projects
Added description for TaaS redirection button
2 parents ea20e9b + 388e4d3 commit 90a9340

File tree

3 files changed

+40
-7
lines changed

3 files changed

+40
-7
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ workflows:
128128
- build-dev
129129
filters:
130130
branches:
131-
only: ['dev']
131+
only: ['dev', 'feature/add_msg_for_taas_projects']
132132

133133
- deployTest01:
134134
context : org-global

src/projects/detail/components/TaasProjectWelcome/TaasProjectWelcome.jsx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,13 @@ import './TaasProjectWelcome.scss'
55
const TaasProjectWelcome = ({ projectId }) => {
66
const url = `${TAAS_APP_URL}/myteams/${projectId}`
77
return (
8-
<div styleName="container">
9-
<a href={url} className="tc-btn tc-btn-lg tc-btn-primary">Go to your Talent Team</a>
8+
<div>
9+
<div styleName="text-container">
10+
<p>This is a Talent as a Service project. Click this button to navigate to a TaaS focused experience where you can get information specific to your TaaS team.</p>
11+
</div>
12+
<div styleName="container">
13+
<a href={url} className="tc-btn tc-btn-lg tc-btn-primary">Go to your Talent Team</a>
14+
</div>
1015
</div>
1116
)
1217
}

src/projects/detail/components/TaasProjectWelcome/TaasProjectWelcome.scss

Lines changed: 32 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,39 @@
55
align-items: center;
66
display: flex;
77
justify-content: center;
8-
height: 400px;
8+
height: 100px;
99

1010
:global(.tc-btn-lg) {
11-
height: 70px;
12-
line-height: 68px;
13-
font-size: 30px;
11+
height: 50px;
12+
line-height: 48px;
13+
font-size: 20px;
1414
}
15+
1516
}
17+
18+
.text-container {
19+
@include stand-alone-item-shadow;
20+
background-color: $tc-white;
21+
border-radius: $card-border-radius;
22+
margin-top: 4 * $base-unit;
23+
padding: 5 * $base-unit;
24+
25+
@media screen and (max-width: $screen-md - 1px) {
26+
border-radius: 0;
27+
}
28+
29+
p {
30+
@include roboto;
31+
font-size: 15px;
32+
margin-top: 3 * $base-unit;
33+
line-height: 25px;
34+
35+
b {
36+
font-weight: bold;
37+
}
38+
39+
i {
40+
font-style: italic;
41+
}
42+
}
43+
}

0 commit comments

Comments
 (0)