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

Commit 1b70e3b

Browse files
Welcome banner fixes
1 parent 3f6de3c commit 1b70e3b

File tree

2 files changed

+23
-20
lines changed

2 files changed

+23
-20
lines changed

Diff for: src/components/Banner/index.jsx

+8-12
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const Banner = () => {
1515
{header}
1616

1717
<span
18-
styleName={`chevron ${isExpanded ? "up" : "down"}`}
18+
styleName={`chevron ${isExpanded ? "" : "expanded"}`}
1919
role="button"
2020
tabIndex="0"
2121
onClick={() => setIsExpanded(!isExpanded)}
@@ -26,30 +26,26 @@ const Banner = () => {
2626

2727
{isExpanded && (
2828
<div styleName="content">
29-
<h3>
29+
<p>
3030
Welcome to the Beta version of the new Challenge Listings. During
3131
this Beta phase, we will be fine-tuning the platform based on
3232
feedback we receive from you, our community members.
33-
</h3>
34-
<br />
33+
</p>
3534
<h3>NOTE THAT THIS IS NOT THE FINAL VERSION OF THE SITE.</h3>
36-
<br />
37-
<h3>
35+
<p>
3836
You may encounter occasional broken links or error messages. If so,
3937
please let us know! This is what the Beta phase is intended for, and
4038
your feedback will enable us to greatly improve the new site.{" "}
41-
</h3>
42-
<br />
43-
<h3>
39+
</p>
40+
<p>
4441
You can click on the Feedback button on page or file a github ticket
4542
at{" "}
4643
<a href="http://https://github.com/topcoder-platform/micro-frontends-earn-app/issues/new">
4744
https://github.com/topcoder-platform/micro-frontends-earn-app/issues/new
4845
</a>
4946
.
50-
</h3>
51-
<br />
52-
<h3>Thank you!</h3>
47+
</p>
48+
<p>Thank you!</p>
5349
</div>
5450
)}
5551
</div>

Diff for: src/components/Banner/styles.scss

+15-8
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
border-radius: 10px;
1313
margin-bottom: 22px;
1414
color: $white;
15-
padding-left: 54px;
15+
padding-left: 28px;
1616

1717
.header {
1818
display: flex;
@@ -30,10 +30,7 @@
3030
margin-right: 20px;
3131
margin-top: 5px;
3232

33-
&.up {
34-
}
35-
36-
&.down {
33+
&.expanded {
3734
transform: rotate(180deg);
3835
}
3936

@@ -47,12 +44,22 @@
4744
flex-direction: column;
4845
justify-content: flex-start;
4946
font-size: 16px;
50-
margin-top: 24px;
51-
margin-bottom: 12px;
52-
width: 80%;
47+
margin-bottom: 24px;
48+
width: 85%;
49+
50+
h3 {
51+
font-size: 15px;
52+
font-weight: bold;
53+
margin-top: 15px;
54+
}
55+
56+
p {
57+
margin-top: 15px;
58+
}
5359

5460
a {
5561
text-decoration: underline;
5662
}
63+
5764
}
5865
}

0 commit comments

Comments
 (0)