diff --git a/fittrackee_client/src/components/User/ProfileDisplay/UserInfos.vue b/fittrackee_client/src/components/User/ProfileDisplay/UserInfos.vue
new file mode 100644
index 00000000..6ea00ced
--- /dev/null
+++ b/fittrackee_client/src/components/User/ProfileDisplay/UserInfos.vue
@@ -0,0 +1,109 @@
+
+
+
+ - {{ t('user.PROFILE.REGISTRATION_DATE') }}:
+ - {{ registrationDate }}
+
+
+ - {{ t('user.PROFILE.FIRST_NAME') }}:
+ - {{ user.first_name }}
+
+
+ - {{ t('user.PROFILE.LAST_NAME') }}:
+ - {{ user.last_name }}
+
+
+ - {{ t('user.PROFILE.BIRTH_DATE') }}:
+ - {{ birthDate }}
+
+
+ - {{ t('user.PROFILE.LOCATION') }}:
+ - {{ user.location }}
+
+
+ - {{ t('user.PROFILE.BIO') }}:
+ -
+ {{ user.bio }}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/fittrackee_client/src/components/User/Profile.vue b/fittrackee_client/src/components/User/ProfileDisplay/index.vue
similarity index 62%
rename from fittrackee_client/src/components/User/Profile.vue
rename to fittrackee_client/src/components/User/ProfileDisplay/index.vue
index 392d10e4..d434f7c1 100644
--- a/fittrackee_client/src/components/User/Profile.vue
+++ b/fittrackee_client/src/components/User/ProfileDisplay/index.vue
@@ -36,54 +36,25 @@
-
-
- - {{ t('user.PROFILE.REGISTRATION_DATE') }}:
- - {{ registrationDate }}
-
-
- - {{ t('user.PROFILE.FIRST_NAME') }}:
- - {{ user.first_name }}
-
-
- - {{ t('user.PROFILE.LAST_NAME') }}:
- - {{ user.last_name }}
-
-
- - {{ t('user.PROFILE.BIRTH_DATE') }}:
- - {{ birthDate }}
-
-
- - {{ t('user.PROFILE.LOCATION') }}:
- - {{ user.location }}
-
-
- - {{ t('user.PROFILE.BIO') }}:
- -
- {{ user.bio }}
-
-
-
-
-
-
+
+
@@ -195,43 +156,5 @@
}
}
}
-
- .user-infos {
- dl {
- overflow: hidden;
- width: 100%;
- padding: 0 $default-padding;
- dt {
- font-weight: bold;
- float: left;
- width: 25%;
- }
- dd {
- float: left;
- }
- }
- @media screen and (max-width: $x-small-limit) {
- dl {
- overflow: auto;
- width: initial;
- dt {
- font-weight: bold;
- float: none;
- width: initial;
- }
- dd {
- float: none;
- }
- }
- }
-
- .user-bio {
- white-space: pre-wrap;
- }
- .profile-buttons {
- display: flex;
- gap: $default-padding;
- }
- }
}
diff --git a/fittrackee_client/src/views/ProfileView.vue b/fittrackee_client/src/views/ProfileView.vue
index c60abd1a..abc4fd12 100644
--- a/fittrackee_client/src/views/ProfileView.vue
+++ b/fittrackee_client/src/views/ProfileView.vue
@@ -8,7 +8,7 @@