diff --git a/frontend/src/components/Icons/EditIcon.vue b/frontend/src/components/Icons/EditIcon.vue new file mode 100644 index 00000000..8edb183b --- /dev/null +++ b/frontend/src/components/Icons/EditIcon.vue @@ -0,0 +1,16 @@ + diff --git a/frontend/src/pages/Contact.vue b/frontend/src/pages/Contact.vue new file mode 100644 index 00000000..2d9a4ba9 --- /dev/null +++ b/frontend/src/pages/Contact.vue @@ -0,0 +1,57 @@ + + + diff --git a/frontend/src/pages/Contacts.vue b/frontend/src/pages/Contacts.vue index 8d454617..8b2b61b6 100644 --- a/frontend/src/pages/Contacts.vue +++ b/frontend/src/pages/Contacts.vue @@ -9,136 +9,79 @@ -
-
- - - +
+
+ +
+ +
+ + {{ contact.full_name }} + + {{ contact.email_id }} +
+
+
-
- - -
- diff --git a/frontend/src/router.js b/frontend/src/router.js index 44da837f..28b5d0d5 100644 --- a/frontend/src/router.js +++ b/frontend/src/router.js @@ -38,6 +38,14 @@ const routes = [ path: '/contacts', name: 'Contacts', component: () => import('@/pages/Contacts.vue'), + children: [ + { + path: '/contacts/:contactId?', + name: 'Contact', + component: () => import('@/pages/Contact.vue'), + props: true, + }, + ], }, { path: '/call-logs',