diff --git a/src/Components/Profile/ContactInfo.tsx b/src/Components/Profile/ContactInfo.tsx index 9b397f28..39e9ad2a 100644 --- a/src/Components/Profile/ContactInfo.tsx +++ b/src/Components/Profile/ContactInfo.tsx @@ -5,7 +5,7 @@ const ContactInfo = ({ email, telephone, name, avatar, link }: { email: string, const assetsApi = useAssetApi(); return ( -
+

Du hast Fragen?

{avatar && ( diff --git a/src/Components/Profile/OverlayItemProfile.tsx b/src/Components/Profile/OverlayItemProfile.tsx index ee7ebe92..33b50ffc 100644 --- a/src/Components/Profile/OverlayItemProfile.tsx +++ b/src/Components/Profile/OverlayItemProfile.tsx @@ -275,7 +275,7 @@ export function OverlayItemProfile({ userType }: { userType: string }) { } const typeMapping = { - 'default': 'Würdekompass', + 'wuerdekompass': 'Regional-Gruppe', 'themenkompass': 'Themenkompass-Gruppe', 'liebevoll.jetzt': 'liebevoll.jetzt', }; @@ -294,24 +294,23 @@ export function OverlayItemProfile({ userType }: { userType: string }) { return ( <> {item && - - + <> -
+
navigate("/edit-item/" + item.id)} setPositionCallback={() => { map.closePopup(); setSelectPosition(item); navigate("/") }} big truncateSubname={false} /> - {template == "onepager" && }
{template == "onepager" &&
- +
+ +
{item.user_created.first_name && ( )} @@ -349,15 +348,13 @@ export function OverlayItemProfile({ userType }: { userType: string }) { } {template == "simple" && -
- - +
} {template == "tabs" && -
+
(
-
- {type &&
- {type} +
+ + {status && status != "active" &&
+ {statusMapping[status]}
} - {status && status!="active" &&
- {statusMapping[status]} + {type && type != "Regional-Gruppe" &&
+ {type}
}
diff --git a/src/Components/Profile/SocialShareBar.tsx b/src/Components/Profile/SocialShareBar.tsx index c3bd8cae..b7c8f692 100644 --- a/src/Components/Profile/SocialShareBar.tsx +++ b/src/Components/Profile/SocialShareBar.tsx @@ -2,7 +2,7 @@ import SocialShareButton from './SocialShareButton'; const SocialShareBar = ({url, title, platforms = ['facebook', 'twitter', 'linkedin', 'xing', 'email']}) => { return ( -
+
{platforms.map((platform) => ( { href={finalShareUrl} target='_blank' rel='noopener noreferrer' - className='tw-w-8 tw-h-8 tw-mt-4 tw-rounded-full tw-flex tw-items-center tw-justify-center tw-text-white' + className='tw-w-8 tw-h-8 tw-mt-2 tw-rounded-full tw-flex tw-items-center tw-justify-center tw-text-white' style={{ color: 'white', backgroundColor: bgColor