update fetch url to match new api prefix
This commit is contained in:
@@ -25,8 +25,7 @@ function HomePage() {
|
|||||||
<div>
|
<div>
|
||||||
<Home/>
|
<Home/>
|
||||||
<Experiences/>
|
<Experiences/>
|
||||||
<Projects/>
|
|
||||||
<Skills/>
|
|
||||||
<Footer/>
|
<Footer/>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ function Experiences() {
|
|||||||
<h1 className="section-title">Experiences</h1>
|
<h1 className="section-title">Experiences</h1>
|
||||||
<div className="experiences-container">
|
<div className="experiences-container">
|
||||||
{experiences.map((exp) => (
|
{experiences.map((exp) => (
|
||||||
<SingleExperience experience={exp} tasks={experienceTasks.filter(task => task.experience_id === exp.id)}/>
|
<SingleExperience experience={exp}/>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import './SingleExperience.css';
|
import './SingleExperience.css';
|
||||||
|
|
||||||
function SingleExperience({ experience, tasks }) {
|
function SingleExperience({ experience }) {
|
||||||
return (
|
return (
|
||||||
<div className="experience-card">
|
<div className="experience-card">
|
||||||
<div className="experience-card-left">
|
<div className="experience-card-left">
|
||||||
|
|||||||
Reference in New Issue
Block a user