From ccae15992c6e6273b4cadc5bdf954a254b2b1a1e Mon Sep 17 00:00:00 2001
From: Ulf Gebhardt
Date: Fri, 21 Feb 2025 12:19:30 +0100
Subject: [PATCH] contactinfo - envelope & phone
---
.../Profile/Subcomponents/ContactInfoView.tsx | 29 +++----------------
1 file changed, 4 insertions(+), 25 deletions(-)
diff --git a/src/Components/Profile/Subcomponents/ContactInfoView.tsx b/src/Components/Profile/Subcomponents/ContactInfoView.tsx
index 3c11e641..dbf0af25 100644
--- a/src/Components/Profile/Subcomponents/ContactInfoView.tsx
+++ b/src/Components/Profile/Subcomponents/ContactInfoView.tsx
@@ -2,6 +2,8 @@
/* eslint-disable @typescript-eslint/no-unsafe-return */
/* eslint-disable @typescript-eslint/restrict-plus-operands */
+import EnvelopeIcon from '@heroicons/react/24/outline/EnvelopeIcon'
+import PhoneIcon from '@heroicons/react/24/outline/PhoneIcon'
import { useEffect, useState } from 'react'
import { Link } from 'react-router-dom'
@@ -48,19 +50,7 @@ export const ContactInfoView = ({ item, heading }: { item: Item; heading: string
href={`mailto:${item.contact}`}
className='tw-mt-2 tw-text-green-500 tw-inline-flex tw-items-center'
>
-
+
{item.contact}
@@ -71,18 +61,7 @@ export const ContactInfoView = ({ item, heading }: { item: Item; heading: string
href={`tel:${item.telephone}`}
className='tw-mt-2 tw-text-green-500 tw-inline-flex tw-items-center tw-whitespace-nowrap'
>
-
+
{item.telephone}