Skip to content

Commit f11796f

Browse files
committed
experiences
1 parent af3d4c1 commit f11796f

File tree

7 files changed

+513
-10
lines changed

7 files changed

+513
-10
lines changed

src/app.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
import './app.sass';
2+
import './utils/pictonic.scss';
23
import { h, wait } from './utils/engine';
34
import { logo, intro, intro_text } from './view/intro';
45
import { about, about_name, about_title, down_indicator, about_detail} from './view/about';
56
import { skills } from './view/skill';
7+
import { experiences } from './view/experience';
68
import { MoveOnScroll } from './hoc/moveOnScroll';
79

810
const container = h('div', 'container', intro, about, down_indicator)
@@ -47,4 +49,5 @@ wait(2000)
4749
//add main content
4850
container.appendChild(about_detail(container))
4951
container.appendChild(skills(container))
52+
container.appendChild(experiences(container))
5053
})

src/app.sass

Lines changed: 107 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ body {
1212
1313
*/
1414

15-
h1,h2,h3,h4,h5 {
15+
h1,h2,h3,h4,h5,h6 {
1616
font-family: 'Quicksand', sans-serif;
1717
font-weight: 600;
1818
margin: .5em auto
@@ -22,6 +22,16 @@ h3 {
2222
font-size: 2em;
2323
}
2424

25+
h6 {
26+
font-size: 1.25em;
27+
margin: 0;
28+
}
29+
30+
p {
31+
font-size: 1.5em;
32+
font-family: 'Arimo', sans-serif;
33+
line-height: 1.5em;
34+
}
2535
/*
2636
2737
View
@@ -38,7 +48,7 @@ h3 {
3848
background: #ccc;
3949
overflow-y: scroll;
4050
position: relative;
41-
.btn {
51+
.about-btn {
4252
transition: all .5s;
4353
opacity: 0;
4454
margin-top: 2em;
@@ -52,7 +62,7 @@ h3 {
5262
}
5363
}
5464

55-
.btn:hover {
65+
.about-btn:hover {
5666
background-color: #53dbff;
5767
background-image: linear-gradient(19deg, #65bbf7 0%, #98d2fa 100%);
5868
box-shadow: 5px 5px 12px rgba(194, 195, 195, 0.75);
@@ -198,9 +208,89 @@ h3 {
198208
height: auto;
199209
width: 100%;
200210
margin-top: -15em;
211+
transition: all .5s;
212+
}
213+
214+
&-btn {
215+
font-family: 'Quicksand', sans-serif;
216+
margin-top: 5em !important;
217+
z-index: 1;
201218
}
202219
}
203220

221+
.experiences {
222+
min-height: 60em;
223+
background: #f2f2f2 linear-gradient(to bottom, white 0%, #f2f2f2 100%);
224+
box-shadow: 0px 0px 5em rgba(17, 17, 17, .33);
225+
transform: perspective(1000px);
226+
padding: 8em 0;
227+
color: #111;
228+
position: relative;
229+
230+
&_intro {
231+
max-width: 980px;
232+
width: 60%;
233+
margin: 3em auto;
234+
font-size: 1.5em;
235+
font-family: 'Arimo', sans-serif;
236+
line-height: 1.5em;
237+
color: #4e4e4e;
238+
transition: all .5s;
239+
}
240+
241+
&_content {
242+
margin: 10em auto;
243+
244+
p {
245+
color: #4e4e4e;
246+
font-size: 1em;
247+
line-height: 1.75em;
248+
}
249+
250+
&-item {
251+
margin: 3em auto;
252+
&_date {
253+
padding-top: 1.25em;
254+
255+
&-year {
256+
font-size: 1.75em;
257+
font-weight: 300;
258+
margin: 0 auto;
259+
}
260+
261+
&-month {
262+
font-family: 'Arimo', sans-serif;
263+
font-size: 1em;
264+
margin-right: 3.5em;
265+
text-transform: capitalize;
266+
}
267+
}
268+
}
269+
}
270+
}
271+
272+
.icon-list {
273+
list-style: none;
274+
padding: 0;
275+
font-size: 3em;
276+
margin: .75em auto;
277+
278+
li {
279+
display: inline-block;
280+
margin-right: .5em;
281+
color: #8e8e8e;
282+
background: -webkit-linear-gradient(#8e8e8e, #2f2f2f);
283+
-webkit-background-clip: text;
284+
-webkit-text-fill-color: transparent;
285+
}
286+
287+
li:hover {
288+
color: #af1e2d;
289+
background: -webkit-linear-gradient(#e24f60, #af1e2d);
290+
-webkit-background-clip: text;
291+
-webkit-text-fill-color: transparent;
292+
}
293+
}
204294

205295
@keyframes fadeInTop {
206296
from {
@@ -278,4 +368,18 @@ h3 {
278368

279369
.m-b-5 {
280370
margin-bottom: 5em;
371+
}
372+
373+
.text-grd-red {
374+
color: #af1e2d;
375+
background: -webkit-linear-gradient(#e24f60, #af1e2d);
376+
-webkit-background-clip: text;
377+
-webkit-text-fill-color: transparent;
378+
}
379+
380+
.text-grd-blue {
381+
color: #98d2fa;
382+
background: -webkit-linear-gradient(#98d2fa, #65bbf7);
383+
-webkit-background-clip: text;
384+
-webkit-text-fill-color: transparent;
281385
}

src/hoc/moveOnScroll.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,11 @@ export const moveOnScrollOpacity = (component, opt = {}, withold = 25) =>{
8080
}, opt))
8181
}
8282

83-
export const showOnSeen = (component, container) => {
83+
export const showOnSeen = (component, container, clz = 'visible') => {
8484
return MoveOnScroll(component, {
8585
container,
86-
onVisible: el=>el.classList.add('visible'),
87-
onInvisible: el=>el.classList.remove('visible'),
86+
onVisible: el=>el.classList.add(clz),
87+
onInvisible: el=>el.classList.remove(clz),
8888
max: 0
8989
}, 0)
9090
}

0 commit comments

Comments
 (0)