diff --git a/components/Application/UserProfile/UserProfile.tsx b/components/Application/UserProfile/UserProfile.tsx index 4d626a5..32f36ba 100644 --- a/components/Application/UserProfile/UserProfile.tsx +++ b/components/Application/UserProfile/UserProfile.tsx @@ -16,84 +16,94 @@ export const UserProfile: React.FC = (props) => { const { t } = useTranslation() return ( -
-
-
-
-
-
- Profil Picture -
-
-
-

- {user.name} -

-

- {date.format(new Date(user.createdAt), 'DD/MM/YYYY')} -

+ <> +
+
+
+
+
+
+ Profil Picture
-
- {user.email != null && ( -

- Email:{' '} - - {user.email} - +

+
+

+ {user.name}

- )} - {user.website != null && ( -

- {t('application:website')}:{' '} - - {user.website} - +

+ {date.format(new Date(user.createdAt), 'DD/MM/YYYY')}

- )} - {user.status != null && ( -

- {t('application:status')}:{' '} - - {user.status} - -

- )} +
+
+ {user.email != null && ( +

+ Email:{' '} + + {user.email} + +

+ )} + {user.website != null && ( +

+ {t('application:website')}:{' '} + + {user.website} + +

+ )} + {user.status != null && ( +

+ {t('application:status')}:{' '} + + {user.status} + +

+ )} +
-
-
- {user.biography != null &&

{user.biography}

} + {user.biography != null && ( +
+

{user.biography}

+
+ )}
-
+ + + ) }