Skip to content

Commit 4ca5def

Browse files
author
kerbethecoder
committed
update projects section; fix on timeline section
1 parent 3ff80e0 commit 4ca5def

File tree

6 files changed

+40
-27
lines changed

6 files changed

+40
-27
lines changed

src/components/Timeline.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const Timeline = () => {
1717
second: {
1818
duration: "June 2022 - August 2022",
1919
title: "ON-THE-JOB TRAINING",
20-
work: "Working with two senior developers, I went through mini-tasks they gave me, such as reducing a complex code block to a brief one, and other front-end development-related work. Throughout the course of the job, I also get more knowledge about git version control. I also got a taste of what back-end development is all about and came across PHP, but I didn't stick around in that assignment for very long because of the intricate code used by the company. On the other hand, I now understand what developers do within a corporation, including but not limited to the necessary daily standup meetings.",
20+
work: "Working with two senior developers, I went through mini-tasks they gave me, such as reducing a complex code block to a brief one, and other front-end development-related work. Throughout the course of the job, I also get more knowledge about git version control. I also got a taste of what back-end development is all about and came across PHP, but I didn't stick around in that assignment for very long because of the intricate code used by the company. On the other hand, I now understand what developers do within a corporation, including but not limited to the necessary daily standup meetings.",
2121
},
2222
third: {
2323
duration: "August 2021 - October 2021",
@@ -38,7 +38,7 @@ const Timeline = () => {
3838
</h2>
3939

4040
{Object.keys(experiences).map((key, index) => (
41-
<div className="hiddenElem flex flex-col lg:flex-row lg:px-0 px-5 mb-10">
41+
<div className="hiddenElem flex flex-col lg:flex-row lg:px-0 px-5 mb-10 w-11/12">
4242
<h4
4343
className="tl__duration flex text-[#10100e57] text-xs font-bold italic"
4444
key={index}

src/components/projects/Card.jsx

+17-18
Original file line numberDiff line numberDiff line change
@@ -16,26 +16,25 @@ const Card = ({
1616
})
1717

1818
return (
19-
<div className="card flex flex-col items-center rounded mt-5 py-5 w-5/6">
20-
<div className="hiddenElem card__img h-52 w-4/5 mb-3 lg:w-3/5 lg:mb-0">
21-
<img
22-
src={imgSrc}
23-
alt={projTitle}
24-
className="object-cover h-full rounded"
25-
/>
26-
</div>
27-
28-
<div className="hiddenElem flex gap-3 px-4 flex-col md:w-full">
29-
<div className="flex flex-col-reverse lg:flex-row md:justify-between md:items-center md:gap-2">
30-
<h6 className="text-base font-bold lg:text-xl">{projTitle}</h6>
31-
<div className="flex gap-2">
32-
{github}
33-
{openSite}
34-
</div>
19+
<div className="hiddenElem card rounded mt-5 py-3 px-3 w-10/12 md:w-7/12 lg:w-5/12">
20+
<div className="h-2/5 hiddenElem flex justify-between">
21+
<div className="h-28 w-6/12">
22+
<img
23+
src={imgSrc}
24+
alt={projTitle}
25+
className="object-cover w-full h-full rounded"
26+
/>
3527
</div>
36-
<p className="text-sm lg:text-base lg:pr-2">{projDescription}</p>
37-
<div>{children}</div>
28+
<div className="flex gap-2">
29+
{github}
30+
{openSite}
31+
</div>
32+
</div>
33+
<div className="h-2/5 hiddenElem">
34+
<h6 className="text-base font-bold lg:text-xl">{projTitle}</h6>
35+
<p className="text-sm lg:text-base">{projDescription}</p>
3836
</div>
37+
<div className="h-1/5 hiddenElem flex items-end">{children}</div>
3938
</div>
4039
)
4140
}

src/components/projects/Projects.jsx

+16-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import React, { useEffect } from "react"
33
import { observeHiddenElements } from "../intersectionObserver"
44
import Frameworks from "./Frameworks"
55
import Card from "./Card"
6-
import { rpsGame, mockNetflix } from "../../images"
6+
import { rpsGame, mockNetflix, theNotePad } from "../../images"
77

88
const Projects = () => {
99
useEffect(() => {
@@ -29,7 +29,7 @@ const Projects = () => {
2929
secondProj: {
3030
src: mockNetflix,
3131
title: "MOCK NETFLIX LANDING PAGE",
32-
description: `In order to demonstrate and refine my front-end web development proficiency,
32+
description: `To demonstrate and refine my front-end web development proficiency,
3333
I have crafted a simulated landing page for the renowned streaming platform, "Netflix".`,
3434
github: "https://github.com/kerbethecoder/netflix-react",
3535
siteUrl: "https://mock-netflix-react.vercel.app/",
@@ -38,6 +38,19 @@ const Projects = () => {
3838
two: "TailwindCSS",
3939
},
4040
},
41+
thirdProj: {
42+
src: theNotePad,
43+
title: "The NotePad.",
44+
description: `A website that becomes a repository of tools such as font pairings
45+
and color combinations, and other things that is essential on
46+
my web development journey.`,
47+
github: "https://github.com/kerbethecoder/the-notepad",
48+
siteUrl: "https://the-notepad-by-kerbe.vercel.app/developer",
49+
frameworks: {
50+
one: "NextJS",
51+
two: "TailwindCSS",
52+
},
53+
},
4154
}
4255

4356
return (
@@ -48,7 +61,7 @@ const Projects = () => {
4861
</h2>
4962
<p>Some of the projects on the internet I made so far:</p>
5063

51-
<div className="hiddenElem flexCenter flex-col">
64+
<div className="flexCenter flex-col flex-wrap lg:flex-row gap-10">
5265
{Object.keys(projects).map((key, i) => (
5366
<Card
5467
key={i}

src/images/cards/the-notepad.png

163 KB
Loading

src/images/index.js

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import gatsbyIcon from "./tech-icons/gatsby.svg"
1616
import rpsGame from "./cards/rps-game.png"
1717
import mockNetflix from "./cards/mock-netflix.png"
1818
import avatar from "./avatar.svg"
19+
import theNotePad from "./cards/the-notepad.png"
1920

2021
export {
2122
displayPicture,
@@ -36,4 +37,5 @@ export {
3637
rpsGame,
3738
mockNetflix,
3839
avatar,
40+
theNotePad,
3941
}

src/styles/styles.css

+3-4
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ button ion-icon:hover {
130130
}
131131

132132
.tl__duration {
133-
@apply lg:justify-end lg:text-sm lg:w-4/12 lg:pr-9 lg:pt-4;
133+
@apply lg:justify-end lg:text-sm lg:w-5/12 lg:pr-9 lg:pt-4;
134134
}
135135

136136
.tl__details {
@@ -139,10 +139,9 @@ button ion-icon:hover {
139139
}
140140

141141
.card {
142-
border: 1px solid rgba(26, 26, 26, 0.25);
142+
border: 2px solid rgba(26, 26, 26, 0.25);
143143
transition: transform 0.2s ease-in-out;
144-
@apply md:flex-row md:gap-3 md:pl-5
145-
lg:h-64;
144+
@apply lg:h-80;
146145
}
147146

148147
.card:hover {

0 commit comments

Comments
 (0)