Skip to content

Commit d0ae10b

Browse files
committed
complete styling
1 parent 64ba993 commit d0ae10b

File tree

3 files changed

+73
-19
lines changed

3 files changed

+73
-19
lines changed

pages/about.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,10 @@ export default function AboutUs() {
132132
title='Wanna learn more?'
133133
content={''}
134134
rowOrder='row'
135-
image='/images/svg/semi-colon.svg'
135+
image='/images/svg/close-curly-bracket.svg'
136136
color={primary}
137137
bgColor={lightBgColor}
138-
customInnerClass='our-purpose'
138+
customInnerClass='wanna-learn-more'
139139
/>
140140
<TwoColumn
141141
title={<div>Junior <br/> Developers</div>}
@@ -147,24 +147,24 @@ export default function AboutUs() {
147147
'PR while guided throughout the entire process.\n'
148148
}
149149
rowOrder='row'
150-
linkText='Our Wiki'
150+
linkText='Our wiki'
151151
link='https://github.com/Web-Dev-Path/web-dev-path/wiki'
152152
customBtnClass='inverted-grey'
153153
color={primary}
154154
bgColor={lightBgColor}
155155
customInnerClass='two-text-columns'
156156
secondTextColumn=
157157
<TwoColumn
158-
title='Experienced Developers'
158+
title={<div>Experienced <br/> Developers</div>}
159159
content={'If you are an experienced and patient-loving developer, ' +
160160
'a true rockstar who wants to mentor juniors, ' +
161161
'it will be wonderful to have your help to review those PR\'s, ' +
162162
'write detailed issues and guide the developers when necessary.\n'
163163
}
164164
rowOrder='row'
165-
linkText='Our Wiki'
166-
link='https://github.com/Web-Dev-Path/web-dev-path/wiki'
167-
customBtnClass='inverted-grey'
165+
linkText='Contact us'
166+
link='/contact'
167+
customBtnClass='inverted-grey'
168168
color={primary}
169169
bgColor={lightBgColor}
170170
customInnerClass='second-text-column'
Lines changed: 17 additions & 0 deletions
Loading

styles/TwoColumn.module.scss

Lines changed: 49 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
.wrapper {
55
align-self: stretch;
6+
67
.inner {
78
padding: 5rem 0;
89
margin: 0 auto;
@@ -21,13 +22,15 @@
2122
color: $primary-content-color;
2223
margin: 0;
2324
}
25+
2426
.content {
2527
display: flex;
2628
align-items: center;
2729
margin: 3.875rem 0 2.5rem;
2830
max-width: 39rem;
2931
font-size: 1.5rem;
3032
line-height: 1.938rem;
33+
3134
a {
3235
text-decoration: underline;
3336
text-underline-offset: 2px;
@@ -114,47 +117,81 @@
114117
}
115118
}
116119

120+
&.wanna-learn-more {
121+
.content {
122+
margin: 0;
123+
}
124+
125+
.inner__content{
126+
flex-basis: 70%;
127+
}
128+
129+
.inner__image {
130+
height: 10rem;
131+
flex-basis: 30%;
132+
133+
@include desktop {
134+
height: 20rem;
135+
}
136+
137+
.img {
138+
object-fit: contain;
139+
}
140+
}
141+
}
142+
117143
&.two-text-columns {
118144
justify-content: center;
119-
gap: 170px;
120-
145+
gap: 5rem;
121146

122-
.inner{
147+
.inner {
123148
padding: 0px;
124149
margin: 0px;
125-
126150
}
127151

128-
.inner__content{
152+
.inner__content {
129153
display: flex;
130154
flex-direction: column;
131155
align-items: flex-start;
132-
justify-content: stretch;
133156
}
134157

135-
h2{
158+
h2 {
136159
font-size: 2rem;
137160
line-height: 2.5rem;
138161
}
139162

140-
.inner__content{
141-
width: 400px;
163+
.inner{
164+
margin: 0px;
165+
padding: 0px;
166+
}
167+
168+
.inner__content {
142169
flex-basis: unset;
170+
171+
@include desktop {
172+
width: 400px;
173+
}
143174
}
144175

145-
a{
176+
a {
146177
margin-top: auto;
178+
color: $light-bg-color;
179+
}
180+
181+
a:hover {
182+
color: $primary-content-color;
147183
}
148184
}
149185

150186
&.second-text-column {
151187
height: 100%;
152-
.inner{
188+
width: 100%;
153189

190+
.inner {
154191
height: 100%;
155192
}
156193

157-
.inner__content{
194+
.inner__content {
158195
height: 100%;
159196
}
160197
}

0 commit comments

Comments
 (0)