diff --git a/components/MessageArea.vue b/components/MessageArea.vue index 0fe702e..17b4a3e 100644 --- a/components/MessageArea.vue +++ b/components/MessageArea.vue @@ -44,11 +44,9 @@ import type { MessageResponse, ScrollPosition, UserResponse } from '~/types/inte import scrollToBottom from '~/utils/scrollToBottom'; import { generateIrcColor } from '#imports'; -const { fetchMe } = useApi() - const props = defineProps<{ channelUrl: string, amount?: number, offset?: number }>(); -const me = await fetchMe() as UserResponse; +const me = await fetchWithApi("/me") as UserResponse; const messageTimestamps = ref>({}); const messagesType = ref>({}); diff --git a/components/Modal/ProfilePopup.vue b/components/Modal/ProfilePopup.vue index 5f674fb..1708c2b 100644 --- a/components/Modal/ProfilePopup.vue +++ b/components/Modal/ProfilePopup.vue @@ -5,119 +5,28 @@
- -
-
{{ displayName }}
-
- {{ username }} - - • - {{ pronouns }} - -
-
Status goes here lorem ipsum or something
- -
- - -
-
- -
-
- - -
-
-
-
- {{ " " + aboutMe }} -
-
-
- - - \ No newline at end of file diff --git a/components/UserInterface/Button.vue b/components/UserInterface/Button.vue index ad4cdb5..90d5d2b 100644 --- a/components/UserInterface/Button.vue +++ b/components/UserInterface/Button.vue @@ -22,12 +22,11 @@ const props = defineProps<{ background-color: var(--primary-color); color: var(--text-color); - padding: 0.35em 0.65em; - font-size: 1em; - + padding: 0.4em 0.75em; + font-size: 1.1em; transition: background-color 0.2s; - border-radius: var(--standard-radius); + border-radius: 0.7rem; text-decoration: none; display: inline-block; diff --git a/components/UserInterface/HorizontalSpacer.vue b/components/UserInterface/HorizontalSpacer.vue deleted file mode 100644 index 9a72645..0000000 --- a/components/UserInterface/HorizontalSpacer.vue +++ /dev/null @@ -1,12 +0,0 @@ - - - diff --git a/components/UserInterface/VerticalSpacer.vue b/components/UserInterface/VerticalSpacer.vue index e3a9322..8ac1bd6 100644 --- a/components/UserInterface/VerticalSpacer.vue +++ b/components/UserInterface/VerticalSpacer.vue @@ -1,9 +1,9 @@