From cb2a26941145e87ab07bfb0898bf26ab2903f8b9 Mon Sep 17 00:00:00 2001 From: m-tartari <37861893+m-tartari@users.noreply.github.com> Date: Mon, 25 Mar 2024 09:50:39 +0100 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20refactor(projects):=20add?= =?UTF-8?q?=20modular=20external=20link?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/atoms/Publication/Publication.tsx | 6 ++---- src/components/pages/MainPage/MainPage.tsx | 3 ++- src/components/pages/ProjectsPage/ProjectsPage.tsx | 3 ++- 3 files changed, 6 insertions(+), 6 deletions(-) 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 59056db..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 = () => { @@ -54,6 +54,7 @@ const MainPage = () => { caption={ <> + Software Engineer @ IIT diff --git a/src/components/pages/ProjectsPage/ProjectsPage.tsx b/src/components/pages/ProjectsPage/ProjectsPage.tsx index 06399f2..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' @@ -50,6 +50,7 @@ const ProjectsPage = () => { Software Engineer @ IIT + Software Engineer @ IIT