diff --git a/src/components/molecules/Footer/Footer.tsx b/src/components/molecules/Footer/Footer.tsx index f0c3d2c..308e2df 100644 --- a/src/components/molecules/Footer/Footer.tsx +++ b/src/components/molecules/Footer/Footer.tsx @@ -9,7 +9,7 @@ const Footer = () => { - + © {year} Michele Tartari. All rights reserved. diff --git a/src/components/molecules/Hero/Hero.tsx b/src/components/molecules/Hero/Hero.tsx index 4c913d6..eaaf8df 100644 --- a/src/components/molecules/Hero/Hero.tsx +++ b/src/components/molecules/Hero/Hero.tsx @@ -62,7 +62,7 @@ const Hero = (props: { scrollTarget?: React.ForwardedRef }) = - + { render() await userEvent.click(screen.getByLabelText('Email button')) - expect(open).toHaveBeenCalledWith('mailto:michele.tartari+web@live.com', '_blank') + expect(open).toHaveBeenCalledWith('mailto:info@m-tartari.eu', '_blank') }) test('opens the correct link when the LinkedIn button is clicked', async () => { diff --git a/src/components/pages/ContactPage/ContactPage.tsx b/src/components/pages/ContactPage/ContactPage.tsx index 4ecf1ba..a378033 100644 --- a/src/components/pages/ContactPage/ContactPage.tsx +++ b/src/components/pages/ContactPage/ContactPage.tsx @@ -24,7 +24,7 @@ const ContactPage = () => { - window.open('mailto:michele.tartari+web@live.com', '_blank')}> + window.open('mailto:info@m-tartari.eu', '_blank')}> michele.tartari+web