@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.js CHANGED
@@ -14722,15 +14722,22 @@ function SiteFooter({
14722
14722
  }) }),
14723
14723
  badges && badges.length > 0 && /* @__PURE__ */ jsx("div", { className: "flex flex-wrap items-center gap-5 pt-2", children: badges.map((b, i) => {
14724
14724
  var _a, _b;
14725
- const content = (_b = b.node) != null ? _b : /* @__PURE__ */ jsx(
14726
- "img",
14727
- {
14728
- src: b.src,
14729
- alt: b.alt,
14730
- style: { height: (_a = b.height) != null ? _a : 56 },
14731
- className: "block w-auto object-contain",
14732
- draggable: false
14733
- }
14725
+ const content = (_b = b.node) != null ? _b : (
14726
+ // Footer membership badges are below the fold. Lazy-load
14727
+ // them so their (large) source files don't load eagerly and
14728
+ // starve above-the-fold bandwidth / the LCP on slow mobile.
14729
+ /* @__PURE__ */ jsx(
14730
+ "img",
14731
+ {
14732
+ src: b.src,
14733
+ alt: b.alt,
14734
+ style: { height: (_a = b.height) != null ? _a : 56 },
14735
+ className: "block w-auto object-contain",
14736
+ loading: "lazy",
14737
+ decoding: "async",
14738
+ draggable: false
14739
+ }
14740
+ )
14734
14741
  );
14735
14742
  const wrapper = /* @__PURE__ */ jsx(
14736
14743
  "span",