@anoki/fse-ui
Version:
FSE UI components library
59 lines (58 loc) • 1.47 kB
JavaScript
import { j as e } from "./index.es244.js";
import { HeaderMobile as j } from "./index.es298.js";
import { HeaderDesktop as h } from "./index.es299.js";
import { useMediaQuery as l } from "./index.es281.js";
import './components/navigations/Header/Header.css';/* empty css */
import { Lazio as H } from "./index.es171.js";
import { Marche as n } from "./index.es172.js";
import { Fse as z } from "./index.es168.js";
const w = {
nazionale: z,
marche: n,
lazio: H
}, y = ({
title: d,
region: m,
shortTitle: a,
asLink: i = "a",
navigatonItems: r,
labels: s,
supportLink: o,
loginLink: t,
headerTitleClassname: c,
headerLogoUrl2: p,
children: x
}) => {
const f = l("(min-width: 1200px)");
return /* @__PURE__ */ e.jsx(e.Fragment, { children: f ? /* @__PURE__ */ e.jsx("div", { className: "desktopHeader", children: /* @__PURE__ */ e.jsx(
h,
{
title: d,
region: m,
asLink: i,
labels: s,
navigatonItems: r,
supportLink: o,
loginLink: t,
shortTitle: a,
headerTitleClassname: c,
headerLogoUrl2: p,
children: x
}
) }) : /* @__PURE__ */ e.jsx("div", { className: "mobileHeader", children: /* @__PURE__ */ e.jsx(
j,
{
shortTitle: a,
region: m,
asLink: i,
navigatonItems: o ? [...r, o] : r,
labels: s,
loginLink: t
}
) }) });
};
export {
y as Header,
w as LOGOS
};
//# sourceMappingURL=index.es27.js.map