Assist_Design/apps/portal/public/storybook/assets/AuthLayout-DNr24V9g.js
Temuulen Ankhbayar e704488eb9 chore: add Storybook static build output
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 15:25:18 +09:00

2 lines
2.2 KiB
JavaScript

import{j as e}from"./jsx-runtime-D_zvdyIk.js";import{L as d}from"./next-link-BmD4fPSy.js";import{F as c}from"./ArrowLeftIcon-Cw1eswTb.js";function m({children:r,title:a,subtitle:t,showBackButton:o=!1,backHref:l="/",backLabel:i="Back to Home",wide:n=!1}){const s=n?"max-w-xl":"max-w-md";return e.jsxs("div",{className:"w-full flex flex-col items-center justify-center min-h-[calc(100dvh-4rem)] py-8 sm:py-12",children:[e.jsxs("div",{className:`w-full ${s}`,children:[o&&e.jsx("div",{className:"mb-6",children:e.jsxs(d,{href:l,className:"inline-flex items-center text-sm font-medium text-muted-foreground hover:text-foreground transition-colors group",children:[e.jsx(c,{className:"h-4 w-4 mr-2 transition-transform group-hover:-translate-x-0.5"}),i]})}),e.jsxs("div",{className:"text-center",children:[e.jsx("h1",{className:"text-2xl font-bold tracking-tight text-foreground mb-2 font-heading",children:a}),t&&e.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed max-w-sm mx-auto",children:t})]})]}),e.jsxs("div",{className:`mt-6 w-full ${s}`,children:[e.jsx("div",{className:"bg-card text-card-foreground py-8 px-6 rounded-xl border border-border shadow-sm sm:px-10",children:r}),e.jsx("div",{className:"mt-6 text-center",children:e.jsxs("p",{className:"text-xs text-muted-foreground/60 flex items-center justify-center gap-1.5",children:[e.jsx("span",{className:"h-2 w-2 rounded-full bg-success"}),"Secure login protected by SSL encryption"]})})]})]})}m.__docgenInfo={description:"",methods:[],displayName:"AuthLayout",props:{children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},title:{required:!0,tsType:{name:"string"},description:""},subtitle:{required:!1,tsType:{name:"string"},description:""},showBackButton:{required:!1,tsType:{name:"boolean"},description:"",defaultValue:{value:"false",computed:!1}},backHref:{required:!1,tsType:{name:"string"},description:"",defaultValue:{value:'"/"',computed:!1}},backLabel:{required:!1,tsType:{name:"string"},description:"",defaultValue:{value:'"Back to Home"',computed:!1}},wide:{required:!1,tsType:{name:"boolean"},description:"Use wider layout for forms with more content like signup",defaultValue:{value:"false",computed:!1}}}};export{m as A};