Skip to content

Commit f277bbc

Browse files
Dynamic content.
1 parent d810f9e commit f277bbc

2 files changed

Lines changed: 18 additions & 32 deletions

File tree

dist/index.html

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -61,38 +61,7 @@ <h1 class="mb-0">
6161
<section class="resume-section" id="experience">
6262
<div class="resume-section-content">
6363
<h2 class="mb-5">Experience</h2>
64-
<div class="d-flex flex-column flex-md-row justify-content-between mb-5">
65-
<div class="flex-grow-1">
66-
<h3 class="mb-0">Senior Web Developer</h3>
67-
<div class="subheading mb-3">Intelitec Solutions</div>
68-
<p>Bring to the table win-win survival strategies to ensure proactive domination. At the end of the day, going forward, a new normal that has evolved from generation X is on the runway heading towards a streamlined cloud solution. User generated content in real-time will have multiple touchpoints for offshoring.</p>
69-
</div>
70-
<div class="flex-shrink-0"><span class="text-primary">March 2013 - Present</span></div>
71-
</div>
72-
<div class="d-flex flex-column flex-md-row justify-content-between mb-5">
73-
<div class="flex-grow-1">
74-
<h3 class="mb-0">Web Developer</h3>
75-
<div class="subheading mb-3">Intelitec Solutions</div>
76-
<p>Capitalize on low hanging fruit to identify a ballpark value added activity to beta test. Override the digital divide with additional clickthroughs from DevOps. Nanotechnology immersion along the information highway will close the loop on focusing solely on the bottom line.</p>
77-
</div>
78-
<div class="flex-shrink-0"><span class="text-primary">December 2011 - March 2013</span></div>
79-
</div>
80-
<div class="d-flex flex-column flex-md-row justify-content-between mb-5">
81-
<div class="flex-grow-1">
82-
<h3 class="mb-0">Junior Web Designer</h3>
83-
<div class="subheading mb-3">Shout! Media Productions</div>
84-
<p>Podcasting operational change management inside of workflows to establish a framework. Taking seamless key performance indicators offline to maximise the long tail. Keeping your eye on the ball while performing a deep dive on the start-up mentality to derive convergence on cross-platform integration.</p>
85-
</div>
86-
<div class="flex-shrink-0"><span class="text-primary">July 2010 - December 2011</span></div>
87-
</div>
88-
<div class="d-flex flex-column flex-md-row justify-content-between">
89-
<div class="flex-grow-1">
90-
<h3 class="mb-0">Web Design Intern</h3>
91-
<div class="subheading mb-3">Shout! Media Productions</div>
92-
<p>Collaboratively administrate empowered markets via plug-and-play networks. Dynamically procrastinate B2C users after installed base benefits. Dramatically visualize customer directed convergence without revolutionary ROI.</p>
93-
</div>
94-
<div class="flex-shrink-0"><span class="text-primary">September 2008 - June 2010</span></div>
95-
</div>
64+
<div id="experiences"></div>
9665
</div>
9766
</section>
9867
<hr class="m-0" />

dist/js/scripts.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,21 @@ window.addEventListener('DOMContentLoaded', event => {
3131
});
3232
});
3333

34+
const API_URL = 'https://vz6ehbwy56.execute-api.us-east-1.amazonaws.com/Prod/experiences';
35+
fetch(API_URL)
36+
.then(res => res.json())
37+
.then(data => {
38+
data.forEach(job => {
39+
const container = document.getElementById("experiences");
40+
const startDate = `${job.start_month}/${job.start_year}`;
41+
let endDate = "";
42+
if (job.end_month === 0 && job.end_year === 0) {
43+
endDate = "Present";
44+
} else {
45+
endDate = `${job.end_month}/${job.end_year}`;
46+
}
47+
container.innerHTML += `<div class="d-flex flex-column flex-md-row justify-content-between mb-5"><div class="flex-grow-1"><h3 class="mb-0">${job.title}</h3><div class="subheading mb-3">${job.company}</div><p>${job.description}</p></div><div class="flex-shrink-0"><span class="text-primary">${startDate} - ${endDate}</span></div></div>`;
48+
});
49+
});
50+
3451
});

0 commit comments

Comments
 (0)