|
|
@@ -1,21 +1,159 @@
|
|
|
<script setup>
|
|
|
+import { useRouter } from "vue-router";
|
|
|
import LayoutSistema from "../../layout/LayoutSistema.vue";
|
|
|
+
|
|
|
+const router = useRouter();
|
|
|
+
|
|
|
+function irParaUsuarios() {
|
|
|
+ router.push({ name: "usuarios" });
|
|
|
+}
|
|
|
</script>
|
|
|
|
|
|
<template>
|
|
|
<LayoutSistema>
|
|
|
<div
|
|
|
- class="min-h-[calc(100vh-var(--layout-header-height))] flex items-start pt-8 justify-center"
|
|
|
+ class="min-h-[calc(100vh-var(--layout-header-height))] flex items-start justify-center pt-8"
|
|
|
>
|
|
|
- <section
|
|
|
- class="w-full max-w-[980px] rounded-2xl border border-gray-200 bg-gray-100/50 p-6 shadow-sm backdrop-blur-md dark:border-gray-700 dark:bg-secondary/50"
|
|
|
- >
|
|
|
- <div class="flex items-start gap-4">
|
|
|
+ <div class="w-full max-w-[980px] space-y-6">
|
|
|
+ <section
|
|
|
+ class="rounded-2xl border border-gray-200 bg-gray-100/50 p-6 shadow-sm backdrop-blur-md dark:border-gray-700 dark:bg-secondary/50"
|
|
|
+ >
|
|
|
+ <div class="flex items-start gap-4">
|
|
|
+ <div
|
|
|
+ class="flex h-12 w-12 items-center justify-center rounded-2xl bg-primary/10 text-primary dark:bg-primary/20"
|
|
|
+ >
|
|
|
+ <svg
|
|
|
+ class="h-6 w-6"
|
|
|
+ viewBox="0 0 24 24"
|
|
|
+ fill="none"
|
|
|
+ stroke="currentColor"
|
|
|
+ stroke-width="1.8"
|
|
|
+ >
|
|
|
+ <path
|
|
|
+ stroke-linecap="round"
|
|
|
+ stroke-linejoin="round"
|
|
|
+ d="M4 21v-7"
|
|
|
+ />
|
|
|
+ <path
|
|
|
+ stroke-linecap="round"
|
|
|
+ stroke-linejoin="round"
|
|
|
+ d="M4 10V3"
|
|
|
+ />
|
|
|
+ <path
|
|
|
+ stroke-linecap="round"
|
|
|
+ stroke-linejoin="round"
|
|
|
+ d="M12 21v-9"
|
|
|
+ />
|
|
|
+ <path
|
|
|
+ stroke-linecap="round"
|
|
|
+ stroke-linejoin="round"
|
|
|
+ d="M12 8V3"
|
|
|
+ />
|
|
|
+ <path
|
|
|
+ stroke-linecap="round"
|
|
|
+ stroke-linejoin="round"
|
|
|
+ d="M20 21v-5"
|
|
|
+ />
|
|
|
+ <path
|
|
|
+ stroke-linecap="round"
|
|
|
+ stroke-linejoin="round"
|
|
|
+ d="M20 12V3"
|
|
|
+ />
|
|
|
+ <path
|
|
|
+ stroke-linecap="round"
|
|
|
+ stroke-linejoin="round"
|
|
|
+ d="M1 14h6"
|
|
|
+ />
|
|
|
+ <path
|
|
|
+ stroke-linecap="round"
|
|
|
+ stroke-linejoin="round"
|
|
|
+ d="M9 8h6"
|
|
|
+ />
|
|
|
+ <path
|
|
|
+ stroke-linecap="round"
|
|
|
+ stroke-linejoin="round"
|
|
|
+ d="M17 16h6"
|
|
|
+ />
|
|
|
+ </svg>
|
|
|
+ </div>
|
|
|
+ <div class="min-w-0">
|
|
|
+ <h2 class="text-lg font-semibold text-gray-900 dark:text-gray-100">
|
|
|
+ Configurações do Sistema
|
|
|
+ </h2>
|
|
|
+ <p class="mt-1 text-sm text-gray-500 dark:text-gray-400">
|
|
|
+ Gerencie usuários e algumas preferências da plataforma.
|
|
|
+ </p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </section>
|
|
|
+
|
|
|
+ <section>
|
|
|
<div
|
|
|
- class="flex h-12 w-12 items-center justify-center rounded-2xl bg-primary/10 text-primary dark:bg-primary/20"
|
|
|
+ class="mb-3 text-xs font-semibold uppercase tracking-[0.16em] text-gray-500 dark:text-gray-400"
|
|
|
+ >
|
|
|
+ Usuários & Acesso
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <button
|
|
|
+ type="button"
|
|
|
+ class="grid w-full max-w-[620px] grid-cols-[auto_1fr_auto] items-center gap-4 rounded-2xl border border-gray-200 bg-background/70 p-5 text-left shadow-sm transition-colors hover:border-primary/40 dark:border-gray-700 dark:bg-background/20 dark:hover:border-primary/40"
|
|
|
+ @click="irParaUsuarios"
|
|
|
>
|
|
|
+ <div
|
|
|
+ class="flex h-14 w-14 items-center justify-center rounded-2xl bg-[linear-gradient(135deg,var(--primary-500),#4f46e5)] text-white shadow-[0_10px_24px_rgba(37,99,235,0.28)]"
|
|
|
+ >
|
|
|
+ <svg
|
|
|
+ class="h-7 w-7"
|
|
|
+ viewBox="0 0 24 24"
|
|
|
+ fill="none"
|
|
|
+ stroke="currentColor"
|
|
|
+ stroke-width="1.8"
|
|
|
+ >
|
|
|
+ <path
|
|
|
+ stroke-linecap="round"
|
|
|
+ stroke-linejoin="round"
|
|
|
+ d="M16 19a4 4 0 0 0-8 0"
|
|
|
+ />
|
|
|
+ <path
|
|
|
+ stroke-linecap="round"
|
|
|
+ stroke-linejoin="round"
|
|
|
+ d="M12 12a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z"
|
|
|
+ />
|
|
|
+ <path
|
|
|
+ stroke-linecap="round"
|
|
|
+ stroke-linejoin="round"
|
|
|
+ d="M7.5 18.5A3.5 3.5 0 0 0 4 15"
|
|
|
+ />
|
|
|
+ <path
|
|
|
+ stroke-linecap="round"
|
|
|
+ stroke-linejoin="round"
|
|
|
+ d="M16.5 18.5A3.5 3.5 0 0 1 20 15"
|
|
|
+ />
|
|
|
+ <path
|
|
|
+ stroke-linecap="round"
|
|
|
+ stroke-linejoin="round"
|
|
|
+ d="M5 12a2.25 2.25 0 1 0 0-4.5A2.25 2.25 0 0 0 5 12Z"
|
|
|
+ />
|
|
|
+ <path
|
|
|
+ stroke-linecap="round"
|
|
|
+ stroke-linejoin="round"
|
|
|
+ d="M19 12a2.25 2.25 0 1 0 0-4.5A2.25 2.25 0 0 0 19 12Z"
|
|
|
+ />
|
|
|
+ </svg>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="min-w-0">
|
|
|
+ <div class="text-lg font-semibold text-gray-900 dark:text-gray-100">
|
|
|
+ Usuários
|
|
|
+ </div>
|
|
|
+ <div class="mt-1 text-sm text-gray-500 dark:text-gray-400">
|
|
|
+ Cadastre e gerencie usuários, perfis e níveis de acesso ao
|
|
|
+ sistema.
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
<svg
|
|
|
- class="h-6 w-6"
|
|
|
+ class="h-5 w-5 text-gray-400 dark:text-gray-500"
|
|
|
viewBox="0 0 24 24"
|
|
|
fill="none"
|
|
|
stroke="currentColor"
|
|
|
@@ -24,60 +162,12 @@ import LayoutSistema from "../../layout/LayoutSistema.vue";
|
|
|
<path
|
|
|
stroke-linecap="round"
|
|
|
stroke-linejoin="round"
|
|
|
- d="M4 21v-7"
|
|
|
- />
|
|
|
- <path
|
|
|
- stroke-linecap="round"
|
|
|
- stroke-linejoin="round"
|
|
|
- d="M4 10V3"
|
|
|
- />
|
|
|
- <path
|
|
|
- stroke-linecap="round"
|
|
|
- stroke-linejoin="round"
|
|
|
- d="M12 21v-9"
|
|
|
- />
|
|
|
- <path
|
|
|
- stroke-linecap="round"
|
|
|
- stroke-linejoin="round"
|
|
|
- d="M12 8V3"
|
|
|
- />
|
|
|
- <path
|
|
|
- stroke-linecap="round"
|
|
|
- stroke-linejoin="round"
|
|
|
- d="M20 21v-5"
|
|
|
- />
|
|
|
- <path
|
|
|
- stroke-linecap="round"
|
|
|
- stroke-linejoin="round"
|
|
|
- d="M20 12V3"
|
|
|
- />
|
|
|
- <path
|
|
|
- stroke-linecap="round"
|
|
|
- stroke-linejoin="round"
|
|
|
- d="M1 14h6"
|
|
|
- />
|
|
|
- <path
|
|
|
- stroke-linecap="round"
|
|
|
- stroke-linejoin="round"
|
|
|
- d="M9 8h6"
|
|
|
- />
|
|
|
- <path
|
|
|
- stroke-linecap="round"
|
|
|
- stroke-linejoin="round"
|
|
|
- d="M17 16h6"
|
|
|
+ d="m9 6 6 6-6 6"
|
|
|
/>
|
|
|
</svg>
|
|
|
- </div>
|
|
|
- <div class="min-w-0">
|
|
|
- <h2 class="text-lg font-semibold text-gray-900 dark:text-gray-100">
|
|
|
- Configurações do Sistema
|
|
|
- </h2>
|
|
|
- <p class="mt-1 text-sm text-gray-500 dark:text-gray-400">
|
|
|
- Gerencie usuarios e algumas preferências da plataforma.
|
|
|
- </p>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </section>
|
|
|
+ </button>
|
|
|
+ </section>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</LayoutSistema>
|
|
|
</template>
|