From 41a63c07127b7bfab77610e1e21b85d5899f0e9e Mon Sep 17 00:00:00 2001
From: m-tartari <37861893+m-tartari@users.noreply.github.com>
Date: Thu, 28 Mar 2024 11:14:31 +0100
Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20refactor(curriculum):=20ad?=
=?UTF-8?q?d=20certifications?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../CurriculumItem/CurriculumItem.tsx | 36 +++++++++++--------
.../pages/CurriculumPage/CurriculumPage.tsx | 18 ++++++++--
2 files changed, 37 insertions(+), 17 deletions(-)
diff --git a/src/components/molecules/CurriculumItem/CurriculumItem.tsx b/src/components/molecules/CurriculumItem/CurriculumItem.tsx
index e51dd8b..5b205df 100644
--- a/src/components/molecules/CurriculumItem/CurriculumItem.tsx
+++ b/src/components/molecules/CurriculumItem/CurriculumItem.tsx
@@ -5,8 +5,8 @@ import { ExpandMore as ExpandIcon } from '@mui/icons-material'
interface CurriculumEntryProps {
title: string
dates: string
- company: string
- location: string
+ company?: string
+ location?: string
children?: React.ReactNode
}
@@ -60,12 +60,16 @@ const CurriculumItem = (props: CurriculumEntryProps) => {
{props.dates}
-
- {props.company}
-
-
- {props.location}
-
+ {typeof props.company !== 'undefined' && (
+
+ {props.company}
+
+ )}
+ {typeof props.location !== 'undefined' && (
+
+ {props.location}
+
+ )}
@@ -74,12 +78,16 @@ const CurriculumItem = (props: CurriculumEntryProps) => {
{props.title}
-
- {props.company}
-
-
- {props.location}
-
+ {typeof props.company !== 'undefined' && (
+
+ {props.company}
+
+ )}
+ {typeof props.location !== 'undefined' && (
+
+ {props.location}
+
+ )}
{props.children}
diff --git a/src/components/pages/CurriculumPage/CurriculumPage.tsx b/src/components/pages/CurriculumPage/CurriculumPage.tsx
index dd2a330..63a0723 100644
--- a/src/components/pages/CurriculumPage/CurriculumPage.tsx
+++ b/src/components/pages/CurriculumPage/CurriculumPage.tsx
@@ -1,13 +1,13 @@
-import { Box, Divider, Link, Table, TableCell, TableRow, Typography } from '@mui/material'
+import { Box, Divider, Link, Stack, Table, TableCell, TableRow, Typography } from '@mui/material'
-import { Award, Extracurricular, Publication } from 'components/atoms'
+import { Award, ExternalIconLink, Extracurricular, Publication } from 'components/atoms'
import { CurriculumItem } from 'components/molecules'
import { Page } from 'components/templates'
const Curriculum = () => {
return (
-
+
Work Experience
@@ -114,10 +114,22 @@ const Curriculum = () => {
Education
+
+ Certifications
+
+ {/* id="WUT" */}
+
+
+ Credential ID: EZ34GWQLRHEG
+
+
+
+
window.open('https://master-emaro.ec-nantes.fr/', '_blank')}
sx={{
+ mt: 2,
cursor: 'pointer',
':hover': {
backgroundColor: 'transparent',