Skip to content

Commit f276c9f

Browse files
committed
changed header level structure in challenge detail
1 parent 0134f6a commit f276c9f

File tree

3 files changed

+29
-29
lines changed

3 files changed

+29
-29
lines changed

src/shared/components/challenge-detail/Header/index.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,9 +261,9 @@ export default function ChallengeHeader(props) {
261261
</div>
262262
<div styleName="prizes-ops-container">
263263
<div styleName="prizes-outer-container">
264-
<h3 styleName="prizes-title">
264+
<h2 styleName="prizes-title">
265265
PRIZES
266-
</h3>
266+
</h2>
267267
<Prizes prizes={prizes && prizes.length ? prizes : [0]} pointPrizes={pointPrizes} />
268268
{
269269
bonusType ? (

src/shared/components/challenge-detail/Specification/SideBar/index.jsx

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,12 @@ DOWNLOADS:
100100
{
101101
!isDesign && !isMM && (
102102
<div>
103-
<h3>
103+
<h2>
104104
REVIEW STYLE:
105-
</h3>
106-
<h4>
105+
</h2>
106+
<h3>
107107
Final Review:
108-
</h4>
108+
</h3>
109109
<span styleName="link-like-paragraph tooltip-container">
110110
{reviewTypeTitle}
111111
<Tooltip content={reviewTip}>
@@ -114,9 +114,9 @@ Final Review:
114114
</div>
115115
</Tooltip>
116116
</span>
117-
<h4>
117+
<h3>
118118
Approval:
119-
</h4>
119+
</h3>
120120
<span styleName="link-like-paragraph tooltip-container">
121121
User Sign-Off
122122
<Tooltip content={approvalTip} className={styles['tooltip-overlay']}>
@@ -131,9 +131,9 @@ Approval:
131131
{
132132
!isMM && (
133133
<div>
134-
<h3>
134+
<h2>
135135
CHALLENGE LINKS:
136-
</h3>
136+
</h2>
137137
{
138138
isDevelop && environment && environment.length > 0
139139
&& (
@@ -181,12 +181,12 @@ Approval:
181181
isDesign
182182
&& (
183183
<div>
184-
<h3>
184+
<h2>
185185
SUBMISSION FORMAT:
186-
</h3>
187-
<h4>
186+
</h2>
187+
<h3>
188188
Your Design Files:
189-
</h4>
189+
</h3>
190190
<ol>
191191
<li>
192192
{'Look for instructions in this challenge regarding what files to provide.'}
@@ -214,9 +214,9 @@ Your Design Files:
214214
Read the FAQ.
215215
</a>
216216
</p>
217-
<h4>
217+
<h3>
218218
Fonts, Stock Photos, and Icons:
219-
</h4>
219+
</h3>
220220
<p styleName="link-like-paragraph">
221221
All fonts, stock photos, and icons within your design must be declared
222222
when you submit. DO NOT include any 3rd party files in your
@@ -227,9 +227,9 @@ Fonts, Stock Photos, and Icons:
227227
here.
228228
</a>
229229
</p>
230-
<h4>
230+
<h3>
231231
Screening:
232-
</h4>
232+
</h3>
233233
<p styleName="link-like-paragraph">
234234
All submissions are screened for eligibility before the challenge
235235
holder picks winners. Don
@@ -250,9 +250,9 @@ t let your hard work go to waste.
250250
</a>
251251
}
252252
</p>
253-
<h3>
253+
<h2>
254254
SOURCE FILES:
255-
</h3>
255+
</h2>
256256
<ul styleName="source-files-list">
257257
{
258258
fileTypes && fileTypes.length > 0
@@ -267,9 +267,9 @@ SOURCE FILES:
267267
<p styleName="link-like-paragraph">
268268
You must include all source files with your submission.
269269
</p>
270-
<h3>
270+
<h2>
271271
SUBMISSION LIMIT:
272-
</h3>
272+
</h2>
273273
<p styleName="link-like-paragraph">
274274
{
275275
submissionLimit
@@ -287,9 +287,9 @@ SUBMISSION LIMIT:
287287
terms.length > 0
288288
&& (
289289
<div>
290-
<h3>
290+
<h2>
291291
CHALLENGE TERMS:
292-
</h3>
292+
</h2>
293293
<div styleName="link-like-paragraph">
294294
{
295295
terms.map(t => (
@@ -308,9 +308,9 @@ CHALLENGE TERMS:
308308
}
309309
{ shareable && (
310310
<div>
311-
<h3>
311+
<h2>
312312
SHARE:
313-
</h3>
313+
</h2>
314314
<ShareSocial />
315315
</div>
316316
)}

src/shared/components/challenge-detail/Specification/SideBar/styles.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
padding-bottom: 7px;
9292
}
9393

94-
h3 {
94+
h2 {
9595
@include roboto-bold;
9696

9797
font-size: 13px;
@@ -100,7 +100,7 @@
100100
padding-bottom: 2px;
101101
}
102102

103-
h4 {
103+
h3 {
104104
@include roboto-bold;
105105

106106
font-size: 13px;
@@ -109,7 +109,7 @@
109109
margin-top: 4 * $base-unit;
110110
}
111111

112-
h4:first-of-type {
112+
h3:first-of-type {
113113
margin-top: 2 * $base-unit;
114114
}
115115

0 commit comments

Comments
 (0)