From fbf1f78d64d8c842d37d4d108b3656595f734d57 Mon Sep 17 00:00:00 2001 From: flfeders Date: Wed, 20 Nov 2024 21:08:50 +0100 Subject: [PATCH] Added Chats --- components/MainNav.vue | 9 ++- pages/chats/create.vue | 119 ++++++++++++++++++++++++++++++++++++ pages/chats/index.vue | 125 ++++++++++++++++++++++++++++++++++++++ pages/chats/show/[id].vue | 121 ++++++++++++++++++++++++++++++++++++ 4 files changed, 371 insertions(+), 3 deletions(-) create mode 100644 pages/chats/create.vue create mode 100644 pages/chats/index.vue create mode 100644 pages/chats/show/[id].vue diff --git a/components/MainNav.vue b/components/MainNav.vue index 70e6681..123c708 100644 --- a/components/MainNav.vue +++ b/components/MainNav.vue @@ -51,11 +51,14 @@ const links = computed(() => { label: "E-Mail", to: "/email/new", icon: "i-heroicons-envelope" - }, - { + }, { label: "Logbücher", to: "/communication/historyItems", - icon: "i-heroicons-envelope" + icon: "i-heroicons-book-open" + }, { + label: "Chats", + to: "/chats", + icon: "i-heroicons-chat-bubble-left" } ] }, diff --git a/pages/chats/create.vue b/pages/chats/create.vue new file mode 100644 index 0000000..743e035 --- /dev/null +++ b/pages/chats/create.vue @@ -0,0 +1,119 @@ + + + + + \ No newline at end of file diff --git a/pages/chats/index.vue b/pages/chats/index.vue new file mode 100644 index 0000000..9b38686 --- /dev/null +++ b/pages/chats/index.vue @@ -0,0 +1,125 @@ + + + + + \ No newline at end of file diff --git a/pages/chats/show/[id].vue b/pages/chats/show/[id].vue new file mode 100644 index 0000000..94d1c53 --- /dev/null +++ b/pages/chats/show/[id].vue @@ -0,0 +1,121 @@ + + + + + \ No newline at end of file