From e3288c0787f0091a410c3c47193c7f7cb82175f8 Mon Sep 17 00:00:00 2001 From: Temmie Date: Wed, 13 Aug 2025 21:23:29 +0200 Subject: [PATCH] feat: update navbar with new content --- components/Guild/GuildNavbar.vue | 95 +++++++++---------- components/MessageArea.vue | 2 + .../[serverId]/channels/[channelId].vue | 16 ++-- public/themes/layout/gorb.css | 1 - types/interfaces.ts | 1 + 5 files changed, 56 insertions(+), 59 deletions(-) diff --git a/components/Guild/GuildNavbar.vue b/components/Guild/GuildNavbar.vue index da5212e..127057f 100644 --- a/components/Guild/GuildNavbar.vue +++ b/components/Guild/GuildNavbar.vue @@ -1,6 +1,20 @@ @@ -12,77 +26,54 @@ const props = defineProps(); \ No newline at end of file diff --git a/components/MessageArea.vue b/components/MessageArea.vue index 26645cd..c3367b7 100644 --- a/components/MessageArea.vue +++ b/components/MessageArea.vue @@ -47,6 +47,8 @@ import { generateIrcColor } from '#imports'; const { getDisplayName } = useProfile() const { fetchMe } = useApi() +// TODO this file is a mess, and we need to stop using fetchWithApi + const props = defineProps<{ channelUrl: string, amount?: number, offset?: number }>(); const me = await fetchMe() as UserResponse; diff --git a/pages/servers/[serverId]/channels/[channelId].vue b/pages/servers/[serverId]/channels/[channelId].vue index 74466b9..b6ed93f 100644 --- a/pages/servers/[serverId]/channels/[channelId].vue +++ b/pages/servers/[serverId]/channels/[channelId].vue @@ -3,8 +3,9 @@
+ v-if="guild && channel" + :guild="guild" + :channel="channel"/>
@@ -15,14 +16,17 @@