import{d as n,u as a,c as d,a as e,t as s,b as o,h as l,o as c}from"./index-BaNRFt4f.js";const m={class:"space-y-5"},g={class:"bg-primary-700 rounded-lg px-5 py-6 sm:px-6 sm:py-7"},p={class:"text-lg sm:text-xl font-semibold text-white"},u={class:"mt-1 text-sm text-primary-200 capitalize"},x={class:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4"},h={class:"bg-white border border-gray-200 rounded-lg p-4 flex items-center gap-3.5"},y={class:"min-w-0"},v={class:"text-sm font-semibold text-gray-900 truncate"},f={class:"bg-white border border-gray-200 rounded-lg p-4 flex items-center gap-3.5"},w={class:"min-w-0"},_={class:"text-sm font-semibold text-gray-900 truncate"},j=n({__name:"DashboardView",setup(b){const r=a(),i=new Date().toLocaleDateString("es-ES",{weekday:"long",year:"numeric",month:"long",day:"numeric"});return(k,t)=>(c(),d("div",m,[e("div",g,[e("h2",p," Bienvenido, "+s(o(r).user?.name||"Usuario"),1),e("p",u,s(o(i)),1)]),e("div",x,[e("div",h,[t[1]||(t[1]=e("div",{class:"w-10 h-10 rounded-lg bg-primary-50 text-primary-600 flex items-center justify-center shrink-0"},[e("svg",{class:"w-5 h-5",fill:"none",stroke:"currentColor","stroke-width":"1.5",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 6a3.75 3.75 0 11-7.5 0 3.75 3.75 0 017.5 0zM4.501 20.118a7.5 7.5 0 0114.998 0A17.933 17.933 0 0112 21.75c-2.676 0-5.216-.584-7.499-1.632z"})])],-1)),e("div",y,[t[0]||(t[0]=e("p",{class:"text-xs text-gray-500 font-medium"},"Usuario",-1)),e("p",v,s(o(r).user?.name),1)])]),e("div",f,[t[3]||(t[3]=e("div",{class:"w-10 h-10 rounded-lg bg-gray-100 text-gray-600 flex items-center justify-center shrink-0"},[e("svg",{class:"w-5 h-5",fill:"none",stroke:"currentColor","stroke-width":"1.5",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M21.75 6.75v10.5a2.25 2.25 0 01-2.25 2.25h-15a2.25 2.25 0 01-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0019.5 4.5h-15a2.25 2.25 0 00-2.25 2.25m19.5 0v.243a2.25 2.25 0 01-1.07 1.916l-7.5 4.615a2.25 2.25 0 01-2.36 0L3.32 8.91a2.25 2.25 0 01-1.07-1.916V6.75"})])],-1)),e("div",w,[t[2]||(t[2]=e("p",{class:"text-xs text-gray-500 font-medium"},"Email",-1)),e("p",_,s(o(r).user?.email),1)])]),t[4]||(t[4]=l('<div class="bg-white border border-gray-200 rounded-lg p-4 flex items-center gap-3.5"><div class="w-10 h-10 rounded-lg bg-green-50 text-green-600 flex items-center justify-center shrink-0"><svg class="w-5 h-5" fill="none" stroke="currentColor" stroke-width="1.5" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" d="M9 12.75L11.25 15 15 9.75M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg></div><div class="min-w-0"><p class="text-xs text-gray-500 font-medium">Estado</p><p class="text-sm font-semibold text-gray-900">Autenticado</p></div></div>',1))])]))}});export{j as default};
