UNPKG

@anoki/fse-marche-ui

Version:

FSE UI components library

3 lines (2 loc) 1.43 kB
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./sections/Login/Login.css');const e=require("./index.cjs137.js"),s=require("./index.cjs46.js");;/* empty css */const j=require("./index.cjs36.js"),t=require("./index.cjs10.js"),h=({title:n,description:i,loginTitle:o,loginDescription:r,buttonLabel:x,buttonAriaLabel:c,buttonHref:l,asImage:m="img",region:u="marche",authSrc:a=""})=>{const d=m;return e.jsxRuntimeExports.jsxs(s.Section,{className:"base-col ui-login-section",children:[e.jsxRuntimeExports.jsxs(t.Col,{className:"ui-login-content",children:[e.jsxRuntimeExports.jsx(s.Section.Title,{fs:"1",className:"md-fs-0 ui-login-title",mdFs:"0",children:n}),i&&e.jsxRuntimeExports.jsx(s.Section.Description,{className:"ui-login-description",children:i})]}),e.jsxRuntimeExports.jsxs("div",{className:"bg-white shadow br-x4 ui-login-body ",children:[e.jsxRuntimeExports.jsxs(t.Col,{gap:"x16",children:[e.jsxRuntimeExports.jsx("h3",{className:"text-slate-20 fw-semibold fs-5 md-fs-4",children:o}),e.jsxRuntimeExports.jsx(s.Section.Description,{children:r}),e.jsxRuntimeExports.jsx(j.EntryButton,{showIcon:u==="marche",ariaLabel:c,href:l,children:x})]}),e.jsxRuntimeExports.jsx("div",{className:"ui-login-body-img h-full",children:e.jsxRuntimeExports.jsx(d,{src:a,alt:"","aria-hidden":"true",width:246,height:746})})]})]})};exports.Login=h; //# sourceMappingURL=index.cjs71.js.map