diff --git a/components/MessageArea.vue b/components/MessageArea.vue index 17b4a3e..0fe702e 100644 --- a/components/MessageArea.vue +++ b/components/MessageArea.vue @@ -44,9 +44,11 @@ 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 fetchWithApi("/me") as UserResponse; +const me = await fetchMe() as UserResponse; const messageTimestamps = ref>({}); const messagesType = ref>({}); diff --git a/components/Modal/ProfilePopup.vue b/components/Modal/ProfilePopup.vue index 1708c2b..5f674fb 100644 --- a/components/Modal/ProfilePopup.vue +++ b/components/Modal/ProfilePopup.vue @@ -5,28 +5,119 @@
+ +
+
{{ 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 90d5d2b..ad4cdb5 100644 --- a/components/UserInterface/Button.vue +++ b/components/UserInterface/Button.vue @@ -22,11 +22,12 @@ const props = defineProps<{ background-color: var(--primary-color); color: var(--text-color); - padding: 0.4em 0.75em; - font-size: 1.1em; + padding: 0.35em 0.65em; + font-size: 1em; + transition: background-color 0.2s; - border-radius: 0.7rem; + border-radius: var(--standard-radius); text-decoration: none; display: inline-block; diff --git a/components/UserInterface/HorizontalSpacer.vue b/components/UserInterface/HorizontalSpacer.vue new file mode 100644 index 0000000..9a72645 --- /dev/null +++ b/components/UserInterface/HorizontalSpacer.vue @@ -0,0 +1,12 @@ + + + diff --git a/components/UserInterface/VerticalSpacer.vue b/components/UserInterface/VerticalSpacer.vue index 8ac1bd6..e3a9322 100644 --- a/components/UserInterface/VerticalSpacer.vue +++ b/components/UserInterface/VerticalSpacer.vue @@ -1,9 +1,9 @@