Skip to content

Commit babec99

Browse files
committed
add about section content and styling
1 parent 8a71d55 commit babec99

File tree

8 files changed

+85
-56
lines changed

8 files changed

+85
-56
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
3939
- normalized buttons' and links' styling
4040
- updated `package.json` commands for macOs
4141
- swipeable CardsColumns.js on mobile
42+
43+
## Unreleased
44+
45+
## Added
46+
47+
- About page content (first section)
48+
49+
### Fixed
50+
51+
- component file structure

components/Title.js

Lines changed: 2 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,7 @@
1-
import TwoColumn from './TwoColumn';
2-
import { white, primary } from '../styles/TwoColumn.module.scss';
31
import styles from '../styles/Title.module.scss';
4-
import Container from './Container';
52

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-
);
3+
const Title = ({ title }) => {
4+
return <h2 className={styles.title}>{title}</h2>;
535
};
546

557
export default Title;

components/TwoColumn.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ export default function TwoColumn({
5151
alt={altTag}
5252
className={styles.img}
5353
layout="fill"
54-
objectFit="cover"
5554
priority
5655
/>
5756
</div>

pages/about.js

Lines changed: 55 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,65 @@
11
import RevealContentContainer from '../components/RevealContentContainer';
22
import Title from '../components/Title';
3+
import TwoColumn from '../components/TwoColumn';
4+
import { white, primary } from '../styles/TwoColumn.module.scss';
5+
import Container from '../components/Container';
36

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

styles/TwoColumn.module.scss

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,24 @@
2424
}
2525
}
2626

27-
&.about-title {
27+
&.about-content {
28+
align-items: center;
29+
padding: 0px;
30+
width: 100%;
31+
2832
.inner__content {
2933
.content {
3034
margin-top: 0;
35+
max-width: fit-content;
3136
}
3237
flex-basis: 70%;
3338
}
3439
.inner__image {
3540
flex-basis: 30%;
41+
max-height: 25rem;
42+
.img {
43+
object-fit: none;
44+
}
3645
}
3746
}
3847

@@ -68,6 +77,7 @@
6877

6978
.img {
7079
border-radius: 0.25rem;
80+
object-fit: cover;
7181
}
7282
}
7383

styles/globals.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ a {
7070
}
7171

7272
.not-found,
73-
.about-us,
7473
.contact-us,
7574
.blog,
7675
.post {
@@ -81,3 +80,8 @@ a {
8180
margin: 10% auto;
8281
align-items: center;
8382
}
83+
84+
.about-us {
85+
margin: 5% auto;
86+
max-width: $large-desktop-breakpoint;
87+
}

0 commit comments

Comments
 (0)