@apolitical/component-library 10.2.6 → 10.3.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/index.mjs CHANGED
@@ -1056,13 +1056,13 @@ Thank you for helping to protect the Apolitical community from abusive content.`
1056
1056
  footer_community_join: "Who can join",
1057
1057
  footer_community_guidelines: "Guidelines & values",
1058
1058
  footer_company: "Company",
1059
+ footer_company_agl: "AGL",
1059
1060
  footer_company_news: "News",
1060
1061
  footer_company_insights: "Insights",
1061
1062
  footer_company_story: "Our story",
1062
1063
  footer_company_team: "Meet our team",
1063
1064
  footer_company_careers: "Careers",
1064
1065
  footer_company_partner: "Partner with us",
1065
- footer_company_contact: "Get in touch",
1066
1066
  footer_legal: "Legal",
1067
1067
  footer_legal_privacy: "Privacy policy",
1068
1068
  footer_legal_terms: "Terms & conditions",
@@ -26060,7 +26060,7 @@ const fF = Vo(() => Promise.resolve().then(() => gx)), E9 = [
26060
26060
  },
26061
26061
  {
26062
26062
  key: "microcourses",
26063
- href: "/microcourses/"
26063
+ href: "/courses/"
26064
26064
  },
26065
26065
  {
26066
26066
  key: "articles",
@@ -26627,7 +26627,7 @@ const Pd = "cookieBanner_", Rd = [
26627
26627
  order: ["events", "courses", "articles", "communities", "aiCampus", "climateCampus"],
26628
26628
  // An array guarantees the right order
26629
26629
  events: { href: "/events/", gtmType: "events-click" },
26630
- courses: { href: "/microcourses/", gtmType: "microcourses-click" },
26630
+ courses: { href: "/courses/", gtmType: "courses-click" },
26631
26631
  articles: { href: "/articles/", gtmType: "articles-click" },
26632
26632
  communities: { href: "/communities/", gtmType: "communities-click" },
26633
26633
  aiCampus: { href: "/pages/government-ai-campus", gtmType: "ai-campus-click" },
@@ -26654,7 +26654,11 @@ const Pd = "cookieBanner_", Rd = [
26654
26654
  }
26655
26655
  },
26656
26656
  company: {
26657
- order: ["news", "insights", "story", "team", "careers", "partner", "contact"],
26657
+ order: ["agl", "news", "insights", "story", "team", "careers", "partner"],
26658
+ agl: {
26659
+ href: "https://aglintelligence.com",
26660
+ gtmType: "agl-click"
26661
+ },
26658
26662
  news: {
26659
26663
  href: "/learning-hub/updates/",
26660
26664
  gtmType: "news-click"
@@ -26676,10 +26680,6 @@ const Pd = "cookieBanner_", Rd = [
26676
26680
  gtmType: "careers-click"
26677
26681
  },
26678
26682
  partner: { href: "/partnerships/", gtmType: "partner-with-us-click" },
26679
- contact: {
26680
- href: "/pages/get-in-touch",
26681
- gtmType: "contact-click"
26682
- },
26683
26683
  child: "legal"
26684
26684
  },
26685
26685
  legal: {
@@ -26753,7 +26753,7 @@ const Ao = "footer_", qc = "SiteFooter", bF = ({ group: e, keyName: t }) => {
26753
26753
  if (["order", "child", "text"].includes(r))
26754
26754
  return null;
26755
26755
  const { href: i, gtmType: a } = hi[e][r], o = {};
26756
- return ["legal"].includes(e) && (o.target = "_blank", o.rel = "noopener"), /* @__PURE__ */ h.jsx("li", { children: /* @__PURE__ */ h.jsx(
26756
+ return (["legal"].includes(e) || i.startsWith("http")) && (o.target = "_blank", o.rel = "noopener"), /* @__PURE__ */ h.jsx("li", { children: /* @__PURE__ */ h.jsx(
26757
26757
  "a",
26758
26758
  {
26759
26759
  href: i,
@@ -46603,8 +46603,8 @@ const Et = {
46603
46603
  order: ["events", "courses", "articles", "communities"],
46604
46604
  events: { href: "/events/", className: "icon events" },
46605
46605
  courses: {
46606
- href: "/microcourses/",
46607
- gtmType: "microcourses-click",
46606
+ href: "/courses/",
46607
+ gtmType: "courses-click",
46608
46608
  className: "icon courses"
46609
46609
  },
46610
46610
  articles: {
@@ -50433,7 +50433,7 @@ const voe = ({
50433
50433
  gtmEvent: "event"
50434
50434
  },
50435
50435
  microcourse: {
50436
- basePath: "/microcourses/en/",
50436
+ basePath: "/courses",
50437
50437
  className: "course",
50438
50438
  gtmEvent: "microcourse-overview"
50439
50439
  // 'overview' is needed for legacy reasons
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apolitical/component-library",
3
- "version": "10.2.6",
3
+ "version": "10.3.1",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {