@biggive/components 202407051353.0.0 → 202408060829.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.
- package/dist/biggive/biggive.esm.js +1 -1
- package/dist/biggive/{p-f7b4e792.entry.js → p-0951806b.entry.js} +2 -2
- package/dist/biggive/p-0951806b.entry.js.map +1 -0
- package/dist/cjs/biggive-accordion_40.cjs.entry.js +3 -2
- package/dist/cjs/biggive-accordion_40.cjs.entry.js.map +1 -1
- package/dist/collection/components/biggive-footer/biggive-footer.js +3 -2
- package/dist/collection/components/biggive-footer/biggive-footer.js.map +1 -1
- package/dist/collection/components/biggive-footer/test/biggive-footer.spec.js +2 -1
- package/dist/collection/components/biggive-footer/test/biggive-footer.spec.js.map +1 -1
- package/dist/components/biggive-footer.js +3 -2
- package/dist/components/biggive-footer.js.map +1 -1
- package/dist/esm/biggive-accordion_40.entry.js +3 -2
- package/dist/esm/biggive-accordion_40.entry.js.map +1 -1
- package/dist/types/components/biggive-footer/biggive-footer.d.ts +1 -0
- package/hydrate/index.js +3 -2
- package/package.json +1 -1
- package/dist/biggive/p-f7b4e792.entry.js.map +0 -1
|
@@ -540,6 +540,7 @@ const BiggiveFooterStyle0 = biggiveFooterCss;
|
|
|
540
540
|
const BiggiveFooter = class {
|
|
541
541
|
constructor(hostRef) {
|
|
542
542
|
index.registerInstance(this, hostRef);
|
|
543
|
+
this.year = new Date().getFullYear().toString();
|
|
543
544
|
this.headingLevel = 5;
|
|
544
545
|
this.donateUrlPrefix = undefined;
|
|
545
546
|
this.blogUrlPrefix = undefined;
|
|
@@ -563,10 +564,10 @@ const BiggiveFooter = class {
|
|
|
563
564
|
render() {
|
|
564
565
|
const HeadingTag = `h${this.headingLevel}`;
|
|
565
566
|
const slotBasedFooter = () => {
|
|
566
|
-
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
|
|
567
|
+
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"))));
|
|
567
568
|
};
|
|
568
569
|
const presetFooter = () => {
|
|
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("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
|
|
570
|
+
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"))));
|
|
570
571
|
};
|
|
571
572
|
return this.usePresetFooter ? presetFooter() : slotBasedFooter();
|
|
572
573
|
}
|