diff --git a/src/components/atoms/IconLinks/IconLinks.test.tsx b/src/components/atoms/IconLinks/IconLinks.test.tsx index 8ba1d59..5bfb814 100644 --- a/src/components/atoms/IconLinks/IconLinks.test.tsx +++ b/src/components/atoms/IconLinks/IconLinks.test.tsx @@ -12,7 +12,8 @@ const labels: { [key: string]: string } = { LinkedInIconLink: 'LinkedIn-button', AcademyIconLink: 'Academy-button', VideoIconLink: 'Video-button', - ExtrernalIconLink: 'External-link-button', + ExternalIconLink: 'External-link-button', + ExternalAppIconLink: 'External-app-button', } vi.stubGlobal('open', vi.fn()) diff --git a/src/components/atoms/IconLinks/IconLinks.tsx b/src/components/atoms/IconLinks/IconLinks.tsx index 09008d6..2994577 100644 --- a/src/components/atoms/IconLinks/IconLinks.tsx +++ b/src/components/atoms/IconLinks/IconLinks.tsx @@ -1,4 +1,4 @@ -import { Email, LinkedIn, GitHub, Description, OndemandVideo, School, OpenInNew } from '@mui/icons-material' +import { Email, LinkedIn, GitHub, Description, OndemandVideo, School, OpenInNew, OpenInBrowser } from '@mui/icons-material' import { Badge, IconButtonProps, SvgIcon } from '@mui/material' import IconButton from '../IconButton' @@ -41,4 +41,5 @@ export const GitHubIconLink = (props: IconLinkProps) => export const AcademyIconLink = (props: IconLinkProps) => export const VideoIconLink = (props: IconLinkProps) => -export const ExtrernalIconLink = (props: IconLinkProps) => +export const ExternalIconLink = (props: IconLinkProps) => +export const ExternalAppIconLink = (props: IconLinkProps) => diff --git a/src/components/atoms/Publication/Publication.tsx b/src/components/atoms/Publication/Publication.tsx index fdb61bb..d02dafa 100644 --- a/src/components/atoms/Publication/Publication.tsx +++ b/src/components/atoms/Publication/Publication.tsx @@ -1,6 +1,6 @@ import React from 'react' import { Box, SxProps, Theme, Typography, TypographyProps } from '@mui/material' -import { ExtrernalIconLink } from '..' +import { ExternalIconLink } from '..' type AwardEntryProps = { year: string | number @@ -26,9 +26,7 @@ const Publication = ({ Component = Box, ...props }: AwardEntryProps) => { {props.title} , In: {props.location} - {typeof props.link !== 'undefined' && ( - - )} + {typeof props.link !== 'undefined' && } diff --git a/src/components/pages/MainPage/MainPage.tsx b/src/components/pages/MainPage/MainPage.tsx index 4673bff..ffe67ce 100644 --- a/src/components/pages/MainPage/MainPage.tsx +++ b/src/components/pages/MainPage/MainPage.tsx @@ -2,7 +2,7 @@ import React from 'react' import { Box, Typography } from '@mui/material' import { ViewportProvider } from 'components/utils/viewport' -import { AcademyIconLink, DescriptionIconLink, GitHubIconLink, VideoIconLink } from 'components/atoms' +import { AcademyIconLink, DescriptionIconLink, ExternalAppIconLink, GitHubIconLink, VideoIconLink } from 'components/atoms' import { Footer, Hero, Toobar, ProjectSpotlight } from 'components/molecules' const MainPage = () => { @@ -30,7 +30,7 @@ const MainPage = () => { caption={ <> - + Software Engineer @ IIT @@ -54,7 +54,8 @@ const MainPage = () => { caption={ <> - + + Software Engineer @ IIT @@ -76,7 +77,7 @@ const MainPage = () => { caption={ <> - + Embedded Engineer @ IIT @@ -103,7 +104,7 @@ const MainPage = () => { fontSize="small" href="https://drive.google.com/file/d/1wBfvAzy9N8uChNxNj9Kd_hcvI0Qq3uQj/view?usp=sharing" /> - + Master Thesis @ WUT diff --git a/src/components/pages/ProjectsPage/ProjectsPage.tsx b/src/components/pages/ProjectsPage/ProjectsPage.tsx index 88ac884..6c3475c 100644 --- a/src/components/pages/ProjectsPage/ProjectsPage.tsx +++ b/src/components/pages/ProjectsPage/ProjectsPage.tsx @@ -1,6 +1,6 @@ import { Box, Divider, Link, Typography } from '@mui/material' -import { GitHubIconLink, DescriptionIconLink, VideoIconLink, AcademyIconLink } from 'components/atoms' +import { GitHubIconLink, DescriptionIconLink, VideoIconLink, AcademyIconLink, ExternalAppIconLink } from 'components/atoms' import { Project } from 'components/molecules' import { Page } from 'components/templates' @@ -28,7 +28,7 @@ const ProjectsPage = () => { sx={{ color: 'text.secondary' }} /> {/* */} - + Software Engineer @ IIT @@ -50,7 +50,8 @@ const ProjectsPage = () => { Software Engineer @ IIT - + + Software Engineer @ IIT @@ -76,7 +77,7 @@ const ProjectsPage = () => { href="https://drive.google.com/file/d/1wBfvAzy9N8uChNxNj9Kd_hcvI0Qq3uQj/view?usp=sharing" sx={{ color: 'text.secondary' }} /> - + Master Thesis @ WUT @@ -245,7 +246,7 @@ const ProjectsPage = () => { href="https://github.com/ADVRHumanoids/motor_calibration" sx={{ color: 'text.secondary' }} /> - + Embedded Engineer @ IIT @@ -272,7 +273,7 @@ const ProjectsPage = () => { href="https://drive.google.com/file/d/0B1z42QMR-0UtYzBYSVhRV3ZPWk0/view?usp=sharing" sx={{ color: 'text.secondary' }} /> - + Bachelor Thesis @ TONGJI @@ -294,7 +295,7 @@ const ProjectsPage = () => { href="https://drive.google.com/file/d/0B1z42QMR-0UtSkxRVzJPTk1IX0k/view?usp=sharing" sx={{ color: 'text.secondary' }} /> - + Bachelor Thesis @ UNIBO