diff --git a/src/assets/img/Experiences/Body_5_Jackie.png b/src/assets/img/Experiences/Body_5_Jackie.png new file mode 100644 index 0000000..d74c966 Binary files /dev/null and b/src/assets/img/Experiences/Body_5_Jackie.png differ diff --git a/src/assets/img/Experiences/Body_6_Emilie.png b/src/assets/img/Experiences/Body_6_Emilie.png new file mode 100644 index 0000000..93c49cb Binary files /dev/null and b/src/assets/img/Experiences/Body_6_Emilie.png differ diff --git a/src/assets/img/Experiences/Body_6_Linda.png b/src/assets/img/Experiences/Body_6_Linda.png new file mode 100644 index 0000000..6318509 Binary files /dev/null and b/src/assets/img/Experiences/Body_6_Linda.png differ diff --git a/src/assets/img/Experiences/Guillemets.png b/src/assets/img/Experiences/Guillemets.png new file mode 100644 index 0000000..8bbf89f Binary files /dev/null and b/src/assets/img/Experiences/Guillemets.png differ diff --git a/src/components/Experiences/Experience.css b/src/components/Experiences/Experience.css new file mode 100644 index 0000000..0c94769 --- /dev/null +++ b/src/components/Experiences/Experience.css @@ -0,0 +1,13 @@ +.bloc{ + display: block; + overflow: hidden; +} +.name{ + font-weight: bold; + font-size: 22px; +} +.metier +{ + font-size:17px; + overflow: hidden; +} \ No newline at end of file diff --git a/src/components/Experiences/ExperienceButton.tsx b/src/components/Experiences/ExperienceButton.tsx new file mode 100644 index 0000000..a06700b --- /dev/null +++ b/src/components/Experiences/ExperienceButton.tsx @@ -0,0 +1,59 @@ +import { Button } from "@mui/material"; +import { Colors } from "../../core/colors"; +import { SHAKE } from "../../core/animations"; + +export default function ExperienceButton(props: CTAButtonProps) { + return ( + + ) +} + +export interface CTAStyleProps { + width: string; + height: string; + fontSize?: string; + fontWeight?: string; +} + +export interface CTAButtonProps { + href: string; + children: React.ReactNode; + style?: CTAStyleProps; + +} \ No newline at end of file diff --git a/src/components/Experiences/ExperienceCard.tsx b/src/components/Experiences/ExperienceCard.tsx new file mode 100644 index 0000000..8edef01 --- /dev/null +++ b/src/components/Experiences/ExperienceCard.tsx @@ -0,0 +1,121 @@ +import { Box, Link, Rating } from "@mui/material" +import { Colors} from "../../core/colors"; +import "./Experience.css" + + +export default function ExperienceCard({ experience, key }: Props,) + { + + return ( + + + + + + + + +

{experience.title}

+
+ + «{experience.commentary}» + + + + {'${experience.title}'} +
+
+ {experience.username} +
+
+ {experience.metier}
+ {experience.specialite} +
+
+
+ + + + +
+ + ) +} + + + +export interface ExperienceProps { + + imageUrl?: string, + title?: string, + commentary?: string , + username?: string, + rating?: number, + metier?: string, + specialite?: string +} + +interface Props { + experience: ExperienceProps + key: number +} \ No newline at end of file diff --git a/src/components/Experiences/ExperienceCarousel.tsx b/src/components/Experiences/ExperienceCarousel.tsx new file mode 100644 index 0000000..e3c3309 --- /dev/null +++ b/src/components/Experiences/ExperienceCarousel.tsx @@ -0,0 +1,75 @@ +import { Box } from '@mui/system'; +import Slider from 'react-slick'; +import "slick-carousel/slick/slick.css"; +import "slick-carousel/slick/slick-theme.css"; +import { settings } from '../../core/ui/config/slider'; +import ExperienceCard from './ExperienceCard' +import { experiences } from '../../views/experiences'; +import Experiences from '../Sections/Experiences'; +import NextExperience from '../Experiences/NextExperience'; + +export default function ProjectCarousel() { + + + let settings = { + infinite: true, + slidesToShow: 4, + slidesToScroll: 1, + nextArrow: , + responsive: [ + { + breakpoint: 1750, + settings: { + slidesToShow: 3, + slidesToScroll: 1, + infinite: true, + + } + }, + { + breakpoint: 1460, + settings: { + slidesToShow: 2, + slidesToScroll: 1, + infinite: true, + + } + }, + { + breakpoint: 1070, + settings: { + slidesToShow: 1, + slidesToScroll: 1, + infinite: true, + + } + } + ] + }; + + return ( + + + { + experiences.map((experience, index) => { + return ( + + ) + }) + } + + + ) +} diff --git a/src/components/Experiences/NextExperience.tsx b/src/components/Experiences/NextExperience.tsx new file mode 100644 index 0000000..92063a4 --- /dev/null +++ b/src/components/Experiences/NextExperience.tsx @@ -0,0 +1,29 @@ +import { CustomArrowProps } from 'react-slick' + +export default function NextExperience(props: CustomArrowProps) { + + return ( + + + + ) +} \ No newline at end of file diff --git a/src/components/Sections/Experiences.tsx b/src/components/Sections/Experiences.tsx index 70784ee..bd86070 100644 --- a/src/components/Sections/Experiences.tsx +++ b/src/components/Sections/Experiences.tsx @@ -1,4 +1,58 @@ -import Section from '../Section' +import { Box } from "@mui/material" +import Section from "../../components/Section" +import ExperienceCarousel from "../Experiences/ExperienceCarousel" +import ExperienceButton from "../Experiences/ExperienceButton" + +export default function Experiences() { + return ( + + + +
+

+ + + + +
+ + Je suis motivé(e) + + +
+ +
+
+
+ )} + + +/*import Section from '../Section' export default function Experiences() { return ( @@ -10,4 +64,4 @@ export default function Experiences() { ) -} \ No newline at end of file +}*/ diff --git a/src/views/experiences.ts b/src/views/experiences.ts new file mode 100644 index 0000000..4c724ce --- /dev/null +++ b/src/views/experiences.ts @@ -0,0 +1,49 @@ +import { ExperienceProps } from '../components/Experiences/ExperienceCard' + +/** + * @type {ExperienceProps[]}: List of projects (get by http request) + */ +export const experiences: ExperienceProps[] = [ + { + imageUrl: 'Body_5_Jackie.png', + title: 'Speedy code management', + commentary: 'The handbook significantly improved my code management workflow in days.', + username:"JackieChan", + rating: 5, + metier:"Lead Teach", + specialite:"@abcTech", + + }, + { + imageUrl: 'Body_6_Emilie.png', + title: 'Speedy code management', + commentary: 'The handbook significantly improved my code management workflow in days.', + username:"LindaEvangelista", + rating: 5, + metier:"Senior Cybersecurity Engineer", + specialite:"@QRS solutions", + + }, + { + imageUrl: 'Body_6_Linda.png', + title: 'Speedy code management', + commentary: 'The handbook significantly improved my code management workflow in days.', + username:"EmilieJolie", + rating: 5 , + metier:"Full-stack-developeuse", + specialite:"@UVW Conseil", + + }, + { + imageUrl: 'Body_6_Linda.png', + title: 'Speedy code management', + commentary: 'The handbook significantly improved my code management workflow in days.', + username:"HindaBabboura", + rating: 5, + metier:"DevOps", + specialite:"@Ad systeme ", + + }, + + +]