diff --git a/packages/frontend/src/boot/main-boot.ts b/packages/frontend/src/boot/main-boot.ts index 2187acd851ce..d7de09e8c6cb 100644 --- a/packages/frontend/src/boot/main-boot.ts +++ b/packages/frontend/src/boot/main-boot.ts @@ -30,6 +30,7 @@ export async function mainBoot() { !$i ? defineAsyncComponent(() => import('@/ui/visitor.vue')) : ui === 'deck' ? defineAsyncComponent(() => import('@/ui/deck.vue')) : ui === 'classic' ? defineAsyncComponent(() => import('@/ui/classic.vue')) : + ui === 'note' ? defineAsyncComponent(() => import('@/ui/note.vue')) : defineAsyncComponent(() => import('@/ui/universal.vue')), )); diff --git a/packages/frontend/src/navbar.ts b/packages/frontend/src/navbar.ts index cd204c4a6de3..ec87e25aa730 100644 --- a/packages/frontend/src/navbar.ts +++ b/packages/frontend/src/navbar.ts @@ -146,6 +146,13 @@ export const navbarItemDef = reactive({ miLocalStorage.setItem('ui', 'classic'); unisonReload(); }, + }, { + text: i18n.ts.note, + active: ui === 'note', + action: () => { + miLocalStorage.setItem('ui', 'note'); + unisonReload(); + } }], ev.currentTarget ?? ev.target); }, }, diff --git a/packages/frontend/src/ui/note.vue b/packages/frontend/src/ui/note.vue new file mode 100644 index 000000000000..da2e065d04e5 --- /dev/null +++ b/packages/frontend/src/ui/note.vue @@ -0,0 +1,505 @@ + + + + + + + + +