Skip to content

Commit 0febe4a

Browse files
committed
add {} to secondTextColumn prop
1 parent a9ee839 commit 0febe4a

File tree

1 file changed

+24
-9
lines changed

1 file changed

+24
-9
lines changed

pages/about.js

Lines changed: 24 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
import RevealContentContainer from '@/components/containers/RevealContentContainer';
22
import TwoColumn from '@/components/containers/TwoColumn';
3-
import { white, primary, primaryAccent, lightBgColor } from '@/styles/TwoColumn.module.scss';
3+
import {
4+
white,
5+
primary,
6+
primaryAccent,
7+
lightBgColor,
8+
} from '@/styles/TwoColumn.module.scss';
49
import CardsColumns from '@/components/containers/CardsColumns';
510
import Title from '@/components/snippets/Title';
611
import Container from '@/components/containers/Container';
@@ -138,29 +143,38 @@ export default function AboutUs() {
138143
customInnerClass='wanna-learn-more'
139144
/>
140145
<TwoColumn
141-
title={<div>Junior <br/> Developers</div>}
146+
title={
147+
<div>
148+
Junior <br /> Developers
149+
</div>
150+
}
142151
content={
143152
'If you are a junior web developer looking for some guidance and mentoring, ' +
144153
'we invite you to join us and start coding our platform. ' +
145-
'You will learn how to code in a team environment by following issue\'s ' +
154+
"You will learn how to code in a team environment by following issue's " +
146155
'instructions and submitting your code to our repository through a ' +
147156
'PR while guided throughout the entire process.\n'
148-
}
157+
}
149158
rowOrder='row'
150159
linkText='Our wiki'
151160
link='https://github.com/Web-Dev-Path/web-dev-path/wiki'
152161
customBtnClass='inverted-grey'
153162
color={primary}
154163
bgColor={lightBgColor}
155164
customInnerClass='two-text-columns'
156-
secondTextColumn=
165+
secondTextColumn={
157166
<TwoColumn
158-
title={<div>Experienced <br/> Developers</div>}
159-
content={'If you are an experienced and patient-loving developer, ' +
167+
title={
168+
<div>
169+
Experienced <br /> Developers
170+
</div>
171+
}
172+
content={
173+
'If you are an experienced and patient-loving developer, ' +
160174
'a true rockstar who wants to mentor juniors, ' +
161-
'it will be wonderful to have your help to review those PR\'s, ' +
175+
"it will be wonderful to have your help to review those PR's, " +
162176
'write detailed issues and guide the developers when necessary.\n'
163-
}
177+
}
164178
rowOrder='row'
165179
linkText='Contact us'
166180
link='/contact'
@@ -169,6 +183,7 @@ export default function AboutUs() {
169183
bgColor={lightBgColor}
170184
customInnerClass='second-text-column'
171185
/>
186+
}
172187
/>
173188
</RevealContentContainer>
174189
</div>

0 commit comments

Comments
 (0)