diff --git a/components/Guild/ChannelNavbar.vue b/components/Guild/ChannelNavbar.vue deleted file mode 100644 index c490d73..0000000 --- a/components/Guild/ChannelNavbar.vue +++ /dev/null @@ -1,85 +0,0 @@ - - - - - \ No newline at end of file diff --git a/components/Guild/GuildSidebar.vue b/components/Guild/GuildSidebar.vue deleted file mode 100644 index 50c376e..0000000 --- a/components/Guild/GuildSidebar.vue +++ /dev/null @@ -1,91 +0,0 @@ - - - - - diff --git a/components/Guild/MemberEntry.vue b/components/Guild/MemberEntry.vue index 1c7b843..baf0e67 100644 --- a/components/Guild/MemberEntry.vue +++ b/components/Guild/MemberEntry.vue @@ -32,13 +32,7 @@ function hideModalPopup() { diff --git a/components/Guild/MemberList.vue b/components/Guild/MemberList.vue deleted file mode 100644 index 9b4fa19..0000000 --- a/components/Guild/MemberList.vue +++ /dev/null @@ -1,47 +0,0 @@ - - - - - \ No newline at end of file diff --git a/components/MessageArea.vue b/components/MessageArea.vue index b93db1c..e2788ae 100644 --- a/components/MessageArea.vue +++ b/components/MessageArea.vue @@ -45,8 +45,6 @@ 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/components/UserInterface/ResizableSidebar.vue b/components/UserInterface/ResizableSidebar.vue index 2ea411b..79e95bd 100644 --- a/components/UserInterface/ResizableSidebar.vue +++ b/components/UserInterface/ResizableSidebar.vue @@ -135,7 +135,8 @@ function loadStoredWidth() { .sidebar-content { width: 100%; - height: 100%; + padding-left: .25em; + padding-right: .25em; } .sidebar-content > :first-child { diff --git a/components/UserInterface/SidebarColumn.vue b/components/UserInterface/SidebarColumn.vue deleted file mode 100644 index f09cee3..0000000 --- a/components/UserInterface/SidebarColumn.vue +++ /dev/null @@ -1,218 +0,0 @@ - - - - - \ No newline at end of file diff --git a/layouts/client.vue b/layouts/client.vue index eb1c524..800a097 100644 --- a/layouts/client.vue +++ b/layouts/client.vue @@ -1,17 +1,59 @@ diff --git a/pages/index.vue b/pages/index.vue index 30e0793..cb5f57e 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -1,4 +1,18 @@ + + \ No newline at end of file +definePageMeta({ + layout: "client" +}); + + + + \ No newline at end of file diff --git a/pages/me/[userId].vue b/pages/me/[userId].vue index 650e14f..209ffab 100644 --- a/pages/me/[userId].vue +++ b/pages/me/[userId].vue @@ -8,14 +8,6 @@ \ No newline at end of file diff --git a/public/themes/layout/gorb.css b/public/themes/layout/gorb.css index de6a0b6..1cee0b4 100644 --- a/public/themes/layout/gorb.css +++ b/public/themes/layout/gorb.css @@ -8,10 +8,6 @@ complementaryColor = white --sidebar-icon-width: 2.5em; --sidebar-icon-gap: .25em; --sidebar-margin: .5em; - - --navbar-height: 5dvh; - --navbar-icon-size: 3dvh; - --navbar-gap: calc(3dvh * .2); --minor-radius: .35em; --standard-radius: .5em; diff --git a/types/interfaces.ts b/types/interfaces.ts index bb6489b..d175d76 100644 --- a/types/interfaces.ts +++ b/types/interfaces.ts @@ -121,22 +121,3 @@ export interface ContextMenuInterface { pointerY: number, items: ContextMenuItem[] } - -export interface NavbarItem { - title: string, - icon: string, - hasPing?: boolean, // whether to draw a "ping" icon or not - callback: (...args: any[]) => any; -} - -export interface INavbar { - guild: GuildResponse - channel: ChannelResponse -} - -export interface NavbarOptions { - guild?: GuildResponse - channel?: ChannelResponse - isDirectMessages?: boolean -} -