@biggive/components 202410151606.0.0 → 202410171010.0.0

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.
@@ -569,7 +569,7 @@ const BiggiveFooter = class {
569
569
  return (index.h("footer", { class: "footer" }, index.h("div", { class: "row row-top" }, index.h("nav", { class: "nav nav-primary", "aria-labelledby": "footer-primary-heading" }, index.h(HeadingTag, { class: "heading", id: "footer-primary-heading" }, index.h("slot", { name: "nav-primary-title" }))), index.h("nav", { class: "nav nav-secondary", "aria-labelledby": "footer-secondary-heading-heading" }, index.h(HeadingTag, { class: "heading", id: "footer-secondary-heading" }, index.h("slot", { name: "nav-secondary-title" }))), index.h("nav", { class: "nav nav-tertiary", "aria-labelledby": "footer-tertiary-heading" }, index.h(HeadingTag, { class: "heading", id: "footer-tertiary-heading" }, index.h("slot", { name: "nav-tertiary-title" }))), index.h("div", { class: "button-wrap" }, index.h("biggive-button", { "colour-scheme": "white", url: "https://biggive.org/charities", label: "For charities" }), index.h("biggive-button", { "colour-scheme": "white", url: "https://biggive.org/funders", label: "For funders" }))), index.h("div", { class: "row row-bottom" }, index.h("div", { class: "postscript-wrap" }, index.h("img", { class: "fr-logo", src: index.getAssetPath('assets/images/fundraising-regulator.png'), alt: "Registered with FUNDRAISING REGULATOR" }), index.h("nav", { class: "nav nav-postscript", "aria-label": "Legal" })), index.h("div", { class: "social-icon-wrap" }, index.h("slot", { name: "social-icons" })), index.h("p", null, "\u00A9 2007 \u2013 ", this.year, " The Big Give Trust (1136547) | Company number 07273065 | Dragon Court, 27-29 Macklin Street, London WC2B 5LX, United Kingdom"))));
570
570
  };
571
571
  const presetFooter = () => {
572
- return (index.h("footer", { class: "footer" }, index.h("div", { class: "row row-top" }, index.h("nav", { class: "nav nav-primary", "aria-labelledby": "footer-primary-heading" }, index.h(HeadingTag, { class: "heading", id: "footer-primary-heading" }, index.h("div", { slot: "nav-primary-title" }, "Match Funding Opportunities")), index.h("ul", { slot: "nav-primary" }, index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'christmas-challenge'), class: "icon-christmas" }, "Christmas Challenge")), index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'green-match-fund'), class: "icon-green" }, "Green Match Fund")), index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'champions-for-children'), class: "icon-children" }, "Champions for Children")), index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'women-girls-match-fund'), class: "icon-women-girls" }, "Women and Girls Match Fund")), index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'kind2mind/'), class: "icon-mental-health" }, "Kind\u00B2Mind")), index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'artsforimpact'), class: "icon-arts" }, "Arts for Impact")), index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'emergency-campaigns/'), class: "icon-emergency" }, "Emergency Match Fund")), index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'run-your-own-campaign/)') }, "Run your own campaign")))), index.h("nav", { class: "nav nav-secondary", "aria-labelledby": "footer-secondary-heading-heading" }, index.h(HeadingTag, { class: "heading", id: "footer-secondary-heading" }, index.h("div", { slot: "nav-secondary-title" }, "Resources")), index.h("ul", { slot: "nav-secondary" }, index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'case-studies') }, "Case Studies")), index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'blog') }, "Blog")), index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'reports-insights') }, "Reports & Insights")), index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'press') }, "Press")))), index.h("nav", { class: "nav nav-tertiary", "aria-labelledby": "footer-tertiary-heading" }, index.h(HeadingTag, { class: "heading", id: "footer-tertiary-heading" }, index.h("div", { slot: "nav-tertiary-title" }, "About")), index.h("ul", { slot: "nav-tertiary" }, index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'faqs') }, "Contact us")), index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'our-story') }, "Our Story")), index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'our-people') }, "Our People")), index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'donation-funds') }, "Donate by Bank Transfer")), index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'our-fees') }, "Our Fees")), index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'careers') }, "Careers")), index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'faqs') }, "FAQs")))), index.h("div", { class: "button-wrap" }, index.h("biggive-button", { "colour-scheme": "white", url: makeURL('Blog', this.blogUrlPrefix, 'charities'), label: "For charities" }), index.h("biggive-button", { "colour-scheme": "white", url: makeURL('Blog', this.blogUrlPrefix, 'funders'), label: "For funders" }))), index.h("div", { class: "row row-bottom" }, index.h("div", { class: "postscript-wrap" }, index.h("img", { class: "fr-logo", src: index.getAssetPath('assets/images/fundraising-regulator.png'), alt: "Registered with FUNDRAISING REGULATOR" }), index.h("nav", { class: "nav nav-postscript", "aria-label": "Legal" }, index.h("ul", { slot: "nav-postscript" }, index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'terms-and-conditions') }, "Terms and Conditions")), index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'privacy') }, "Privacy Statement")), index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'privacy#cookies') }, "Cookies Statement")), index.h("li", null, index.h("a", { href: makeURL('Donate', this.donateUrlPrefix, 'cookie-preferences') }, "Cookies Preference Centre"))))), index.h("div", { class: "social-icon-wrap" }, index.h("div", { slot: "social-icons" }, index.h("biggive-social-icon", { service: "Facebook", url: "https://www.facebook.com/BigGive.org", "background-colour": "tertiary", "icon-colour": "black", wide: true }), index.h("biggive-social-icon", { service: "Twitter", url: "https://twitter.com/BigGive", "background-colour": "tertiary", "icon-colour": "black", wide: true }), index.h("biggive-social-icon", { service: "LinkedIn", url: "https://uk.linkedin.com/company/big-give", "background-colour": "tertiary", "icon-colour": "black", wide: true }), index.h("biggive-social-icon", { service: "YouTube", url: "https://www.youtube.com/channel/UC9_wH1aaTuZurJ-F9R8GDcA", "background-colour": "tertiary", "icon-colour": "black", wide: true }), index.h("biggive-social-icon", { service: "Instagram", url: "https://www.instagram.com/biggiveorg", "background-colour": "tertiary", "icon-colour": "black" }))), index.h("p", null, "\u00A9 2007 \u2013 ", this.year, " The Big Give Trust (1136547) | Company number 07273065 | Dragon Court, 27-29 Macklin Street, London WC2B 5LX, United Kingdom"))));
572
+ return (index.h("footer", { class: "footer" }, index.h("div", { class: "row row-top" }, index.h("nav", { class: "nav nav-primary", "aria-labelledby": "footer-primary-heading" }, index.h(HeadingTag, { class: "heading", id: "footer-primary-heading" }, index.h("div", { slot: "nav-primary-title" }, "Match Funding Opportunities")), index.h("ul", { slot: "nav-primary" }, index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'christmas-challenge'), class: "icon-christmas" }, "Christmas Challenge")), index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'green-match-fund'), class: "icon-green" }, "Green Match Fund")), index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'champions-for-children'), class: "icon-children" }, "Champions for Children")), index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'women-girls-match-fund'), class: "icon-women-girls" }, "Women and Girls Match Fund")), index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'kind2mind/'), class: "icon-mental-health" }, "Kind\u00B2Mind")), index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'artsforimpact'), class: "icon-arts" }, "Arts for Impact")), index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'emergency-campaigns/'), class: "icon-emergency" }, "Emergency Match Fund")), index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'run-your-own-campaign/)') }, "Run your own campaign")))), index.h("nav", { class: "nav nav-secondary", "aria-labelledby": "footer-secondary-heading-heading" }, index.h(HeadingTag, { class: "heading", id: "footer-secondary-heading" }, index.h("div", { slot: "nav-secondary-title" }, "Resources")), index.h("ul", { slot: "nav-secondary" }, index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'case-studies') }, "Case Studies")), index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'blog') }, "Blog")), index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'reports-insights') }, "Reports & Insights")), index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'press') }, "Press")))), index.h("nav", { class: "nav nav-tertiary", "aria-labelledby": "footer-tertiary-heading" }, index.h(HeadingTag, { class: "heading", id: "footer-tertiary-heading" }, index.h("div", { slot: "nav-tertiary-title" }, "About")), index.h("ul", { slot: "nav-tertiary" }, index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'support') }, "Support")), index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'our-story') }, "Our Story")), index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'our-people') }, "Our People")), index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'donation-funds') }, "Donate by Bank Transfer")), index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'our-fees') }, "Our Fees")), index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'careers') }, "Careers")), index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'faqs') }, "FAQs")))), index.h("div", { class: "button-wrap" }, index.h("biggive-button", { "colour-scheme": "white", url: makeURL('Blog', this.blogUrlPrefix, 'charities'), label: "For charities" }), index.h("biggive-button", { "colour-scheme": "white", url: makeURL('Blog', this.blogUrlPrefix, 'funders'), label: "For funders" }))), index.h("div", { class: "row row-bottom" }, index.h("div", { class: "postscript-wrap" }, index.h("img", { class: "fr-logo", src: index.getAssetPath('assets/images/fundraising-regulator.png'), alt: "Registered with FUNDRAISING REGULATOR" }), index.h("nav", { class: "nav nav-postscript", "aria-label": "Legal" }, index.h("ul", { slot: "nav-postscript" }, index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'terms-and-conditions') }, "Terms and Conditions")), index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'privacy') }, "Privacy Statement")), index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'privacy#cookies') }, "Cookies Statement")), index.h("li", null, index.h("a", { href: makeURL('Donate', this.donateUrlPrefix, 'cookie-preferences') }, "Cookies Preference Centre"))))), index.h("div", { class: "social-icon-wrap" }, index.h("div", { slot: "social-icons" }, index.h("biggive-social-icon", { service: "Facebook", url: "https://www.facebook.com/BigGive.org", "background-colour": "tertiary", "icon-colour": "black", wide: true }), index.h("biggive-social-icon", { service: "Twitter", url: "https://twitter.com/BigGive", "background-colour": "tertiary", "icon-colour": "black", wide: true }), index.h("biggive-social-icon", { service: "LinkedIn", url: "https://uk.linkedin.com/company/big-give", "background-colour": "tertiary", "icon-colour": "black", wide: true }), index.h("biggive-social-icon", { service: "YouTube", url: "https://www.youtube.com/channel/UC9_wH1aaTuZurJ-F9R8GDcA", "background-colour": "tertiary", "icon-colour": "black", wide: true }), index.h("biggive-social-icon", { service: "Instagram", url: "https://www.instagram.com/biggiveorg", "background-colour": "tertiary", "icon-colour": "black" }))), index.h("p", null, "\u00A9 2007 \u2013 ", this.year, " The Big Give Trust (1136547) | Company number 07273065 | Dragon Court, 27-29 Macklin Street, London WC2B 5LX, United Kingdom"))));
573
573
  };
574
574
  return this.usePresetFooter ? presetFooter() : slotBasedFooter();
575
575
  }
@@ -984,7 +984,7 @@ const BiggiveMainMenu = class {
984
984
  });
985
985
  }
986
986
  getSecondaryNavLinks() {
987
- return (index.h("ul", null, this.myAccountFlagEnabled && !this.isLoggedIn && (index.h("li", null, index.h("a", { href: makeURL('Donate', this.donateUrlPrefix, 'login') }, "Donor Login"))), this.isLoggedIn && (index.h("li", null, index.h("a", { href: makeURL('Donate', this.donateUrlPrefix, 'my-account') }, "My Account"))), index.h("li", null, index.h("a", { href: makeURL('Experience', this.experienceUrlPrefix, 'charities/s/login') }, "Charity Login")), index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'faqs') }, "Contact Us"))));
987
+ return (index.h("ul", null, this.myAccountFlagEnabled && !this.isLoggedIn && (index.h("li", null, index.h("a", { href: makeURL('Donate', this.donateUrlPrefix, 'login') }, "Donor Login"))), this.isLoggedIn && (index.h("li", null, index.h("a", { href: makeURL('Donate', this.donateUrlPrefix, 'my-account') }, "My Account"))), index.h("li", null, index.h("a", { href: makeURL('Experience', this.experienceUrlPrefix, 'charities/s/login') }, "Charity Login")), index.h("li", null, index.h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'support') }, "Support"))));
988
988
  }
989
989
  render() {
990
990
  /** ten minutes in advance to account for a *very* slow browser following the link and/or clock skew.