diff --git a/components/Modal/ProfilePopup.vue b/components/Modal/ProfilePopup.vue index 5f674fb..a558320 100644 --- a/components/Modal/ProfilePopup.vue +++ b/components/Modal/ProfilePopup.vue @@ -15,7 +15,7 @@ {{ pronouns }} -
Status goes here lorem ipsum or something
+
@@ -35,21 +35,21 @@
- + @@ -75,13 +75,17 @@ const username = getUsername(props.profile) const pronouns = getPronouns(props.profile) const aboutMe = getAboutMe(props.profile) -const registrationDate = getRegistrationDate(props.profile)?.toLocaleDateString(undefined, { day: '2-digit', month: 'short', year: 'numeric' }) -const joinDate = getGuildJoinDate(props.profile)?.toLocaleDateString(undefined, { day: '2-digit', month: 'short', year: 'numeric' }) -const friendsSince = friendsSinceRequest?.toLocaleDateString(undefined, { day: '2-digit', month: 'short', year: 'numeric' }) +const registrationDate = getRegistrationDate(props.profile) +const joinDate = getGuildJoinDate(props.profile) +const friendsSince = friendsSinceRequest const uuid = getUuid(props.profile) const me = await fetchMe() as UserResponse +function toDateString(date: Date): string { + return date.toLocaleDateString(undefined, { day: '2-digit', month: 'short', year: 'numeric' }) +} + function buttonSendMessage() { navigateTo(`/me/${uuid}`) } @@ -163,7 +167,6 @@ function buttonEditProfile() { } #username-and-pronouns { - margin-top: -0.2em; font-size: .9em; color: var(--secondary-text-color); }