From b07858fca870983a438c8b16488d77c4ba3ef3f2 Mon Sep 17 00:00:00 2001
From: m-tartari <37861893+m-tartari@users.noreply.github.com>
Date: Mon, 29 Apr 2024 09:54:02 +0200
Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20refactor(contacts):=20upda?=
=?UTF-8?q?te=20email?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/molecules/Footer/Footer.tsx | 2 +-
src/components/molecules/Hero/Hero.tsx | 2 +-
src/components/pages/ContactPage/ContactPage.test.tsx | 2 +-
src/components/pages/ContactPage/ContactPage.tsx | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
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