Files
soorya-carpet/bootstrap/ssr/assets/auth-layout-iyjWmxzQ.js
admin eba9e5f182
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled
chore: frontend build
2025-10-27 15:27:26 +05:45

42 lines
1.7 KiB
JavaScript

import { jsx, jsxs } from "react/jsx-runtime";
import { A as AppLogoIcon } from "./app-logo-icon-kpljnLMz.js";
import { h as home } from "./index-CY6fYws-.js";
import { Link } from "@inertiajs/react";
function AuthSimpleLayout({
children,
title,
description
}) {
return /* @__PURE__ */ jsx("div", { className: "flex min-h-svh flex-col items-center justify-center gap-6 bg-background p-6 md:p-10", children: /* @__PURE__ */ jsx("div", { className: "w-full max-w-sm", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-8", children: [
/* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center gap-4", children: [
/* @__PURE__ */ jsxs(
Link,
{
href: home(),
className: "flex flex-col items-center gap-2 font-medium",
children: [
/* @__PURE__ */ jsx("div", { className: "mb-1 flex h-9 w-9 items-center justify-center rounded-md", children: /* @__PURE__ */ jsx(AppLogoIcon, { className: "size-9 fill-current text-[var(--foreground)] dark:text-white" }) }),
/* @__PURE__ */ jsx("span", { className: "sr-only", children: title })
]
}
),
/* @__PURE__ */ jsxs("div", { className: "space-y-2 text-center", children: [
/* @__PURE__ */ jsx("h1", { className: "text-xl font-medium", children: title }),
/* @__PURE__ */ jsx("p", { className: "text-center text-sm text-muted-foreground", children: description })
] })
] }),
children
] }) }) });
}
function AuthLayout({
children,
title,
description,
...props
}) {
return /* @__PURE__ */ jsx(AuthSimpleLayout, { title, description, ...props, children });
}
export {
AuthLayout as A
};