@burdenoff/website-sdk 2026.805.1 → 2026.813.2
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/components/contact.js +20 -3
- package/dist/components/contact.js.map +1 -1
- package/dist/components/contact.mjs +20 -3
- package/dist/components/contact.mjs.map +1 -1
- package/dist/components/newsletter.js +20 -3
- package/dist/components/newsletter.js.map +1 -1
- package/dist/components/newsletter.mjs +20 -3
- package/dist/components/newsletter.mjs.map +1 -1
- package/dist/components/partners.js +20 -3
- package/dist/components/partners.js.map +1 -1
- package/dist/components/partners.mjs +20 -3
- package/dist/components/partners.mjs.map +1 -1
- package/dist/components/pricing.js +20 -3
- package/dist/components/pricing.js.map +1 -1
- package/dist/components/pricing.mjs +20 -3
- package/dist/components/pricing.mjs.map +1 -1
- package/dist/components/unsubscribe.js +20 -3
- package/dist/components/unsubscribe.js.map +1 -1
- package/dist/components/unsubscribe.mjs +20 -3
- package/dist/components/unsubscribe.mjs.map +1 -1
- package/dist/components/waitlist.js +20 -3
- package/dist/components/waitlist.js.map +1 -1
- package/dist/components/waitlist.mjs +20 -3
- package/dist/components/waitlist.mjs.map +1 -1
- package/dist/content/index.js +20 -3
- package/dist/content/index.js.map +1 -1
- package/dist/content/index.mjs +20 -3
- package/dist/content/index.mjs.map +1 -1
- package/dist/index.js +27 -10
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +27 -10
- package/dist/index.mjs.map +1 -1
- package/dist/seo/index.js +20 -3
- package/dist/seo/index.js.map +1 -1
- package/dist/seo/index.mjs +20 -3
- package/dist/seo/index.mjs.map +1 -1
- package/dist/store/index.js +20 -3
- package/dist/store/index.js.map +1 -1
- package/dist/store/index.mjs +20 -3
- package/dist/store/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -434,6 +434,22 @@ function useProductConfig() {
|
|
|
434
434
|
logoUrl: product?.logoUrl ?? null
|
|
435
435
|
};
|
|
436
436
|
}
|
|
437
|
+
function canonicalFromLocation() {
|
|
438
|
+
if (typeof window === "undefined" || !window.location) return void 0;
|
|
439
|
+
const { origin, pathname } = window.location;
|
|
440
|
+
if (!origin || origin === "null") return void 0;
|
|
441
|
+
const path = pathname === "/" ? "/" : pathname.replace(/\/+$/, "");
|
|
442
|
+
return `${origin}${path}`;
|
|
443
|
+
}
|
|
444
|
+
function resolveImageUrl(image, base) {
|
|
445
|
+
if (!image || /^https?:\/\//i.test(image)) return image;
|
|
446
|
+
if (!base) return image;
|
|
447
|
+
try {
|
|
448
|
+
return new URL(image, base).toString();
|
|
449
|
+
} catch {
|
|
450
|
+
return image;
|
|
451
|
+
}
|
|
452
|
+
}
|
|
437
453
|
function PageHead({
|
|
438
454
|
title,
|
|
439
455
|
description,
|
|
@@ -450,7 +466,8 @@ function PageHead({
|
|
|
450
466
|
additionalMeta
|
|
451
467
|
}) {
|
|
452
468
|
const fullTitle = productName && !title.includes(productName) ? `${title} | ${productName}` : title;
|
|
453
|
-
const
|
|
469
|
+
const resolvedUrl = url ?? canonicalFromLocation();
|
|
470
|
+
const fullImageUrl = resolveImageUrl(image, resolvedUrl);
|
|
454
471
|
const structuredDataItems = structuredData ? Array.isArray(structuredData) ? structuredData : [structuredData] : [];
|
|
455
472
|
return /* @__PURE__ */ jsxs(Helmet, { children: [
|
|
456
473
|
/* @__PURE__ */ jsx("title", { children: fullTitle }),
|
|
@@ -459,13 +476,13 @@ function PageHead({
|
|
|
459
476
|
keywords && /* @__PURE__ */ jsx("meta", { name: "keywords", content: keywords }),
|
|
460
477
|
/* @__PURE__ */ jsx("meta", { name: "author", content: "Burdenoff Consultancy Services Pvt Ltd" }),
|
|
461
478
|
/* @__PURE__ */ jsx("meta", { name: "robots", content: robots }),
|
|
462
|
-
|
|
479
|
+
resolvedUrl && /* @__PURE__ */ jsx("link", { rel: "canonical", href: resolvedUrl }),
|
|
463
480
|
favicon && /* @__PURE__ */ jsx("link", { rel: "icon", href: favicon }),
|
|
464
481
|
/* @__PURE__ */ jsx("meta", { property: "og:type", content: "website" }),
|
|
465
482
|
/* @__PURE__ */ jsx("meta", { property: "og:title", content: fullTitle }),
|
|
466
483
|
description && /* @__PURE__ */ jsx("meta", { property: "og:description", content: description }),
|
|
467
484
|
fullImageUrl && /* @__PURE__ */ jsx("meta", { property: "og:image", content: fullImageUrl }),
|
|
468
|
-
|
|
485
|
+
resolvedUrl && /* @__PURE__ */ jsx("meta", { property: "og:url", content: resolvedUrl }),
|
|
469
486
|
/* @__PURE__ */ jsx("meta", { property: "og:locale", content: locale }),
|
|
470
487
|
productName && /* @__PURE__ */ jsx("meta", { property: "og:site_name", content: productName }),
|
|
471
488
|
/* @__PURE__ */ jsx("meta", { name: "twitter:card", content: "summary_large_image" }),
|
|
@@ -8908,8 +8925,8 @@ var ECOSYSTEM_PRODUCTS = [
|
|
|
8908
8925
|
name: "FluidGrids",
|
|
8909
8926
|
websiteUrl: "https://fluidgrids.com"
|
|
8910
8927
|
},
|
|
8911
|
-
//
|
|
8912
|
-
{ slug: "botlit", name: "
|
|
8928
|
+
// Botlit ships on botlit.ai — botlit.com does not resolve.
|
|
8929
|
+
{ slug: "botlit", name: "Botlit", websiteUrl: "https://www.botlit.ai" },
|
|
8913
8930
|
{
|
|
8914
8931
|
slug: "bigconsole",
|
|
8915
8932
|
name: "BigConsole",
|
|
@@ -8922,7 +8939,7 @@ var ECOSYSTEM_PRODUCTS = [
|
|
|
8922
8939
|
},
|
|
8923
8940
|
{
|
|
8924
8941
|
slug: "intelwatchtower",
|
|
8925
|
-
name: "
|
|
8942
|
+
name: "IntelWatchtower",
|
|
8926
8943
|
websiteUrl: "https://intelwatchtower.com"
|
|
8927
8944
|
},
|
|
8928
8945
|
{ slug: "buildmyiq", name: "BuildMyIQ", websiteUrl: "https://buildmyiq.com" },
|
|
@@ -8948,7 +8965,7 @@ var ECOSYSTEM_PRODUCTS = [
|
|
|
8948
8965
|
},
|
|
8949
8966
|
{
|
|
8950
8967
|
slug: "headshotmarketing",
|
|
8951
|
-
name: "HeadshotMarketing
|
|
8968
|
+
name: "HeadshotMarketing",
|
|
8952
8969
|
websiteUrl: "https://headshotmarketing.com"
|
|
8953
8970
|
},
|
|
8954
8971
|
{
|
|
@@ -8964,13 +8981,13 @@ var ECOSYSTEM_PRODUCTS = [
|
|
|
8964
8981
|
},
|
|
8965
8982
|
{
|
|
8966
8983
|
slug: "healthybowl",
|
|
8967
|
-
name: "
|
|
8984
|
+
name: "Healthy Bowl",
|
|
8968
8985
|
websiteUrl: "https://gethealthybowl.com"
|
|
8969
8986
|
},
|
|
8970
8987
|
{ slug: "ggnomad", name: "GGNomad", websiteUrl: "https://ggnomad.com" },
|
|
8971
8988
|
{
|
|
8972
8989
|
slug: "timecampus",
|
|
8973
|
-
name: "TimeCampus
|
|
8990
|
+
name: "TimeCampus",
|
|
8974
8991
|
websiteUrl: "https://timecampus.com"
|
|
8975
8992
|
},
|
|
8976
8993
|
{
|
|
@@ -9036,7 +9053,7 @@ var ECOSYSTEM_PRODUCTS = [
|
|
|
9036
9053
|
},
|
|
9037
9054
|
{
|
|
9038
9055
|
slug: "subscriberbot",
|
|
9039
|
-
name: "
|
|
9056
|
+
name: "Subscriber Bot",
|
|
9040
9057
|
websiteUrl: "https://subscriberbot.com"
|
|
9041
9058
|
},
|
|
9042
9059
|
{
|