From fa0ffd890d5e4fee962102dcb7443297822fb339 Mon Sep 17 00:00:00 2001 From: Grady Ward Date: Sat, 20 Jan 2024 19:25:33 -0700 Subject: [PATCH] Improves Nav Organization --- frontend/components/standard/Avatar.vue | 20 ++++ frontend/components/standard/Nav.vue | 129 +++++++++++++++++++++--- frontend/lang/en.json | 4 +- frontend/plugins/primevue.ts | 2 + 4 files changed, 140 insertions(+), 15 deletions(-) create mode 100644 frontend/components/standard/Avatar.vue diff --git a/frontend/components/standard/Avatar.vue b/frontend/components/standard/Avatar.vue new file mode 100644 index 0000000..b5f8623 --- /dev/null +++ b/frontend/components/standard/Avatar.vue @@ -0,0 +1,20 @@ + + + diff --git a/frontend/components/standard/Nav.vue b/frontend/components/standard/Nav.vue index cb2d0e8..00d5bae 100644 --- a/frontend/components/standard/Nav.vue +++ b/frontend/components/standard/Nav.vue @@ -1,5 +1,6 @@ + + diff --git a/frontend/lang/en.json b/frontend/lang/en.json index 9feec45..982f5ab 100644 --- a/frontend/lang/en.json +++ b/frontend/lang/en.json @@ -267,7 +267,9 @@ "Home": "Portfolio Analysis Tool", "My Data": "My Data", "Sign In": "Sign In", - "Sign Out": "Sign Out" + "Sign Out": "Sign Out", + "Account": "Account", + "Audit Logs": "Audit Logs" }, "components/user/Editor": { "The name that will be associated with": "The name that will be associated with ", diff --git a/frontend/plugins/primevue.ts b/frontend/plugins/primevue.ts index 6353731..bb77250 100644 --- a/frontend/plugins/primevue.ts +++ b/frontend/plugins/primevue.ts @@ -22,6 +22,7 @@ import Textarea from 'primevue/textarea' import Tooltip from 'primevue/tooltip' import TriStateCheckbox from 'primevue/tristatecheckbox' import Message from 'primevue/message' +import Menu from 'primevue/menu' import MultiSelect from 'primevue/multiselect' import OverlayPanel from 'primevue/overlaypanel' import ProgressSpinner from 'primevue/progressspinner' @@ -48,6 +49,7 @@ export default defineNuxtPlugin(({ vueApp }) => { vueApp.component('PVInputText', InputText) vueApp.component('PVInputSwitch', InputSwitch) vueApp.component('PVMessage', Message) + vueApp.component('PVMenu', Menu) vueApp.component('PVMultiSelect', MultiSelect) vueApp.component('PVOverlayPanel', OverlayPanel) vueApp.component('PVProgressSpinner', ProgressSpinner)