new style for experiences section

This commit is contained in:
2025-08-28 00:56:55 +02:00
parent a8a49012b4
commit 0d526c9172
7 changed files with 55 additions and 62 deletions
+2 -4
View File
@@ -4,7 +4,6 @@ import SingleExperience from './SingleExperience';
function Experiences() {
const experiencesData = [
{
id: 1,
role: "Web Development Intern",
company: "Pandora",
duration: "April 2024",
@@ -16,7 +15,6 @@ function Experiences() {
]
},
{
id: 2,
role: "IT Support Intern",
company: "INRAE",
duration: "April 2023",
@@ -34,8 +32,8 @@ function Experiences() {
<section id="experiences-section">
<h1>Experiences</h1>
<div className="experiences-container">
{experiencesData.map((exp, index) => (
<SingleExperience experience={exp} whichSide={index % 2 !== 0}/>
{experiencesData.map((exp) => (
<SingleExperience experience={exp}/>
))}
</div>
</section>