UNPKG

@anoki/fse-ui

Version:

FSE UI components library

54 lines (53 loc) 1.72 kB
import { j as i } from "./index.es237.js"; import { Section as s } from "./index.es123.js"; import './sections/Login/Login.css';/* empty css */ import { EntryButton as g } from "./index.es82.js"; import { Col as o } from "./index.es61.js"; const N = ({ title: l, description: e, loginTitle: n, loginDescription: r, buttonLabel: t, buttonAriaLabel: c, buttonHref: a, asImage: m = "img", region: d = "marche", authSrc: h = "" }) => { const x = m; return console.log(d), /* @__PURE__ */ i.jsxs(s, { className: "base-col ui-login-section", children: [ /* @__PURE__ */ i.jsxs(o, { className: "ui-login-content", children: [ /* @__PURE__ */ i.jsx(s.Title, { fs: "1", className: "md-fs-0 ui-login-title", mdFs: "0", children: l }), e && /* @__PURE__ */ i.jsx(s.Description, { className: "ui-login-description", children: e }) ] }), /* @__PURE__ */ i.jsxs("div", { className: "bg-white shadow br-x4 ui-login-body", children: [ /* @__PURE__ */ i.jsxs(o, { gap: "x16", children: [ /* @__PURE__ */ i.jsx("h1", { className: "text-slate-20 fw-semibold fs-5 md-fs-4", children: n }), /* @__PURE__ */ i.jsx(s.Description, { children: r }), /* @__PURE__ */ i.jsx( g, { ariaLabel: c, href: a, children: t } ) ] }), /* @__PURE__ */ i.jsx("div", { className: "ui-login-body-img h-full", children: /* @__PURE__ */ i.jsx( x, { src: h, alt: "", "aria-hidden": "true", width: 246, height: 746 } ) }) ] }) ] }); }; export { N as Login }; //# sourceMappingURL=index.es140.js.map