UNPKG

analytica-frontend-lib

Version:

Repositório público dos componentes utilizados nas plataformas da Analytica Ensino

49 lines (47 loc) 1.8 kB
import { Text_default } from "./chunk-IMCIR6TJ.mjs"; import { cn } from "./chunk-53ICLDGS.mjs"; // src/components/TokenValidation/TokenValidation.tsx import { CircleNotchIcon } from "@phosphor-icons/react/dist/csr/CircleNotch"; import { jsx, jsxs } from "react/jsx-runtime"; var TokenValidation = ({ title = "Validando acesso...", description = "Por favor, aguarde enquanto verificamos suas credenciais.", logoSrc, logoAlt = "Logo", className = "" }) => { return /* @__PURE__ */ jsx( "div", { className: cn( "min-h-screen w-full bg-primary-800 flex flex-col items-center justify-center p-4", className ), children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center gap-8 max-w-md w-full", children: [ logoSrc && /* @__PURE__ */ jsx("img", { src: logoSrc, alt: logoAlt, className: "h-12 object-contain" }), /* @__PURE__ */ jsxs("div", { className: "bg-background rounded-xl p-8 w-full flex flex-col items-center gap-6 shadow-lg", children: [ /* @__PURE__ */ jsx("div", { className: "bg-primary-100 p-4 rounded-full", children: /* @__PURE__ */ jsx( CircleNotchIcon, { size: 48, className: "text-primary-800 animate-spin" } ) }), /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center gap-2 text-center", children: [ /* @__PURE__ */ jsx(Text_default, { size: "xl", weight: "bold", children: title }), /* @__PURE__ */ jsx(Text_default, { size: "md", color: "text-text-500", children: description }) ] }) ] }) ] }) } ); }; var TokenValidation_default = TokenValidation; export { TokenValidation_default }; //# sourceMappingURL=chunk-UJ2EXX45.mjs.map