diff --git a/src/components/atoms/IconLinks/IconLinks.tsx b/src/components/atoms/IconLinks/IconLinks.tsx
new file mode 100644
index 0000000..5aa2f2e
--- /dev/null
+++ b/src/components/atoms/IconLinks/IconLinks.tsx
@@ -0,0 +1,41 @@
+import { Email, LinkedIn, GitHub, Description } from '@mui/icons-material'
+import { IconButtonProps } from '@mui/material'
+
+import IconButton from '../IconButton'
+
+interface IconLinkProps extends IconButtonProps {
+ href: string
+ fontSize?: 'small' | 'large' | 'medium' | 'inherit'
+}
+
+export const DescriptionIconLink = ({ href: to, fontSize, ...props }: IconLinkProps) => {
+ return (
+ window.open(to, '_blank')} {...props}>
+
+
+ )
+}
+
+export const EmailIconLink = ({ href: to, fontSize, ...props }: IconLinkProps) => {
+ return (
+ window.open(to, '_blank')} {...props}>
+
+
+ )
+}
+
+export const GitHubIconLink = ({ href: to, fontSize, ...props }: IconLinkProps) => {
+ return (
+ window.open(to, '_blank')} {...props}>
+
+
+ )
+}
+
+export const LinkedInIconLink = ({ href: to, fontSize, ...props }: IconLinkProps) => {
+ return (
+ window.open(to, '_blank')} {...props}>
+
+
+ )
+}
diff --git a/src/components/atoms/IconLinks/index.ts b/src/components/atoms/IconLinks/index.ts
new file mode 100644
index 0000000..5e3a24e
--- /dev/null
+++ b/src/components/atoms/IconLinks/index.ts
@@ -0,0 +1 @@
+export * from './IconLinks'
diff --git a/src/components/atoms/index.ts b/src/components/atoms/index.ts
index fc4fbfa..169cda6 100644
--- a/src/components/atoms/index.ts
+++ b/src/components/atoms/index.ts
@@ -1 +1,2 @@
export { default as IconLinks } from './IconButton'
+export * from './IconLinks'
diff --git a/src/components/molecules/Footer/Footer.tsx b/src/components/molecules/Footer/Footer.tsx
index 0c8a720..f0c3d2c 100644
--- a/src/components/molecules/Footer/Footer.tsx
+++ b/src/components/molecules/Footer/Footer.tsx
@@ -1,27 +1,15 @@
-import { Box, IconButton as MuiIconButton, Stack, Typography, styled } from '@mui/material'
-import { Email as EmailIcon, LinkedIn as LinkedInIcon, GitHub as GitHubIcon } from '@mui/icons-material'
+import { Box, Stack, Typography } from '@mui/material'
-const IconButton = styled(MuiIconButton)(({ theme }) => ({
- ':hover': {
- backgroundColor: 'transparent',
- color: theme.palette.primary.main,
- },
-}))
+import { EmailIconLink, GitHubIconLink, LinkedInIconLink } from 'components/atoms'
const Footer = () => {
const year = new Date().getFullYear()
return (
- window.open('https://www.linkedin.com/in/m-tartari/', '_blank')}>
-
-
- window.open('https://www.github.com/m-tartari/', '_blank')}>
-
-
- window.open('mailto:michele.tartari+web@live.com', '_blank')}>
-
-
+
+
+
© {year} Michele Tartari. All rights reserved.