Skip to content

Commit 9cea446

Browse files
Gopal SainiGopal Saini
authored andcommitted
Added latest timeline
1 parent 39535e5 commit 9cea446

File tree

2 files changed

+27
-5
lines changed

2 files changed

+27
-5
lines changed

src/Components/Timeline/Timeline.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import "./_Timeline.scss";
44
interface IProps {
55
title: string
66
bgColor: string
7-
timelines: Array<{ year: number; designation: string, projects: Array<{ name: string, techStack: string, description: string }> }>;
7+
timelines: Array<{ year?: number; designation: string, projects: Array<{ name: string, techStack: string, description: string }> }>;
88
}
99

1010
export const Timeline: React.FC<IProps> = tile => {
@@ -18,7 +18,7 @@ export const Timeline: React.FC<IProps> = tile => {
1818
return [
1919
<div className={idx === 0 ? 'tile-card card-01' : 'tile-card card-02'} key={`tile-card-${timeline.year}`}>
2020
<div className="empty-container"></div>
21-
<h3 className="card-header">{timeline.year}</h3>
21+
{ timeline.year ? <h3 className="card-header">{timeline.year}</h3> : null }
2222
{timeline.designation ? <h4>{timeline.designation}</h4> : null}
2323
{
2424
timeline.projects.map((project: any) => {

src/data/profile.json

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,34 @@
2323
}
2424
],
2525
"tiles": {
26-
"1": {
26+
"0": {
2727
"title": "Career Timeline",
2828
"bgColor": "#F7AF1F",
29+
"timelines": [
30+
{
31+
"designation": "",
32+
"projects": []
33+
},
34+
{
35+
"year": 2022,
36+
"designation": "(Feb 2020 - Present) | Architect Experience Technology, Publicis Sapient (NYC, USA)",
37+
"projects": [
38+
{
39+
"name": "Goldman Sachs | Ayco - Workplace Financial Planning",
40+
"techStack": "HTML5, CSS3, ES6, Typescript, ReactJS, Apollo GraphQL, Webpack, NodeJS, AngularJS, Storybook, Testing-Library, AEM, Elastic Search",
41+
"description": "Goldman Sachs Ayco's - Workplace Financial Planning empowers the entire workforce to achieve financial goals and navigate life events through personalized one-on-one guidance, digital tools and workplace solutions."
42+
}
43+
]
44+
}
45+
]
46+
},
47+
"1": {
48+
"title": "",
49+
"bgColor": "#F7AF1F",
2950
"timelines": [
3051
{
3152
"year": 2020,
32-
"designation": "(Aug 2019 - Present) | Architect Experience Technology, Publicis Sapient (NYC, USA)",
53+
"designation": "(Aug 2019 - Feb 2020) | Architect Experience Technology, Publicis Sapient (NYC, USA)",
3354
"projects": [
3455
{
3556
"name": "Goldman Sachs | DAS - Digital Advisor Solution",
@@ -163,7 +184,8 @@
163184
"Docker",
164185
"Kubernetes",
165186
"C#.NET",
166-
"Crystal Reports"
187+
"Crystal Reports",
188+
"Elastic Search"
167189
],
168190
"certificates": []
169191
}

0 commit comments

Comments
 (0)