diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..299b9e1 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,5 @@ +{ + "singleQuote": true, + "semi": false, + "trailingComma": "none" +} diff --git a/app/app.vue b/app/app.vue index 5a0cbea..52bc761 100644 --- a/app/app.vue +++ b/app/app.vue @@ -1,7 +1,7 @@ - - diff --git a/app/components/home/HomeStats.vue b/app/components/home/HomeStats.vue index f45ea1a..dd55233 100644 --- a/app/components/home/HomeStats.vue +++ b/app/components/home/HomeStats.vue @@ -15,7 +15,7 @@ function formatCurrency(value: number): string { } const baseStats = [{ - title: 'Customers', + title: 'Usuários', icon: 'i-lucide-users', minValue: 400, maxValue: 1000, @@ -70,7 +70,7 @@ const { data: stats } = await useAsyncData('stats', async () => { :key="index" :icon="stat.icon" :title="stat.title" - to="/customers" + to="/users" variant="subtle" :ui="{ container: 'gap-y-1.5', diff --git a/app/components/inbox/InboxList.vue b/app/components/inbox/InboxList.vue deleted file mode 100644 index 17da4f6..0000000 --- a/app/components/inbox/InboxList.vue +++ /dev/null @@ -1,80 +0,0 @@ - - - diff --git a/app/components/inbox/InboxMail.vue b/app/components/inbox/InboxMail.vue deleted file mode 100644 index 0f37460..0000000 --- a/app/components/inbox/InboxMail.vue +++ /dev/null @@ -1,165 +0,0 @@ - - - diff --git a/app/components/customers/AddModal.vue b/app/components/users/AddModal.vue similarity index 82% rename from app/components/customers/AddModal.vue rename to app/components/users/AddModal.vue index fa6c942..95673a6 100644 --- a/app/components/customers/AddModal.vue +++ b/app/components/users/AddModal.vue @@ -17,14 +17,14 @@ const state = reactive>({ const toast = useToast() async function onSubmit(event: FormSubmitEvent) { - toast.add({ title: 'Success', description: `New customer ${event.data.name} added`, color: 'success' }) + toast.add({ title: 'Success', description: `Novo usuário ${event.data.name} adicionado`, color: 'success' }) open.value = false }