UNPKG

@anoki/fse-ui

Version:

FSE UI components library

56 lines (55 loc) 1.66 kB
import { j as e } from "./index.es278.js"; import { Container as d } from "./index.es91.js"; import { LOGOS as n } from "./index.es161.js"; import { Divider as x } from "./index.es104.js"; import { clsx as t } from "./index.es280.js"; import { Row as h } from "./index.es219.js"; const u = ({ asLink: o = "a", shortTitle: i, region: r = "marche", className: a, variant: s = "default" }) => { const c = o, l = n.nazionale, m = n[r]; return /* @__PURE__ */ e.jsx( "div", { className: t( s === "operator" ? "header-top-banner" : "", "bg-white" ), children: /* @__PURE__ */ e.jsxs( d, { className: t("min-h-x48 base-row align-items-center", a), display: "flex", alignItems: "center", gap: "x16", py: "x8", children: [ /* @__PURE__ */ e.jsxs(h, { alignItems: "center", gap: "x8", children: [ /* @__PURE__ */ e.jsx(l, { width: 28, height: 28 }), r !== "nazionale" && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [ /* @__PURE__ */ e.jsx(x, { direction: "vertical", bg: "border-divider" }), /* @__PURE__ */ e.jsx(m, { width: 28, height: 28 }) ] }) ] }), /* @__PURE__ */ e.jsx( c, { href: "/", className: "fs-7 text-decoration-none text-slate-20 fw-regular d-block hover-underline", children: i } ) ] } ) } ); }; export { u as HeaderTopBanner }; //# sourceMappingURL=index.es165.js.map