updated icons
This commit is contained in:
parent
6f5762d0a3
commit
0caeafc048
19
src/App.vue
19
src/App.vue
@ -4,6 +4,10 @@ import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome";
|
|||||||
import { SidebarMenu } from "vue-sidebar-menu";
|
import { SidebarMenu } from "vue-sidebar-menu";
|
||||||
import "vue-sidebar-menu/dist/vue-sidebar-menu.css";
|
import "vue-sidebar-menu/dist/vue-sidebar-menu.css";
|
||||||
|
|
||||||
|
const separator = {
|
||||||
|
template: '<hr style="border-color: rgba(0, 0, 0, 0.1); margin: 20px;">',
|
||||||
|
}
|
||||||
|
|
||||||
const faIcon = (props) => {
|
const faIcon = (props) => {
|
||||||
return {
|
return {
|
||||||
element: markRaw({
|
element: markRaw({
|
||||||
@ -27,27 +31,30 @@ export default {
|
|||||||
{
|
{
|
||||||
href: "/",
|
href: "/",
|
||||||
title: "Home",
|
title: "Home",
|
||||||
icon: faIcon({ icon: "fa-solid fa-cog" }),
|
icon: faIcon({ icon: "fa-solid fa-house" }),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
href: "/about",
|
href: "/about",
|
||||||
title: "About",
|
title: "About",
|
||||||
icon: faIcon({ icon: "fa-solid fa-cog" }),
|
icon: faIcon({ icon: "fa-solid fa-question" }),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
component: markRaw(separator),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
href: "/referenceId",
|
href: "/referenceId",
|
||||||
title: "Contacts Lookup",
|
title: "Contacts Lookup",
|
||||||
icon: faIcon({ icon: "fa-solid fa-cog" }),
|
icon: faIcon({ icon: "fa-solid fa-rectangle-list" }),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
href: "/interactionsFlow",
|
href: "/interactionsFlow",
|
||||||
title: "Interactions Flow",
|
title: "Interactions Flow",
|
||||||
icon: faIcon({ icon: "fa-solid fa-cog" }),
|
icon: faIcon({ icon: "fa-solid fa-route" }),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
href: "/customerAccount/12345",
|
href: "/customerAccount/12345",
|
||||||
title: "Customer Account Example",
|
title: "Customer Account Example",
|
||||||
icon: faIcon({ icon: "fa-solid fa-cog" }),
|
icon: faIcon({ icon: "fa-solid fa-id-card" }),
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
collapsed: false,
|
collapsed: false,
|
||||||
@ -75,8 +82,6 @@ export default {
|
|||||||
v-model:collapsed="collapsed"
|
v-model:collapsed="collapsed"
|
||||||
:menu="menu"
|
:menu="menu"
|
||||||
:show-one-child="true"
|
:show-one-child="true"
|
||||||
@update:collapsed="onToggleCollapse"
|
|
||||||
@item-click="onItemClick"
|
|
||||||
/>
|
/>
|
||||||
<div id="services" :class="[{ collapsed: collapsed }]">
|
<div id="services" :class="[{ collapsed: collapsed }]">
|
||||||
<div class="services">
|
<div class="services">
|
||||||
|
|||||||
@ -1,6 +1,11 @@
|
|||||||
import { library } from "@fortawesome/fontawesome-svg-core";
|
import { library } from "@fortawesome/fontawesome-svg-core";
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
faIdCard,
|
||||||
|
faRoute,
|
||||||
|
faHouse,
|
||||||
|
faQuestion,
|
||||||
|
faRectangleList,
|
||||||
faDownload,
|
faDownload,
|
||||||
faCode,
|
faCode,
|
||||||
faCogs,
|
faCogs,
|
||||||
@ -14,6 +19,11 @@ import {
|
|||||||
} from "@fortawesome/free-solid-svg-icons";
|
} from "@fortawesome/free-solid-svg-icons";
|
||||||
|
|
||||||
library.add(
|
library.add(
|
||||||
|
faIdCard,
|
||||||
|
faRoute,
|
||||||
|
faRectangleList,
|
||||||
|
faQuestion,
|
||||||
|
faHouse,
|
||||||
faDownload,
|
faDownload,
|
||||||
faCode,
|
faCode,
|
||||||
faCogs,
|
faCogs,
|
||||||
|
|||||||
@ -4,4 +4,9 @@ import vue from "@vitejs/plugin-vue";
|
|||||||
// https://vitejs.dev/config/
|
// https://vitejs.dev/config/
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [vue()],
|
plugins: [vue()],
|
||||||
|
resolve: {
|
||||||
|
alias: {
|
||||||
|
'vue': 'vue/dist/vue.esm-bundler',
|
||||||
|
},
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user