From ecf8e5fcf2ce9edc585d52134af6e6ea56f1a673 Mon Sep 17 00:00:00 2001
From: Pauline MAROT
Date: Wed, 15 Dec 2021 14:10:35 +0100
Subject: [PATCH] AjoutMenu
---
src/NervTN.vue | 39 +++--
src/assets/css/sidebar.less | 27 ++++
src/components/contact/Contact.vue | 174 ++++++++++++++++++++++
src/components/contact/Rooster.vue | 113 --------------
src/components/message/Chat.vue | 11 ++
src/components/message/Correspondance.vue | 12 ++
src/components/message/NavMessage.vue | 33 ++++
src/nervtn-routes.js | 34 +++++
8 files changed, 317 insertions(+), 126 deletions(-)
create mode 100644 src/components/contact/Contact.vue
delete mode 100644 src/components/contact/Rooster.vue
create mode 100644 src/components/message/Chat.vue
create mode 100644 src/components/message/Correspondance.vue
create mode 100644 src/components/message/NavMessage.vue
diff --git a/src/NervTN.vue b/src/NervTN.vue
index 5dd8113..e4d2baa 100644
--- a/src/NervTN.vue
+++ b/src/NervTN.vue
@@ -1,12 +1,18 @@
+
+
+
@@ -20,6 +26,11 @@ const {t} = useI18n({useScope: 'local'});
diff --git a/src/assets/css/sidebar.less b/src/assets/css/sidebar.less
index 5730bf6..5275723 100644
--- a/src/assets/css/sidebar.less
+++ b/src/assets/css/sidebar.less
@@ -23,6 +23,33 @@
}
}
+#menu {
+ font-size: 1.1rem;
+ margin: 0.5rem;
+ padding: 1rem;
+}
+
+.nav-menu{
+ margin-left: auto;
+ padding-right: 10px;
+ cursor: pointer;
+}
+
+
+.connect {
+ padding: 0.5rem;
+
+ ul {
+ padding: 0;
+ margin: 0;
+ list-style-type: none;
+ }
+}
+
+.nav-connect {
+ list-style: none;
+}
+
.nav-links {
display: inline-block;
a, a:visited {
diff --git a/src/components/contact/Contact.vue b/src/components/contact/Contact.vue
new file mode 100644
index 0000000..eed16e1
--- /dev/null
+++ b/src/components/contact/Contact.vue
@@ -0,0 +1,174 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/contact/Rooster.vue b/src/components/contact/Rooster.vue
deleted file mode 100644
index 57fa77d..0000000
--- a/src/components/contact/Rooster.vue
+++ /dev/null
@@ -1,113 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Adresse
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/components/message/Chat.vue b/src/components/message/Chat.vue
new file mode 100644
index 0000000..2228bfb
--- /dev/null
+++ b/src/components/message/Chat.vue
@@ -0,0 +1,11 @@
+
+
+ Chat
+
+
+
+
+
diff --git a/src/components/message/Correspondance.vue b/src/components/message/Correspondance.vue
new file mode 100644
index 0000000..985b5b1
--- /dev/null
+++ b/src/components/message/Correspondance.vue
@@ -0,0 +1,12 @@
+
+
+ Correspondance
+
+
+
+
+
+
diff --git a/src/components/message/NavMessage.vue b/src/components/message/NavMessage.vue
new file mode 100644
index 0000000..5986ce1
--- /dev/null
+++ b/src/components/message/NavMessage.vue
@@ -0,0 +1,33 @@
+
+
+
+
+ 💬 ✉️ Messages
+
+
+ - 📭 Correspondance
+ - 💬 Chat
+ - 🎥 Visioconférence
+
+
+
+
+ 👤 Contact
+
+
+
+
+
+
+
+
+
diff --git a/src/nervtn-routes.js b/src/nervtn-routes.js
index e4ec0d6..2ee1a78 100644
--- a/src/nervtn-routes.js
+++ b/src/nervtn-routes.js
@@ -5,6 +5,10 @@ import * as VueRouter from 'vue-router';
const Apps = () => import('./components/NervTNApps.vue');
const Dashboard = () => import('./components/Dashboard.vue');
+const Chat = () => import('./components/message/Chat.vue');
+const Correspondance = () => import('./components/message/Correspondance.vue');
+const Contact = () =>import('./components/contact/Contact.vue');
+
const routes = [
{
@@ -27,6 +31,36 @@ const routes = [
//ActionBar: {}
}
},
+ {
+ path: '/chat',
+ name: "Chat",
+ components: {
+ default: Chat,
+ //Links: {},
+ //Sidebar: {},
+ //ActionBar: {}
+ }
+ },
+ {
+ path: '/correspondance',
+ name: "Correspondance",
+ components: {
+ default: Correspondance,
+ //Links: {},
+ //Sidebar: {},
+ //ActionBar: {}
+ }
+ },
+ {
+ path: '/contact',
+ name: "Contact",
+ components: {
+ default: Contact,
+ //Links: {},
+ //Sidebar: {},
+ //ActionBar: {}
+ }
+ },
{
path: '/:errorPath(.*)*',
name: "NotFound",