Alpha: eliminar referencias Teloprax + dashboard estilo shadcn demo

- Sidebar: logo 'A', título Alpha / KAPPA Hub
- Login: icono Alpha, sin branding Teloprax
- Dashboard rediseñado: 4 stats cards + historia clínica + actividad + tabla
- Theme: default shadcn-vue (colores demo page)
- Favicon: 'A' sobre fondo neutral
- Eliminado NavMain.vue no usado
This commit is contained in:
2026-05-22 22:44:30 -05:00
parent ee6610e8df
commit 5761538cb9
12 changed files with 318 additions and 233 deletions
+8 -20
View File
@@ -19,34 +19,22 @@ async function handleLogin() {
<div class="flex min-h-svh flex-col items-center justify-center bg-background p-6">
<Card class="w-full max-w-[400px]">
<CardHeader class="text-center pb-4">
<div class="flex items-center justify-center gap-1.5 mb-3">
<span class="block rounded-full border-2 border-primary opacity-35 w-[10px] h-[10px]" />
<span class="block rounded-full border-2 border-primary opacity-65 w-[14px] h-[14px]" />
<span class="block rounded-full bg-primary w-[18px] h-[18px]" />
<div class="flex aspect-square size-12 items-center justify-center rounded-xl bg-primary text-primary-foreground mx-auto mb-3">
<span class="font-bold text-xl">A</span>
</div>
<CardTitle class="font-display text-2xl font-bold">teloprax</CardTitle>
<CardDescription class="text-xs mt-1">ideas en progreso</CardDescription>
<CardTitle class="text-2xl font-bold tracking-tight">Alpha</CardTitle>
<CardDescription class="text-xs mt-1">KAPPA Hub</CardDescription>
</CardHeader>
<CardContent>
<form @submit.prevent="handleLogin" class="flex flex-col gap-4">
<div class="space-y-1.5">
<label class="text-xs font-medium text-muted-foreground uppercase tracking-wider">Email</label>
<Input
v-model="email"
type="email"
placeholder="ricardo@..."
autocomplete="email"
/>
<Input v-model="email" type="email" placeholder="ricardo@..." autocomplete="email" />
</div>
<div class="space-y-1.5">
<label class="text-xs font-medium text-muted-foreground uppercase tracking-wider">Contraseña</label>
<Input
v-model="password"
type="password"
placeholder="••••••••"
autocomplete="current-password"
/>
<Input v-model="password" type="password" placeholder="••••••••" autocomplete="current-password" />
</div>
<div v-if="auth.error" class="text-xs text-destructive bg-destructive/10 rounded-md px-3 py-2">
@@ -54,11 +42,11 @@ async function handleLogin() {
</div>
<Button type="submit" class="w-full mt-2" :disabled="auth.loading">
{{ auth.loading ? 'Ingresando...' : 'Iniciar diagnóstico' }}
{{ auth.loading ? 'Ingresando...' : 'Iniciar sesión' }}
</Button>
</form>
<p class="text-center text-[11px] text-muted-foreground/50 mt-6">
<p class="text-center text-[11px] text-muted-foreground/40 mt-6">
kappa.lambdaanalytics.co
</p>
</CardContent>