diff --git a/app.vue b/app.vue index c4fbfec..779b87d 100644 --- a/app.vue +++ b/app.vue @@ -10,7 +10,6 @@ - @@ -24,11 +23,8 @@ import "~/styles/index.css"; import { convert } from "html-to-text"; import "iconify-icon"; import ConfirmationModal from "./components/modals/confirm.vue"; -import NotificationsRenderer from "./components/notifications/notifications-renderer.vue"; import { Toaster } from "./components/ui/sonner"; import { SettingIds } from "./settings"; -// Use SSR-safe IDs for Headless UI -provideHeadlessUseId(() => useId()); const code = useRequestURL().searchParams.get("code"); const appData = useAppData(); diff --git a/bun.lockb b/bun.lockb index ce8b05f..c80126d 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/components/notifications/notifications-renderer.vue b/components/notifications/notifications-renderer.vue deleted file mode 100644 index 0e12d39..0000000 --- a/components/notifications/notifications-renderer.vue +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - {{ toast.title }} - {{ - toast.description }} - - - - - - - - - - - - - \ No newline at end of file diff --git a/components/sidebars/account-picker.vue b/components/sidebars/account-picker.vue deleted file mode 100644 index 2401b09..0000000 --- a/components/sidebars/account-picker.vue +++ /dev/null @@ -1,100 +0,0 @@ - - - - - - - - - - - - {{ - identity.account.display_name }} - - - - Change account - - - - - - Sign In - - - - - - Switch to account - - - - - - - - - - - - {{ - identity.account.display_name }} - - - - @{{ - identity.account.acct - }} - - - - - - - - - - - - Settings - - - - - - - Add new account - - - - - - - Create new account - - - - - - - - - \ No newline at end of file diff --git a/components/sidebars/account-switcher.vue b/components/sidebars/account-switcher.vue new file mode 100644 index 0000000..e0974e1 --- /dev/null +++ b/components/sidebars/account-switcher.vue @@ -0,0 +1,152 @@ + + + + + + + AA + + + AB + + + {{ + identity?.account.display_name ?? "Not signed in" + }} + @{{ identity?.account.acct }} + + + + + + + + + + AA + + + {{ + identity.account.display_name + }} + @{{ + identity.account.acct + }} + + + + + Add account + + + + + + + Account + + + + + + Log out + + + + + + \ No newline at end of file diff --git a/components/sidebars/collapsible-aside.vue b/components/sidebars/collapsible-aside.vue deleted file mode 100644 index 3e2624f..0000000 --- a/components/sidebars/collapsible-aside.vue +++ /dev/null @@ -1,41 +0,0 @@ - - - - - \ No newline at end of file diff --git a/components/sidebars/left-sidebar.vue b/components/sidebars/left-sidebar.vue new file mode 100644 index 0000000..87d3913 --- /dev/null +++ b/components/sidebars/left-sidebar.vue @@ -0,0 +1,202 @@ + + + + + + + + + + + + {{ instance?.title ?? 'Versia Server' }} + {{ "A Versia Server instance" }} + + + + + + + + + + Navigation + + + + + + {{ item.name }} + + + + + + + More + + + + + + + {{ item.title }} + + + + + + + + + {{ subItem.title }} + + + + + + + + + + + + + + + + + + + + + + Compose + + + + Update + + + + + + + + + \ No newline at end of file diff --git a/components/sidebars/navigation.vue b/components/sidebars/navigation.vue deleted file mode 100644 index b4abf30..0000000 --- a/components/sidebars/navigation.vue +++ /dev/null @@ -1,223 +0,0 @@ - - - - - - - - - - - - - - - {{ timeline.name }} - - - - - - - - - - loadingAuth = false)" - @sign-out="id => signOut(id).finally(() => loadingAuth = false)"> - - - - - Compose - - - - - \ No newline at end of file diff --git a/components/sidebars/right-sidebar.vue b/components/sidebars/right-sidebar.vue new file mode 100644 index 0000000..d349998 --- /dev/null +++ b/components/sidebars/right-sidebar.vue @@ -0,0 +1,13 @@ + + + + + + + + + + \ No newline at end of file diff --git a/components/sidebars/sidebar.vue b/components/sidebars/sidebar.vue index c84acc0..2ac6fbb 100644 --- a/components/sidebars/sidebar.vue +++ b/components/sidebars/sidebar.vue @@ -1,18 +1,4 @@ - - - - - - - - - - - {{ instance?.title ?? 'Versia Server' }} - {{ "A Versia Server instance" }} - - - - - - - - - - Navigation - - - - - - {{ item.name }} - - - - - - - More - - - - - - - {{ item.title }} - - - - - - - - - {{ subItem.title }} - - - - - - - - - - - - - - - - - - - - - - AA - - - {{ - identity?.account.display_name - }} - @{{ identity?.account.acct }} - - - - - - - - - - AA - - - {{ - identity?.account.display_name - }} - @{{ - identity?.account.acct - }} - - - - - - - - Account - - - - - - Log out - - - - - - - - Compose - - - - - - + @@ -275,11 +45,6 @@ const instance = useInstance(); - - - - - - + diff --git a/nuxt.config.ts b/nuxt.config.ts index 9986777..c26ee4b 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -3,7 +3,6 @@ export default defineNuxtConfig({ modules: [ "@nuxtjs/tailwindcss", "@vueuse/nuxt", - "nuxt-headlessui", "@nuxt/fonts", "@vee-validate/nuxt", "nuxt-security", diff --git a/package.json b/package.json index a8b99de..7594746 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,6 @@ "mitt": "^3.0.1", "nanoid": "^5.0.9", "nuxt": "^3.14.1592", - "nuxt-headlessui": "^1.2.0", "nuxt-security": "^2.1.4", "nuxt-shiki": "^0.3.0", "overlayscrollbars": "^2.10.1",