This commit is contained in:
mohadese namavar
2024-06-16 00:22:14 +04:30
commit ec84dfd222
322 changed files with 77942 additions and 0 deletions
+51
View File
@@ -0,0 +1,51 @@
export default () => {
const store = useUserStore()
return reactive({
btns: {
back: {
props: {
icon: "isax isax-arrow-right-1",
severity: "secondary",
rounded: true,
link: true,
class: 'mr-2'
},
},
menu: {
props: {
icon: 'isax isax-menu-1',
severity: 'secondary',
rounded: true,
text: true,
}
}
},
navigation: {
home: {
to: "/",
props: {
icon: "isax isax-home-2", rounded: true, severity: "secondary", text: true,
},
},
categories: {
to: "/categories",
props: {
icon: "isax isax-category-2", rounded: true, severity: "secondary", text: true,
},
},
cart: {
to: "/checkout/cart",
props: {
icon: "isax isax-shopping-cart", rounded: true, severity: "secondary", text: true,
},
},
profile: {
to: computed(() => store.token ? '/panel/profile' : '/auth/login'),
props: {
icon: "isax isax-user", rounded: true, severity: "secondary", text: true,
},
},
},
})
}