From fa45619dbba3f63d4c61b74f428023b088055513 Mon Sep 17 00:00:00 2001 From: William Harrell Date: Sun, 16 Oct 2022 20:54:23 -0400 Subject: [PATCH] added basic UI for file transfer --- client/src/components/files.vue | 194 ++++++++++++++++++++++++++++++++ client/src/components/side.vue | 7 ++ client/src/locale/en-us.ts | 1 + 3 files changed, 202 insertions(+) create mode 100644 client/src/components/files.vue diff --git a/client/src/components/files.vue b/client/src/components/files.vue new file mode 100644 index 00000000..7e81fb98 --- /dev/null +++ b/client/src/components/files.vue @@ -0,0 +1,194 @@ + + + + + diff --git a/client/src/components/side.vue b/client/src/components/side.vue index db1ff814..2122e789 100644 --- a/client/src/components/side.vue +++ b/client/src/components/side.vue @@ -6,6 +6,10 @@ {{ $t('side.chat') }} +
  • + + {{ $t('side.files') }} +
  • {{ $t('side.settings') }} @@ -14,6 +18,7 @@
    +
    @@ -78,12 +83,14 @@ import Settings from '~/components/settings.vue' import Chat from '~/components/chat.vue' + import Files from '~/components/files.vue' @Component({ name: 'neko', components: { 'neko-settings': Settings, 'neko-chat': Chat, + 'neko-files': Files }, }) export default class extends Vue { diff --git a/client/src/locale/en-us.ts b/client/src/locale/en-us.ts index 91d98d9c..b397e2d5 100644 --- a/client/src/locale/en-us.ts +++ b/client/src/locale/en-us.ts @@ -7,6 +7,7 @@ export const send_a_message = 'Send a message' export const side = { chat: 'Chat', + files: 'Files', settings: 'Settings', }