Skip to content

Commit 8a71d55

Browse files
committed
add basic implementation
1 parent f870408 commit 8a71d55

File tree

8 files changed

+93
-6
lines changed

8 files changed

+93
-6
lines changed

components/Title.js

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
import TwoColumn from './TwoColumn';
2+
import { white, primary } from '../styles/TwoColumn.module.scss';
3+
import styles from '../styles/Title.module.scss';
4+
import Container from './Container';
5+
6+
const Title = () => {
7+
return (
8+
<Container>
9+
<h2 className={styles.title}>About Web Dev Path</h2>
10+
<TwoColumn
11+
content={
12+
<div>
13+
The Web Dev Path project was idealized in 2020 in consequence of
14+
many conversations with aspirant web developers as well as by
15+
considering some personal experiences. When talking to other junior
16+
developers, it was evident the lack of practical experience with
17+
version control in a team dynamic was making their integration in a
18+
professional environment harder. Most of those new graduates used a
19+
version control feature, such as <u>GitHub</u> or <u>Bitbucket</u>,
20+
as a repository for their personal projects where they were the only
21+
participants. So, all that “branch out and PR review” enriching
22+
process was completely unknown to them. That happened to be a
23+
problem either for being considered for “junior” positions and after
24+
being hired because, in most cases, their team lead was a very, very
25+
busy senior developer…
26+
</div>
27+
}
28+
rowOrder="row-reverse"
29+
image="/images/svg/open-square-bracket.svg"
30+
color={primary}
31+
bgColor={white}
32+
customInnerClass="about-title"
33+
/>
34+
<TwoColumn
35+
content={
36+
<div>
37+
Another problem found out is that collaborating with open-source
38+
projects, the way it is possible to gain some version control
39+
experience, can be quite intimidating since there isn’t a clear
40+
mentoring aspect. It can take years for someone to develop “a logic
41+
mindset” that allows solving a problem by using a programming
42+
language, so just going to an open-source project with a list of
43+
available tasks that don’t make any sense won’t cut it.
44+
</div>
45+
}
46+
image="/images/svg/open-angle-bracket.svg"
47+
color={primary}
48+
bgColor={white}
49+
customInnerClass="about-title"
50+
/>
51+
</Container>
52+
);
53+
};
54+
55+
export default Title;

components/TwoColumn.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,11 @@ export default function TwoColumn({
3232
styles={{ flexDirection: rowOrder }}
3333
>
3434
<div className={styles.inner__content}>
35-
<h2 className={styles.title} style={{ color: color }}>
36-
{title}
37-
</h2>
35+
{title && (
36+
<h2 className={styles.title} style={{ color: color }}>
37+
{title}
38+
</h2>
39+
)}
3840
<p className={styles.content}>{content}</p>
3941
{link && (
4042
<ButtonLink link={link} customClassName={customBtnClass}>

pages/about.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1+
import RevealContentContainer from '../components/RevealContentContainer';
2+
import Title from '../components/Title';
3+
14
export default function AboutUs() {
25
return (
36
<div className="about-us">
4-
<h2>About Us</h2>
5-
<p>We're building this page.</p>
6-
<p>Stay tuned!</p>
7+
<RevealContentContainer>
8+
<Title />
9+
</RevealContentContainer>
710
</div>
811
);
912
}
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading

styles/Title.module.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
@use './variables' as *;
2+
@use './mixins' as *;
3+
4+
.title {
5+
margin-top: 0px;
6+
}

styles/TwoColumn.module.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,18 @@
2424
}
2525
}
2626

27+
&.about-title {
28+
.inner__content {
29+
.content {
30+
margin-top: 0;
31+
}
32+
flex-basis: 70%;
33+
}
34+
.inner__image {
35+
flex-basis: 30%;
36+
}
37+
}
38+
2739
.inner__content {
2840
margin-bottom: 5rem;
2941

0 commit comments

Comments
 (0)