-
-
- {{ server?.name }}
-
-
-
-
-
-
-
-
+
+ {{ server?.name }}
+
+
+
();
const channel = ref();
const showInvitePopup = ref(false);
+const showGuildSettings = ref(false);
import type { ChannelResponse, GuildResponse, MessageResponse } from "~/types/interfaces";
@@ -72,7 +65,10 @@ onMounted(async () => {
console.log("channelid: set loading to false");
});
-function showGuildSettings() { }
+function toggleGuildSettings(e: Event) {
+ e.preventDefault();
+ showGuildSettings.value = !showGuildSettings.value;
+}
function toggleInvitePopup(e: Event) {
e.preventDefault();
@@ -132,4 +128,24 @@ function toggleInvitePopup(e: Event) {
text-overflow: ellipsis;
}
+#server-name-container {
+ padding-top: 3dvh;
+ padding-bottom: 3dvh;
+ display: flex;
+ justify-content: center;
+ position: relative;
+}
+
+#server-name {
+ font-size: 1.5em;
+}
+
+#server-settings-button {
+ background-color: transparent;
+ font-size: 1em;
+ color: white;
+ border: none;
+ padding: 0%;
+}
+
\ No newline at end of file
diff --git a/pages/settings.vue b/pages/settings.vue
deleted file mode 100644
index 5db18fe..0000000
--- a/pages/settings.vue
+++ /dev/null
@@ -1,159 +0,0 @@
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/public/favicon.ico b/public/favicon.ico
index b3d28fa..18993ad 100644
Binary files a/public/favicon.ico and b/public/favicon.ico differ
diff --git a/types/interfaces.ts b/types/interfaces.ts
index e451a4b..1aba1bc 100644
--- a/types/interfaces.ts
+++ b/types/interfaces.ts
@@ -58,8 +58,6 @@ export interface UserResponse {
username: string,
display_name: string | null,
avatar: string | null,
- pronouns: string | null,
- about: string | null,
email?: string,
email_verified?: boolean
}