@anoki/fse-marche-ui
Version:
FSE UI components library
46 lines (45 loc) • 1.85 kB
JavaScript
import { j as e } from "./index.es137.js";
import { Container as m } from "./index.es6.js";
import { Divider as c } from "./index.es153.js";
import './components/navigations/Footer/Footer.css';/* empty css */
import { clsx as x } from "./index.es139.js";
import { FseMS as f } from "./index.es86.js";
import { FseMEF as p } from "./index.es84.js";
import { FseUE as d } from "./index.es87.js";
import { FseDGT as h } from "./index.es83.js";
const T = ({
footerLinks: s,
version: i,
asLink: t = "a",
className: a
}) => {
const l = t, n = [
f,
p,
d,
h
];
return /* @__PURE__ */ e.jsx("footer", { className: x("bg-slate-20", a), children: /* @__PURE__ */ e.jsxs(m, { children: [
/* @__PURE__ */ e.jsx("section", { className: "ui-footer-institution-logos", children: n.map((r, o) => /* @__PURE__ */ e.jsx(r, { className: "ui-footer-logo" }, o)) }),
/* @__PURE__ */ e.jsx(c, {}),
/* @__PURE__ */ e.jsxs("section", { className: "ui-footer-links-container", children: [
/* @__PURE__ */ e.jsx("h3", { className: "visually-hidden", children: "Sezione Link Utili" }),
/* @__PURE__ */ e.jsx("ul", { className: "ui-footer-links-list", role: "list", children: s == null ? void 0 : s.map((r, o) => /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsx(
l,
{
href: r.href,
target: r.target ?? "_self",
className: "text-white fs-6 fw-semibold text-decoration-underline",
"aria-label": `Vai alla pagina: ${r.label}`,
rel: r.target === "_blank" ? "noopener noreferrer" : void 0,
children: r.label
}
) }, o)) }),
/* @__PURE__ */ e.jsx("span", { className: "text-white fw-normal ui-footer-version", children: i })
] })
] }) });
};
export {
T as Footer
};
//# sourceMappingURL=index.es16.js.map