diff --git a/README.md b/README.md index ecdb2d5..b86a3a8 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,5 @@ # Nuxt Minimal Starter - - Look at the [Nuxt documentation](https://nuxt.com/docs/getting-started/introduction) to learn more. ## Setup diff --git a/app.vue b/app.vue index a0a0ed6..fbc6572 100644 --- a/app.vue +++ b/app.vue @@ -9,31 +9,21 @@ const banner = useState("banner", () => false); -let currentTheme = "dark" // default theme -const savedTheme = localStorage.getItem("selectedTheme"); -if (savedTheme) { - currentTheme = savedTheme; -} - -const baseURL = useRuntimeConfig().app.baseURL; - -useHead({ - link: [ - { - rel: "stylesheet", - href: `${baseURL}themes/${currentTheme}.css` - } - ] -}) \ No newline at end of file diff --git a/components/Channel.vue b/components/Channel.vue index 0f48323..1828641 100644 --- a/components/Channel.vue +++ b/components/Channel.vue @@ -36,6 +36,6 @@ const isCurrentChannel = props.uuid == props.currentUuid; } .current-channel { - background-color: var(--sidebar-highlighted-background-color); + background-color: rgb(70, 70, 70); } \ No newline at end of file diff --git a/components/CropPopup.vue b/components/CropPopup.vue deleted file mode 100644 index 12c3a0b..0000000 --- a/components/CropPopup.vue +++ /dev/null @@ -1,93 +0,0 @@ - - - - - diff --git a/components/MemberEntry.vue b/components/MemberEntry.vue deleted file mode 100644 index c77c429..0000000 --- a/components/MemberEntry.vue +++ /dev/null @@ -1,35 +0,0 @@ - - - - - diff --git a/components/Message.vue b/components/Message.vue index e8a91b5..5cd7773 100644 --- a/components/Message.vue +++ b/components/Message.vue @@ -10,8 +10,6 @@ {{ username }} - Yesterday at - {{ date.toLocaleDateString(undefined) }}, {{ date.toLocaleTimeString(undefined, { timeStyle: "short" }) }} @@ -51,7 +49,6 @@ const messageElement = ref(); const dateHidden = ref(true); const date = new Date(props.timestamp); -const currentDate: Date = new Date() console.log("message:", props.text); console.log("author:", props.username); @@ -77,17 +74,6 @@ onMounted(async () => { // showHover.value = !showHover.value; //} -function getDayDifference(date1: Date, date2: Date) { - const midnight1 = new Date(date1.getFullYear(), date1.getMonth(), date1.getDate()); - const midnight2 = new Date(date2.getFullYear(), date2.getMonth(), date2.getDate()); - - const timeDifference = midnight2.getTime() - midnight1.getTime(); - - const dayDifference = timeDifference / (1000 * 60 * 60 * 24); - - return Math.round(dayDifference); -} - \ No newline at end of file diff --git a/components/Settings/AppSettings/Appearance.vue b/components/Settings/AppSettings/Appearance.vue index 3adfda6..135c0a1 100644 --- a/components/Settings/AppSettings/Appearance.vue +++ b/components/Settings/AppSettings/Appearance.vue @@ -1,100 +1,14 @@ + \ No newline at end of file diff --git a/components/Settings/UserSettings/Account.vue b/components/Settings/UserSettings/Account.vue index 5d76a0a..0fe5013 100644 --- a/components/Settings/UserSettings/Account.vue +++ b/components/Settings/UserSettings/Account.vue @@ -1,16 +1,33 @@