dev #14
38
src/App.css
38
src/App.css
@ -1,42 +1,4 @@
|
|||||||
#root {
|
#root {
|
||||||
max-width: 1280px;
|
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 2rem;
|
padding: 2rem;
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.logo {
|
|
||||||
height: 6em;
|
|
||||||
padding: 1.5em;
|
|
||||||
will-change: filter;
|
|
||||||
transition: filter 300ms;
|
|
||||||
}
|
|
||||||
.logo:hover {
|
|
||||||
filter: drop-shadow(0 0 2em #646cffaa);
|
|
||||||
}
|
|
||||||
.logo.react:hover {
|
|
||||||
filter: drop-shadow(0 0 2em #61dafbaa);
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes logo-spin {
|
|
||||||
from {
|
|
||||||
transform: rotate(0deg);
|
|
||||||
}
|
|
||||||
to {
|
|
||||||
transform: rotate(360deg);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (prefers-reduced-motion: no-preference) {
|
|
||||||
a:nth-of-type(2) .logo {
|
|
||||||
animation: logo-spin infinite 20s linear;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.card {
|
|
||||||
padding: 2em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.read-the-docs {
|
|
||||||
color: #888;
|
|
||||||
}
|
}
|
||||||
@ -1,10 +1,45 @@
|
|||||||
|
import '../styles/Experiences.css';
|
||||||
|
import SingleExperience from './SingleExperience';
|
||||||
|
|
||||||
function Experiences() {
|
function Experiences() {
|
||||||
|
const experiencesData = [
|
||||||
|
{
|
||||||
|
id: 1,
|
||||||
|
role: "Web Development Intern",
|
||||||
|
company: "Pandora",
|
||||||
|
duration: "April 2024",
|
||||||
|
location: "Rennes (Ille-et-Vilaine), France",
|
||||||
|
tasks: [
|
||||||
|
"Development of a dynamic website with database integration (HTML, CSS, PHP, SQL)",
|
||||||
|
"Created a reusable interface used as an internal learning resource",
|
||||||
|
"Introduction to GitHub Actions"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 2,
|
||||||
|
role: "IT Support Intern",
|
||||||
|
company: "INRAE",
|
||||||
|
duration: "April 2023",
|
||||||
|
location: "Rennes (Ille-et-Vilaine), France",
|
||||||
|
tasks: [
|
||||||
|
"Introduction to ProxMox Backup and UpdateEngine tools",
|
||||||
|
"Preparation of two workstations",
|
||||||
|
"Setup of a Wi-Fi hotspot using a Raspberry Pi",
|
||||||
|
"Installation of a RAID 1 system"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<section id="experiences-section">
|
<section id="experiences-section">
|
||||||
<h1>Experiences</h1>
|
<h1>Expériences</h1>
|
||||||
|
<div className="experiences-container">
|
||||||
|
{experiencesData.map((exp, index) => (
|
||||||
|
<SingleExperience experience={exp} whichSide={index % 2 !== 0}/>
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
</section>
|
</section>
|
||||||
)
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export default Experiences;
|
||||||
export default Experiences
|
|
||||||
|
|||||||
23
src/components/SingleExperience.jsx
Normal file
23
src/components/SingleExperience.jsx
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
import '../styles/SingleExperience.css';
|
||||||
|
|
||||||
|
function SingleExperience({ experience, whichSide }) {
|
||||||
|
return (
|
||||||
|
<div className={`experience-card ${whichSide ? 'right' : 'left'}`}>
|
||||||
|
<div className="experience-card-header">
|
||||||
|
<div className="experience-primary-info">
|
||||||
|
<h3 className="experience-role">{experience.role}</h3>
|
||||||
|
<p className="experience-company-location">
|
||||||
|
{experience.company} • {experience.location}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<p className="experience-duration">{experience.duration}</p>
|
||||||
|
</div>
|
||||||
|
<ul className="experience-tasks">
|
||||||
|
{experience.tasks.map((task, index) => (
|
||||||
|
<li key={index}>{task}</li>
|
||||||
|
))}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
export default SingleExperience;
|
||||||
@ -16,7 +16,7 @@ function SingleProject({image, title, description, skills, color}) {
|
|||||||
</p>
|
</p>
|
||||||
<ul className="single-project-skills-list">
|
<ul className="single-project-skills-list">
|
||||||
{skills.map(skill => (
|
{skills.map(skill => (
|
||||||
<li key={skill}><SkillCard text={skill}/></li>
|
<li><SkillCard text={skill}/></li>
|
||||||
))}
|
))}
|
||||||
</ul>
|
</ul>
|
||||||
<p className="single-project-link">
|
<p className="single-project-link">
|
||||||
|
|||||||
@ -2,25 +2,9 @@
|
|||||||
font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
|
font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
|
|
||||||
color-scheme: light dark;
|
|
||||||
color: rgba(255, 255, 255, 0.87);
|
|
||||||
background-color: #121212;
|
background-color: #121212;
|
||||||
|
|
||||||
font-synthesis: none;
|
|
||||||
text-rendering: optimizeLegibility;
|
|
||||||
-webkit-font-smoothing: antialiased;
|
|
||||||
-moz-osx-font-smoothing: grayscale;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
|
||||||
font-weight: 500;
|
|
||||||
color: #646cff;
|
|
||||||
text-decoration: inherit;
|
|
||||||
}
|
|
||||||
a:hover {
|
|
||||||
color: #535bf2;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@ -33,36 +17,10 @@ body {
|
|||||||
h1 {
|
h1 {
|
||||||
font-size: 3.2em;
|
font-size: 3.2em;
|
||||||
line-height: 1.1;
|
line-height: 1.1;
|
||||||
|
color: #EAEAEA;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
h2{
|
||||||
border-radius: 8px;
|
color: #EAEAEA;
|
||||||
border: 1px solid transparent;
|
|
||||||
padding: 0.6em 1.2em;
|
|
||||||
font-size: 1em;
|
|
||||||
font-weight: 500;
|
|
||||||
font-family: inherit;
|
|
||||||
background-color: #1a1a1a;
|
|
||||||
cursor: pointer;
|
|
||||||
transition: border-color 0.25s;
|
|
||||||
}
|
|
||||||
button:hover {
|
|
||||||
border-color: #646cff;
|
|
||||||
}
|
|
||||||
button:focus,
|
|
||||||
button:focus-visible {
|
|
||||||
outline: 4px auto -webkit-focus-ring-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (prefers-color-scheme: light) {
|
|
||||||
:root {
|
|
||||||
color: #213547;
|
|
||||||
background-color: #ffffff;
|
|
||||||
}
|
|
||||||
a:hover {
|
|
||||||
color: #747bff;
|
|
||||||
}
|
|
||||||
button {
|
|
||||||
background-color: #f9f9f9;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
25
src/styles/Experiences.css
Normal file
25
src/styles/Experiences.css
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
#experiences-section {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
margin-top: 5rem;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.experiences-container {
|
||||||
|
width: 90%;
|
||||||
|
position: relative;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.experiences-container::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
transform: translateX(-50%);
|
||||||
|
width: 2px;
|
||||||
|
height: 100%;
|
||||||
|
background-color: rgba(176, 176, 176, 0.2);
|
||||||
|
}
|
||||||
78
src/styles/SingleExperience.css
Normal file
78
src/styles/SingleExperience.css
Normal file
@ -0,0 +1,78 @@
|
|||||||
|
.experience-card {
|
||||||
|
position: relative;
|
||||||
|
width: 50%;
|
||||||
|
margin-bottom: 3rem;
|
||||||
|
box-sizing: border-box;
|
||||||
|
border-radius: 12px;
|
||||||
|
background-color: rgba(255, 255, 255, 0.03);
|
||||||
|
transition: all 0.3s ease;
|
||||||
|
padding: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.experience-card.left {
|
||||||
|
align-self: flex-start;
|
||||||
|
border-left: 3px solid #D95F46;
|
||||||
|
}
|
||||||
|
|
||||||
|
.experience-card.right {
|
||||||
|
align-self: flex-end;
|
||||||
|
border-right: 3px solid #D95F46;
|
||||||
|
}
|
||||||
|
|
||||||
|
.experience-card:hover {
|
||||||
|
transform: translateY(-5px);
|
||||||
|
background-color: rgba(255, 255, 255, 0.05);
|
||||||
|
}
|
||||||
|
|
||||||
|
.experience-card-header {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: flex-start;
|
||||||
|
gap: 1rem;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.experience-primary-info {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.experience-role {
|
||||||
|
font-size: 1.5rem;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #EAEAEA;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
.experience-company-location{
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
.experience-company-location,
|
||||||
|
.experience-duration {
|
||||||
|
font-size: 0.95rem;
|
||||||
|
color: #B0B0B0;
|
||||||
|
margin: 0.25rem 0 0;
|
||||||
|
white-space: nowrap;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.experience-tasks {
|
||||||
|
list-style: none;
|
||||||
|
padding: 0;
|
||||||
|
margin-top: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.experience-tasks li {
|
||||||
|
position: relative;
|
||||||
|
padding-left: 1.2rem;
|
||||||
|
margin-bottom: 0.5rem;
|
||||||
|
color: #B0B0B0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.experience-tasks li::before {
|
||||||
|
content: '›';
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
color: #D95F46;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user