Skip to content

Commit

Permalink
Merge pull request #69 from m-tartari/feat/curriculum/certifications
Browse files Browse the repository at this point in the history
♻️ refactor(curriculum): add certifications
  • Loading branch information
m-tartari authored Mar 29, 2024
2 parents bbe701f + 41a63c0 commit c5d2210
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 17 deletions.
36 changes: 22 additions & 14 deletions src/components/molecules/CurriculumItem/CurriculumItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down Expand Up @@ -60,12 +60,16 @@ const CurriculumItem = (props: CurriculumEntryProps) => {
<Grid item xs={3} component={Typography} variant="h6" color="primary.main" textAlign="right">
{props.dates}
</Grid>
<Grid item xs={9} component={Typography} variant="overline" color="text.secondary">
{props.company}
</Grid>
<Grid item xs={3} component={Typography} variant="subtitle1" color="text.secondary" textAlign="right">
<em>{props.location}</em>
</Grid>
{typeof props.company !== 'undefined' && (
<Grid item xs={9} component={Typography} variant="overline" color="text.secondary">
{props.company}
</Grid>
)}
{typeof props.location !== 'undefined' && (
<Grid item xs={3} component={Typography} variant="subtitle1" color="text.secondary" textAlign="right">
<em>{props.location}</em>
</Grid>
)}
</Grid>
<Box display={{ xs: 'block', sm: 'none' }}>
<Typography variant="subtitle1" color="primary.main">
Expand All @@ -74,12 +78,16 @@ const CurriculumItem = (props: CurriculumEntryProps) => {
<Typography variant="h6">
<b>{props.title}</b>
</Typography>
<Typography variant="button" color="text.secondary">
{props.company}
</Typography>
<Typography variant="subtitle2" color="text.secondary">
<em>{props.location}</em>
</Typography>
{typeof props.company !== 'undefined' && (
<Typography variant="button" color="text.secondary">
{props.company}
</Typography>
)}
{typeof props.location !== 'undefined' && (
<Typography variant="subtitle2" color="text.secondary">
<em>{props.location}</em>
</Typography>
)}
</Box>
</AccordionSummary>
<AccordionDetails>{props.children}</AccordionDetails>
Expand Down
18 changes: 15 additions & 3 deletions src/components/pages/CurriculumPage/CurriculumPage.tsx
Original file line number Diff line number Diff line change
@@ -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 (
<Page title="Curriculum">
<Box component="section" id="robotics">
<Box component="section" id="work">
<Typography variant="h4" color="primary.main" gutterBottom>
Work Experience
</Typography>
Expand Down Expand Up @@ -114,10 +114,22 @@ const Curriculum = () => {
Education
</Typography>

<Typography variant="h5" gutterBottom>
Certifications
</Typography>
{/* id="WUT" */}
<CurriculumItem title="IBM Full Stack Software Developer Professional Certificate" dates="03/24">
<Stack direction="row" alignItems="flex-end">
<Typography>Credential ID: EZ34GWQLRHEG</Typography>
<ExternalIconLink size="small" fontSize="small" href="https://www.coursera.org/account/accomplishments/professional-cert/EZ34GWQLRHEG" />
</Stack>
</CurriculumItem>

<Typography
variant="h5"
onClick={() => window.open('https://master-emaro.ec-nantes.fr/', '_blank')}
sx={{
mt: 2,
cursor: 'pointer',
':hover': {
backgroundColor: 'transparent',
Expand Down

0 comments on commit c5d2210

Please sign in to comment.