Skip to content

Commit

Permalink
feat(style): update
Browse files Browse the repository at this point in the history
  • Loading branch information
louisgrasset committed Jul 13, 2024
1 parent bd5922f commit 19dce06
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/components/Navigation/Navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
justify-content: space-between;
padding: 4rem 0;


@media screen and (max-width: breakpoints.$md) {
padding-bottom: 1rem;
padding-top: 2rem;
Expand Down Expand Up @@ -180,7 +181,7 @@
position: relative;

&::after {
background-color: colors.$teal;
background-color: colors.$secondary;
bottom: -3rem;
content: '';
height: 0.3rem;
Expand Down
8 changes: 8 additions & 0 deletions src/components/Slider/Slider.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@
padding: 10px 0;
}

&__separator {
margin: 48px auto;
height: 4px;
width: 65%;
border-radius: 4px;
background: rgba(colors.$white, 50%);
}

&__dot {
background: rgba(colors.$teal, 25%);
border: 0;
Expand Down
4 changes: 2 additions & 2 deletions src/components/Slider/Slider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ export function Slider ({ withBreakpoints = false, slides }: SliderProps) {
/>

<Arrow
onClick={(e: any) => e.stopPropagation() || instanceRef.current?.next() }
disabled={ currentSlide === instanceRef.current.track.details.slides.length - 1}
onClick={(e: any) => e.stopPropagation() || instanceRef.current?.next()}
disabled={currentSlide === instanceRef.current.track.details.slides.length - 1}
/>
</>
)}
Expand Down
6 changes: 6 additions & 0 deletions src/sections/Portfolio/Portfolio.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,16 @@ export function Portfolio () {
<div className="section-portfolio__wrapper">
<Header content="Projets de fin d'études"/>
<Slider withBreakpoints slides={slidesForProject(endOfStudyProjects)} />
<div className="slider__separator"/>

<Header content="Projets Bac+5"/>
<Slider withBreakpoints slides={slidesForProject(bacPlus5Projects)} />
<div className="slider__separator"/>

<Header content="Projets Bac+3"/>
<Slider withBreakpoints slides={slidesForProject(bacPlus3Projects)} />
<div className="slider__separator"/>

<Header content="Projets Bac+2"/>
<Slider withBreakpoints slides={slidesForProject(bacPlus2Projects)} />
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/sections/Statistics/Statistics.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export function Statistics() {
[],
);
const experience = useMemo(() => new Date().getFullYear() - 2018, []);
const hardskills = useMemo(() => skills.map((skill) => skill.name), []);
const hardskills = useMemo(() => skills.filter(({ tags }) => tags.length === 1 ? ! tags.includes("soft skills"): true).map((skill) => skill.name), []);
const softskills = [
"Proactif",
"Organisé",
Expand Down

0 comments on commit 19dce06

Please sign in to comment.