@planetaexo/design-system 0.68.0 → 0.68.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -14743,15 +14743,22 @@ function SiteFooter({
14743
14743
  }) }),
14744
14744
  badges && badges.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap items-center gap-5 pt-2", children: badges.map((b, i) => {
14745
14745
  var _a, _b;
14746
- const content = (_b = b.node) != null ? _b : /* @__PURE__ */ jsxRuntime.jsx(
14747
- "img",
14748
- {
14749
- src: b.src,
14750
- alt: b.alt,
14751
- style: { height: (_a = b.height) != null ? _a : 56 },
14752
- className: "block w-auto object-contain",
14753
- draggable: false
14754
- }
14746
+ const content = (_b = b.node) != null ? _b : (
14747
+ // Footer membership badges are below the fold. Lazy-load
14748
+ // them so their (large) source files don't load eagerly and
14749
+ // starve above-the-fold bandwidth / the LCP on slow mobile.
14750
+ /* @__PURE__ */ jsxRuntime.jsx(
14751
+ "img",
14752
+ {
14753
+ src: b.src,
14754
+ alt: b.alt,
14755
+ style: { height: (_a = b.height) != null ? _a : 56 },
14756
+ className: "block w-auto object-contain",
14757
+ loading: "lazy",
14758
+ decoding: "async",
14759
+ draggable: false
14760
+ }
14761
+ )
14755
14762
  );
14756
14763
  const wrapper = /* @__PURE__ */ jsxRuntime.jsx(
14757
14764
  "span",