@biggive/components 202303301223.0.0 → 202304051358.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-47d3c810.entry.js → p-c7f99361.entry.js} +1 -1
- package/dist/cjs/biggive-accordion_43.cjs.entry.js +10 -4
- package/dist/collection/components/biggive-footer/biggive-footer.css +1 -1
- package/dist/collection/components/biggive-footer/biggive-footer.js +1 -1
- package/dist/collection/components/biggive-main-menu/biggive-main-menu.js +8 -2
- package/dist/components/biggive-footer.js +2 -2
- package/dist/components/biggive-main-menu.js +8 -2
- package/dist/esm/biggive-accordion_43.entry.js +10 -4
- package/hydrate/index.js +10 -4
- package/package.json +1 -1
|
@@ -578,7 +578,7 @@ const makeURL = (urlType, urlPrefix, relativeUrl) => {
|
|
|
578
578
|
return urlPrefix + '/' + relativeUrl;
|
|
579
579
|
};
|
|
580
580
|
|
|
581
|
-
const biggiveFooterCss = "a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}:host{display:contents}.footer{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;color:#FFFFFF}nav{width:calc(33.3% - 20px);margin:0;padding:0}nav .heading{font-size:17px;line-height:24px;font-weight:bold;border-bottom:1px solid #FFFFFF;padding-bottom:10px;margin-bottom:10px}nav ul{margin:0;padding:0}nav ul li{margin:0;padding:0;list-style-type:none;margin-top:15px}nav ul li a{color:#FFFFFF;text-decoration:none}nav ul li a[class^=icon-],nav ul li a[class*=icon-]{padding-left:20px;background-repeat:no-repeat;background-size:auto 10px;background-position:left center}nav ul li a.icon-green{background-image:url(/assets/images/triangles-combined-green-match-white.svg)}nav ul li a.icon-children{background-image:url(/assets/images/triangles-combined-children-white.svg)}nav ul li a.icon-christmas{background-image:url(/assets/images/triangles-combined-christmas-challenge-white.svg)}nav ul li a.icon-green-match{background-image:url(/assets/images/triangles-combined-green-match-white.svg)}nav ul li a.icon-women-girls{background-image:url(/assets/images/triangles-combined-women-girls-white.svg)}nav ul li a.icon-mental-health{background-image:url(/assets/images/triangles-combined-mental-health-white.svg)}nav ul li a.icon-anchor-match{background-image:url(/assets/images/triangles-combined-anchor-white.svg)}nav ul li a.icon-emergency{background-image:url(/assets/images/triangles-combined-emergency-white.svg)}.row-top{background-image:url(/assets/images/biggive-triangle-green.svg);background-repeat:no-repeat;background-size:auto 75px;background-position:60px 30px;background-color:#2C089B;padding:100px 60px 60px 60px;display:flex;flex-wrap:wrap;justify-content:space-between}.row-top .button-wrap{margin-top:60px;width:100%;display:flex;flex-wrap:wrap;justify-content:space-between}footer .row-bottom{background-color:#000000;padding:60px 60px 15px 60px;border-top:1px solid #FFFFFF}footer .row-bottom .fr-logo{width:135px}footer .row-bottom .postscript-wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between}@media screen and (max-width: 768px){footer .row-bottom .postscript-wrap{flex-direction:column}}footer .row-bottom .nav.nav-postscript{text-align:right;flex-grow:1}@media screen and (max-width: 768px){footer .row-bottom .nav.nav-postscript{text-align:center}}footer .row-bottom .nav-postscript li{display:inline-block;margin-left:1rem}footer .row-bottom .nav-postscript li:first-child{margin-left:0}@media screen and (max-width: 768px){footer .row-bottom .nav-postscript li{display:block;width:100%;margin-left:0}}footer .row-bottom .social-icon-wrap{border-top:1px solid #FFFFFF;padding-top:30px;margin-top:30px;display:flex;align-items:center;justify-content:center;margin-bottom:30px}footer .row-bottom .social-icon-wrap .social-icon-item{margin:0
|
|
581
|
+
const biggiveFooterCss = "a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}:host{display:contents}.footer{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;color:#FFFFFF}nav{width:calc(33.3% - 20px);margin:0;padding:0}nav .heading{font-size:17px;line-height:24px;font-weight:bold;border-bottom:1px solid #FFFFFF;padding-bottom:10px;margin-bottom:10px}nav ul{margin:0;padding:0}nav ul li{margin:0;padding:0;list-style-type:none;margin-top:15px}nav ul li a{color:#FFFFFF;text-decoration:none}nav ul li a[class^=icon-],nav ul li a[class*=icon-]{padding-left:20px;background-repeat:no-repeat;background-size:auto 10px;background-position:left center}nav ul li a.icon-green{background-image:url(/assets/images/triangles-combined-green-match-white.svg)}nav ul li a.icon-children{background-image:url(/assets/images/triangles-combined-children-white.svg)}nav ul li a.icon-christmas{background-image:url(/assets/images/triangles-combined-christmas-challenge-white.svg)}nav ul li a.icon-green-match{background-image:url(/assets/images/triangles-combined-green-match-white.svg)}nav ul li a.icon-women-girls{background-image:url(/assets/images/triangles-combined-women-girls-white.svg)}nav ul li a.icon-mental-health{background-image:url(/assets/images/triangles-combined-mental-health-white.svg)}nav ul li a.icon-anchor-match{background-image:url(/assets/images/triangles-combined-anchor-white.svg)}nav ul li a.icon-emergency{background-image:url(/assets/images/triangles-combined-emergency-white.svg)}.row-top{background-image:url(/assets/images/biggive-triangle-green.svg);background-repeat:no-repeat;background-size:auto 75px;background-position:60px 30px;background-color:#2C089B;padding:100px 60px 60px 60px;display:flex;flex-wrap:wrap;justify-content:space-between}.row-top .button-wrap{margin-top:60px;width:100%;display:flex;flex-wrap:wrap;justify-content:space-between}footer .row-bottom{background-color:#000000;padding:60px 60px 15px 60px;border-top:1px solid #FFFFFF}footer .row-bottom .fr-logo{width:135px}footer .row-bottom .postscript-wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between}@media screen and (max-width: 768px){footer .row-bottom .postscript-wrap{flex-direction:column}}footer .row-bottom .nav.nav-postscript{text-align:right;flex-grow:1}@media screen and (max-width: 768px){footer .row-bottom .nav.nav-postscript{text-align:center}}footer .row-bottom .nav-postscript li{display:inline-block;margin-left:1rem}footer .row-bottom .nav-postscript li:first-child{margin-left:0}@media screen and (max-width: 768px){footer .row-bottom .nav-postscript li{display:block;width:100%;margin-left:0}}footer .row-bottom .social-icon-wrap{border-top:1px solid #FFFFFF;padding-top:30px;margin-top:30px;display:flex;align-items:center;justify-content:center;margin-bottom:30px}footer .row-bottom .social-icon-wrap .social-icon-item{margin:0 15px}footer .row-bottom p{text-align:center}@media screen and (max-width: 768px){.row-top{padding:15px}}@media screen and (max-width: 768px){nav{width:100%;margin-right:0;margin-bottom:30px}.row-top{background-size:auto 50px;padding-top:80px;padding-left:15px;background-position:15px 30px}.row-top .button-wrap *{width:100% !important}}";
|
|
582
582
|
|
|
583
583
|
const BiggiveFooter = class {
|
|
584
584
|
constructor(hostRef) {
|
|
@@ -608,7 +608,7 @@ const BiggiveFooter = class {
|
|
|
608
608
|
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://blog.thebiggive.org.uk/charities", label: "For charities" }), index.h("biggive-button", { "colour-scheme": "white", url: "https://blog.thebiggive.org.uk/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: "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 2022 The Big Give Trust (1136547) | Company number 07273065 | Dragon Court, 27-29 Macklin Street, London WC2B 5LX, United Kingdom"))));
|
|
609
609
|
};
|
|
610
610
|
const presetFooter = () => {
|
|
611
|
-
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, '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('Experience', this.experienceUrlPrefix, 's/contact-us') }, "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, '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")))
|
|
611
|
+
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, '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('Experience', this.experienceUrlPrefix, 's/contact-us') }, "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, '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: "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 Policy"))))), 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 2022 The Big Give Trust (1136547) | Company number 07273065 | Dragon Court, 27-29 Macklin Street, London WC2B 5LX, United Kingdom"))));
|
|
612
612
|
};
|
|
613
613
|
return this.usePresetFooter ? presetFooter() : slotBasedFooter();
|
|
614
614
|
}
|
|
@@ -1015,7 +1015,10 @@ const BiggiveMainMenu = class {
|
|
|
1015
1015
|
this.setHeaderSize();
|
|
1016
1016
|
});
|
|
1017
1017
|
this.setHeaderSize();
|
|
1018
|
-
const subMenuElements = this.host.querySelectorAll('.sub-menu');
|
|
1018
|
+
const subMenuElements = this.host.shadowRoot.querySelectorAll('.sub-menu');
|
|
1019
|
+
if (subMenuElements.length === 0) {
|
|
1020
|
+
console.error('Missing subMenuElements');
|
|
1021
|
+
}
|
|
1019
1022
|
subMenuElements.forEach(subMenuElement => {
|
|
1020
1023
|
var _a;
|
|
1021
1024
|
// the subMenuLink is a sibling element to the actual sub-menu
|
|
@@ -1026,7 +1029,10 @@ const BiggiveMainMenu = class {
|
|
|
1026
1029
|
subMenuElement.classList.toggle('display-sub-menu');
|
|
1027
1030
|
};
|
|
1028
1031
|
});
|
|
1029
|
-
const subSubMenuElements = this.host.querySelectorAll('.sub-sub-menu');
|
|
1032
|
+
const subSubMenuElements = this.host.shadowRoot.querySelectorAll('.sub-sub-menu');
|
|
1033
|
+
if (subSubMenuElements.length === 0) {
|
|
1034
|
+
console.error('Missing subSubMenuElements');
|
|
1035
|
+
}
|
|
1030
1036
|
subSubMenuElements.forEach(subSubMenuElement => {
|
|
1031
1037
|
// the subSubMenuLink is a sibling element to the actual sub-sub-menu
|
|
1032
1038
|
const subSubMenuLink = subSubMenuElement.parentElement.querySelector('a');
|
|
@@ -27,7 +27,7 @@ export class BiggiveFooter {
|
|
|
27
27
|
return (h("footer", { class: "footer" }, h("div", { class: "row row-top" }, h("nav", { class: "nav nav-primary", "aria-labelledby": "footer-primary-heading" }, h(HeadingTag, { class: "heading", id: "footer-primary-heading" }, h("slot", { name: "nav-primary-title" }))), h("nav", { class: "nav nav-secondary", "aria-labelledby": "footer-secondary-heading-heading" }, h(HeadingTag, { class: "heading", id: "footer-secondary-heading" }, h("slot", { name: "nav-secondary-title" }))), h("nav", { class: "nav nav-tertiary", "aria-labelledby": "footer-tertiary-heading" }, h(HeadingTag, { class: "heading", id: "footer-tertiary-heading" }, h("slot", { name: "nav-tertiary-title" }))), h("div", { class: "button-wrap" }, h("biggive-button", { "colour-scheme": "white", url: "https://blog.thebiggive.org.uk/charities", label: "For charities" }), h("biggive-button", { "colour-scheme": "white", url: "https://blog.thebiggive.org.uk/funders", label: "For funders" }))), h("div", { class: "row row-bottom" }, h("div", { class: "postscript-wrap" }, h("img", { class: "fr-logo", src: getAssetPath('../assets/images/fundraising-regulator.png'), alt: "Fundraising Regulator" }), h("nav", { class: "nav nav-postscript", "aria-label": "Legal" })), h("div", { class: "social-icon-wrap" }, h("slot", { name: "social-icons" })), h("p", null, "\u00A9 2007 \u2013 2022 The Big Give Trust (1136547) | Company number 07273065 | Dragon Court, 27-29 Macklin Street, London WC2B 5LX, United Kingdom"))));
|
|
28
28
|
};
|
|
29
29
|
const presetFooter = () => {
|
|
30
|
-
return (h("footer", { class: "footer" }, h("div", { class: "row row-top" }, h("nav", { class: "nav nav-primary", "aria-labelledby": "footer-primary-heading" }, h(HeadingTag, { class: "heading", id: "footer-primary-heading" }, h("div", { slot: "nav-primary-title" }, "Match Funding Opportunities")), h("ul", { slot: "nav-primary" }, h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'christmas-challenge'), class: "icon-christmas" }, "Christmas Challenge")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'green-match-fund'), class: "icon-green" }, "Green Match Fund")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'champions-for-children'), class: "icon-children" }, "Champions for Children")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'women-girls-match-fund'), class: "icon-women-girls" }, "Women and Girls Match Fund")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'kind2mind/'), class: "icon-mental-health" }, "Kind\u00B2Mind")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'emergency-campaigns/'), class: "icon-emergency" }, "Emergency Match Fund")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'run-your-own-campaign/)') }, "Run your own campaign")))), h("nav", { class: "nav nav-secondary", "aria-labelledby": "footer-secondary-heading-heading" }, h(HeadingTag, { class: "heading", id: "footer-secondary-heading" }, h("div", { slot: "nav-secondary-title" }, "Resources")), h("ul", { slot: "nav-secondary" }, h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'case-studies') }, "Case Studies")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'blog') }, "Blog")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'reports-insights') }, "Reports & Insights")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'press') }, "Press")))), h("nav", { class: "nav nav-tertiary", "aria-labelledby": "footer-tertiary-heading" }, h(HeadingTag, { class: "heading", id: "footer-tertiary-heading" }, h("div", { slot: "nav-tertiary-title" }, "About")), h("ul", { slot: "nav-tertiary" }, h("li", null, h("a", { href: makeURL('Experience', this.experienceUrlPrefix, 's/contact-us') }, "Contact us")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'our-story') }, "Our Story")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'our-people') }, "Our People")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'our-fees') }, "Our Fees")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'careers') }, "Careers")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'faqs') }, "FAQs")))
|
|
30
|
+
return (h("footer", { class: "footer" }, h("div", { class: "row row-top" }, h("nav", { class: "nav nav-primary", "aria-labelledby": "footer-primary-heading" }, h(HeadingTag, { class: "heading", id: "footer-primary-heading" }, h("div", { slot: "nav-primary-title" }, "Match Funding Opportunities")), h("ul", { slot: "nav-primary" }, h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'christmas-challenge'), class: "icon-christmas" }, "Christmas Challenge")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'green-match-fund'), class: "icon-green" }, "Green Match Fund")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'champions-for-children'), class: "icon-children" }, "Champions for Children")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'women-girls-match-fund'), class: "icon-women-girls" }, "Women and Girls Match Fund")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'kind2mind/'), class: "icon-mental-health" }, "Kind\u00B2Mind")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'emergency-campaigns/'), class: "icon-emergency" }, "Emergency Match Fund")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'run-your-own-campaign/)') }, "Run your own campaign")))), h("nav", { class: "nav nav-secondary", "aria-labelledby": "footer-secondary-heading-heading" }, h(HeadingTag, { class: "heading", id: "footer-secondary-heading" }, h("div", { slot: "nav-secondary-title" }, "Resources")), h("ul", { slot: "nav-secondary" }, h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'case-studies') }, "Case Studies")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'blog') }, "Blog")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'reports-insights') }, "Reports & Insights")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'press') }, "Press")))), h("nav", { class: "nav nav-tertiary", "aria-labelledby": "footer-tertiary-heading" }, h(HeadingTag, { class: "heading", id: "footer-tertiary-heading" }, h("div", { slot: "nav-tertiary-title" }, "About")), h("ul", { slot: "nav-tertiary" }, h("li", null, h("a", { href: makeURL('Experience', this.experienceUrlPrefix, 's/contact-us') }, "Contact us")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'our-story') }, "Our Story")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'our-people') }, "Our People")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'our-fees') }, "Our Fees")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'careers') }, "Careers")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'faqs') }, "FAQs")))), h("div", { class: "button-wrap" }, h("biggive-button", { "colour-scheme": "white", url: makeURL('Blog', this.blogUrlPrefix, 'charities'), label: "For charities" }), h("biggive-button", { "colour-scheme": "white", url: makeURL('Blog', this.blogUrlPrefix, 'funders'), label: "For funders" }))), h("div", { class: "row row-bottom" }, h("div", { class: "postscript-wrap" }, h("img", { class: "fr-logo", src: getAssetPath('../assets/images/fundraising-regulator.png'), alt: "Fundraising Regulator" }), h("nav", { class: "nav nav-postscript", "aria-label": "Legal" }, h("ul", { slot: "nav-postscript" }, h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'terms-and-conditions') }, "Terms and Conditions")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'privacy') }, "Privacy Policy"))))), h("div", { class: "social-icon-wrap" }, h("div", { slot: "social-icons" }, h("biggive-social-icon", { service: "Facebook", url: "https://www.facebook.com/BigGive.org", "background-colour": "tertiary", "icon-colour": "black", wide: true }), h("biggive-social-icon", { service: "Twitter", url: "https://twitter.com/BigGive", "background-colour": "tertiary", "icon-colour": "black", wide: true }), h("biggive-social-icon", { service: "LinkedIn", url: "https://uk.linkedin.com/company/big-give", "background-colour": "tertiary", "icon-colour": "black", wide: true }), h("biggive-social-icon", { service: "YouTube", url: "https://www.youtube.com/channel/UC9_wH1aaTuZurJ-F9R8GDcA", "background-colour": "tertiary", "icon-colour": "black", wide: true }), h("biggive-social-icon", { service: "Instagram", url: "https://www.instagram.com/biggiveorg", "background-colour": "tertiary", "icon-colour": "black" }))), h("p", null, "\u00A9 2007 \u2013 2022 The Big Give Trust (1136547) | Company number 07273065 | Dragon Court, 27-29 Macklin Street, London WC2B 5LX, United Kingdom"))));
|
|
31
31
|
};
|
|
32
32
|
return this.usePresetFooter ? presetFooter() : slotBasedFooter();
|
|
33
33
|
}
|
|
@@ -64,7 +64,10 @@ export class BiggiveMainMenu {
|
|
|
64
64
|
this.setHeaderSize();
|
|
65
65
|
});
|
|
66
66
|
this.setHeaderSize();
|
|
67
|
-
const subMenuElements = this.host.querySelectorAll('.sub-menu');
|
|
67
|
+
const subMenuElements = this.host.shadowRoot.querySelectorAll('.sub-menu');
|
|
68
|
+
if (subMenuElements.length === 0) {
|
|
69
|
+
console.error('Missing subMenuElements');
|
|
70
|
+
}
|
|
68
71
|
subMenuElements.forEach(subMenuElement => {
|
|
69
72
|
var _a;
|
|
70
73
|
// the subMenuLink is a sibling element to the actual sub-menu
|
|
@@ -75,7 +78,10 @@ export class BiggiveMainMenu {
|
|
|
75
78
|
subMenuElement.classList.toggle('display-sub-menu');
|
|
76
79
|
};
|
|
77
80
|
});
|
|
78
|
-
const subSubMenuElements = this.host.querySelectorAll('.sub-sub-menu');
|
|
81
|
+
const subSubMenuElements = this.host.shadowRoot.querySelectorAll('.sub-sub-menu');
|
|
82
|
+
if (subSubMenuElements.length === 0) {
|
|
83
|
+
console.error('Missing subSubMenuElements');
|
|
84
|
+
}
|
|
79
85
|
subSubMenuElements.forEach(subSubMenuElement => {
|
|
80
86
|
// the subSubMenuLink is a sibling element to the actual sub-sub-menu
|
|
81
87
|
const subSubMenuLink = subSubMenuElement.parentElement.querySelector('a');
|
|
@@ -3,7 +3,7 @@ import { m as makeURL } from './helper-methods.js';
|
|
|
3
3
|
import { d as defineCustomElement$3 } from './biggive-button2.js';
|
|
4
4
|
import { d as defineCustomElement$2 } from './biggive-social-icon2.js';
|
|
5
5
|
|
|
6
|
-
const biggiveFooterCss = "a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}:host{display:contents}.footer{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;color:#FFFFFF}nav{width:calc(33.3% - 20px);margin:0;padding:0}nav .heading{font-size:17px;line-height:24px;font-weight:bold;border-bottom:1px solid #FFFFFF;padding-bottom:10px;margin-bottom:10px}nav ul{margin:0;padding:0}nav ul li{margin:0;padding:0;list-style-type:none;margin-top:15px}nav ul li a{color:#FFFFFF;text-decoration:none}nav ul li a[class^=icon-],nav ul li a[class*=icon-]{padding-left:20px;background-repeat:no-repeat;background-size:auto 10px;background-position:left center}nav ul li a.icon-green{background-image:url(/assets/images/triangles-combined-green-match-white.svg)}nav ul li a.icon-children{background-image:url(/assets/images/triangles-combined-children-white.svg)}nav ul li a.icon-christmas{background-image:url(/assets/images/triangles-combined-christmas-challenge-white.svg)}nav ul li a.icon-green-match{background-image:url(/assets/images/triangles-combined-green-match-white.svg)}nav ul li a.icon-women-girls{background-image:url(/assets/images/triangles-combined-women-girls-white.svg)}nav ul li a.icon-mental-health{background-image:url(/assets/images/triangles-combined-mental-health-white.svg)}nav ul li a.icon-anchor-match{background-image:url(/assets/images/triangles-combined-anchor-white.svg)}nav ul li a.icon-emergency{background-image:url(/assets/images/triangles-combined-emergency-white.svg)}.row-top{background-image:url(/assets/images/biggive-triangle-green.svg);background-repeat:no-repeat;background-size:auto 75px;background-position:60px 30px;background-color:#2C089B;padding:100px 60px 60px 60px;display:flex;flex-wrap:wrap;justify-content:space-between}.row-top .button-wrap{margin-top:60px;width:100%;display:flex;flex-wrap:wrap;justify-content:space-between}footer .row-bottom{background-color:#000000;padding:60px 60px 15px 60px;border-top:1px solid #FFFFFF}footer .row-bottom .fr-logo{width:135px}footer .row-bottom .postscript-wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between}@media screen and (max-width: 768px){footer .row-bottom .postscript-wrap{flex-direction:column}}footer .row-bottom .nav.nav-postscript{text-align:right;flex-grow:1}@media screen and (max-width: 768px){footer .row-bottom .nav.nav-postscript{text-align:center}}footer .row-bottom .nav-postscript li{display:inline-block;margin-left:1rem}footer .row-bottom .nav-postscript li:first-child{margin-left:0}@media screen and (max-width: 768px){footer .row-bottom .nav-postscript li{display:block;width:100%;margin-left:0}}footer .row-bottom .social-icon-wrap{border-top:1px solid #FFFFFF;padding-top:30px;margin-top:30px;display:flex;align-items:center;justify-content:center;margin-bottom:30px}footer .row-bottom .social-icon-wrap .social-icon-item{margin:0
|
|
6
|
+
const biggiveFooterCss = "a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}:host{display:contents}.footer{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;color:#FFFFFF}nav{width:calc(33.3% - 20px);margin:0;padding:0}nav .heading{font-size:17px;line-height:24px;font-weight:bold;border-bottom:1px solid #FFFFFF;padding-bottom:10px;margin-bottom:10px}nav ul{margin:0;padding:0}nav ul li{margin:0;padding:0;list-style-type:none;margin-top:15px}nav ul li a{color:#FFFFFF;text-decoration:none}nav ul li a[class^=icon-],nav ul li a[class*=icon-]{padding-left:20px;background-repeat:no-repeat;background-size:auto 10px;background-position:left center}nav ul li a.icon-green{background-image:url(/assets/images/triangles-combined-green-match-white.svg)}nav ul li a.icon-children{background-image:url(/assets/images/triangles-combined-children-white.svg)}nav ul li a.icon-christmas{background-image:url(/assets/images/triangles-combined-christmas-challenge-white.svg)}nav ul li a.icon-green-match{background-image:url(/assets/images/triangles-combined-green-match-white.svg)}nav ul li a.icon-women-girls{background-image:url(/assets/images/triangles-combined-women-girls-white.svg)}nav ul li a.icon-mental-health{background-image:url(/assets/images/triangles-combined-mental-health-white.svg)}nav ul li a.icon-anchor-match{background-image:url(/assets/images/triangles-combined-anchor-white.svg)}nav ul li a.icon-emergency{background-image:url(/assets/images/triangles-combined-emergency-white.svg)}.row-top{background-image:url(/assets/images/biggive-triangle-green.svg);background-repeat:no-repeat;background-size:auto 75px;background-position:60px 30px;background-color:#2C089B;padding:100px 60px 60px 60px;display:flex;flex-wrap:wrap;justify-content:space-between}.row-top .button-wrap{margin-top:60px;width:100%;display:flex;flex-wrap:wrap;justify-content:space-between}footer .row-bottom{background-color:#000000;padding:60px 60px 15px 60px;border-top:1px solid #FFFFFF}footer .row-bottom .fr-logo{width:135px}footer .row-bottom .postscript-wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between}@media screen and (max-width: 768px){footer .row-bottom .postscript-wrap{flex-direction:column}}footer .row-bottom .nav.nav-postscript{text-align:right;flex-grow:1}@media screen and (max-width: 768px){footer .row-bottom .nav.nav-postscript{text-align:center}}footer .row-bottom .nav-postscript li{display:inline-block;margin-left:1rem}footer .row-bottom .nav-postscript li:first-child{margin-left:0}@media screen and (max-width: 768px){footer .row-bottom .nav-postscript li{display:block;width:100%;margin-left:0}}footer .row-bottom .social-icon-wrap{border-top:1px solid #FFFFFF;padding-top:30px;margin-top:30px;display:flex;align-items:center;justify-content:center;margin-bottom:30px}footer .row-bottom .social-icon-wrap .social-icon-item{margin:0 15px}footer .row-bottom p{text-align:center}@media screen and (max-width: 768px){.row-top{padding:15px}}@media screen and (max-width: 768px){nav{width:100%;margin-right:0;margin-bottom:30px}.row-top{background-size:auto 50px;padding-top:80px;padding-left:15px;background-position:15px 30px}.row-top .button-wrap *{width:100% !important}}";
|
|
7
7
|
|
|
8
8
|
const BiggiveFooter$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
9
9
|
constructor() {
|
|
@@ -35,7 +35,7 @@ const BiggiveFooter$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
35
35
|
return (h("footer", { class: "footer" }, h("div", { class: "row row-top" }, h("nav", { class: "nav nav-primary", "aria-labelledby": "footer-primary-heading" }, h(HeadingTag, { class: "heading", id: "footer-primary-heading" }, h("slot", { name: "nav-primary-title" }))), h("nav", { class: "nav nav-secondary", "aria-labelledby": "footer-secondary-heading-heading" }, h(HeadingTag, { class: "heading", id: "footer-secondary-heading" }, h("slot", { name: "nav-secondary-title" }))), h("nav", { class: "nav nav-tertiary", "aria-labelledby": "footer-tertiary-heading" }, h(HeadingTag, { class: "heading", id: "footer-tertiary-heading" }, h("slot", { name: "nav-tertiary-title" }))), h("div", { class: "button-wrap" }, h("biggive-button", { "colour-scheme": "white", url: "https://blog.thebiggive.org.uk/charities", label: "For charities" }), h("biggive-button", { "colour-scheme": "white", url: "https://blog.thebiggive.org.uk/funders", label: "For funders" }))), h("div", { class: "row row-bottom" }, h("div", { class: "postscript-wrap" }, h("img", { class: "fr-logo", src: getAssetPath('../assets/images/fundraising-regulator.png'), alt: "Fundraising Regulator" }), h("nav", { class: "nav nav-postscript", "aria-label": "Legal" })), h("div", { class: "social-icon-wrap" }, h("slot", { name: "social-icons" })), h("p", null, "\u00A9 2007 \u2013 2022 The Big Give Trust (1136547) | Company number 07273065 | Dragon Court, 27-29 Macklin Street, London WC2B 5LX, United Kingdom"))));
|
|
36
36
|
};
|
|
37
37
|
const presetFooter = () => {
|
|
38
|
-
return (h("footer", { class: "footer" }, h("div", { class: "row row-top" }, h("nav", { class: "nav nav-primary", "aria-labelledby": "footer-primary-heading" }, h(HeadingTag, { class: "heading", id: "footer-primary-heading" }, h("div", { slot: "nav-primary-title" }, "Match Funding Opportunities")), h("ul", { slot: "nav-primary" }, h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'christmas-challenge'), class: "icon-christmas" }, "Christmas Challenge")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'green-match-fund'), class: "icon-green" }, "Green Match Fund")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'champions-for-children'), class: "icon-children" }, "Champions for Children")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'women-girls-match-fund'), class: "icon-women-girls" }, "Women and Girls Match Fund")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'kind2mind/'), class: "icon-mental-health" }, "Kind\u00B2Mind")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'emergency-campaigns/'), class: "icon-emergency" }, "Emergency Match Fund")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'run-your-own-campaign/)') }, "Run your own campaign")))), h("nav", { class: "nav nav-secondary", "aria-labelledby": "footer-secondary-heading-heading" }, h(HeadingTag, { class: "heading", id: "footer-secondary-heading" }, h("div", { slot: "nav-secondary-title" }, "Resources")), h("ul", { slot: "nav-secondary" }, h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'case-studies') }, "Case Studies")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'blog') }, "Blog")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'reports-insights') }, "Reports & Insights")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'press') }, "Press")))), h("nav", { class: "nav nav-tertiary", "aria-labelledby": "footer-tertiary-heading" }, h(HeadingTag, { class: "heading", id: "footer-tertiary-heading" }, h("div", { slot: "nav-tertiary-title" }, "About")), h("ul", { slot: "nav-tertiary" }, h("li", null, h("a", { href: makeURL('Experience', this.experienceUrlPrefix, 's/contact-us') }, "Contact us")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'our-story') }, "Our Story")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'our-people') }, "Our People")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'our-fees') }, "Our Fees")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'careers') }, "Careers")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'faqs') }, "FAQs")))
|
|
38
|
+
return (h("footer", { class: "footer" }, h("div", { class: "row row-top" }, h("nav", { class: "nav nav-primary", "aria-labelledby": "footer-primary-heading" }, h(HeadingTag, { class: "heading", id: "footer-primary-heading" }, h("div", { slot: "nav-primary-title" }, "Match Funding Opportunities")), h("ul", { slot: "nav-primary" }, h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'christmas-challenge'), class: "icon-christmas" }, "Christmas Challenge")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'green-match-fund'), class: "icon-green" }, "Green Match Fund")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'champions-for-children'), class: "icon-children" }, "Champions for Children")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'women-girls-match-fund'), class: "icon-women-girls" }, "Women and Girls Match Fund")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'kind2mind/'), class: "icon-mental-health" }, "Kind\u00B2Mind")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'emergency-campaigns/'), class: "icon-emergency" }, "Emergency Match Fund")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'run-your-own-campaign/)') }, "Run your own campaign")))), h("nav", { class: "nav nav-secondary", "aria-labelledby": "footer-secondary-heading-heading" }, h(HeadingTag, { class: "heading", id: "footer-secondary-heading" }, h("div", { slot: "nav-secondary-title" }, "Resources")), h("ul", { slot: "nav-secondary" }, h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'case-studies') }, "Case Studies")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'blog') }, "Blog")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'reports-insights') }, "Reports & Insights")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'press') }, "Press")))), h("nav", { class: "nav nav-tertiary", "aria-labelledby": "footer-tertiary-heading" }, h(HeadingTag, { class: "heading", id: "footer-tertiary-heading" }, h("div", { slot: "nav-tertiary-title" }, "About")), h("ul", { slot: "nav-tertiary" }, h("li", null, h("a", { href: makeURL('Experience', this.experienceUrlPrefix, 's/contact-us') }, "Contact us")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'our-story') }, "Our Story")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'our-people') }, "Our People")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'our-fees') }, "Our Fees")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'careers') }, "Careers")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'faqs') }, "FAQs")))), h("div", { class: "button-wrap" }, h("biggive-button", { "colour-scheme": "white", url: makeURL('Blog', this.blogUrlPrefix, 'charities'), label: "For charities" }), h("biggive-button", { "colour-scheme": "white", url: makeURL('Blog', this.blogUrlPrefix, 'funders'), label: "For funders" }))), h("div", { class: "row row-bottom" }, h("div", { class: "postscript-wrap" }, h("img", { class: "fr-logo", src: getAssetPath('../assets/images/fundraising-regulator.png'), alt: "Fundraising Regulator" }), h("nav", { class: "nav nav-postscript", "aria-label": "Legal" }, h("ul", { slot: "nav-postscript" }, h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'terms-and-conditions') }, "Terms and Conditions")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'privacy') }, "Privacy Policy"))))), h("div", { class: "social-icon-wrap" }, h("div", { slot: "social-icons" }, h("biggive-social-icon", { service: "Facebook", url: "https://www.facebook.com/BigGive.org", "background-colour": "tertiary", "icon-colour": "black", wide: true }), h("biggive-social-icon", { service: "Twitter", url: "https://twitter.com/BigGive", "background-colour": "tertiary", "icon-colour": "black", wide: true }), h("biggive-social-icon", { service: "LinkedIn", url: "https://uk.linkedin.com/company/big-give", "background-colour": "tertiary", "icon-colour": "black", wide: true }), h("biggive-social-icon", { service: "YouTube", url: "https://www.youtube.com/channel/UC9_wH1aaTuZurJ-F9R8GDcA", "background-colour": "tertiary", "icon-colour": "black", wide: true }), h("biggive-social-icon", { service: "Instagram", url: "https://www.instagram.com/biggiveorg", "background-colour": "tertiary", "icon-colour": "black" }))), h("p", null, "\u00A9 2007 \u2013 2022 The Big Give Trust (1136547) | Company number 07273065 | Dragon Court, 27-29 Macklin Street, London WC2B 5LX, United Kingdom"))));
|
|
39
39
|
};
|
|
40
40
|
return this.usePresetFooter ? presetFooter() : slotBasedFooter();
|
|
41
41
|
}
|
|
@@ -72,7 +72,10 @@ const BiggiveMainMenu$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEle
|
|
|
72
72
|
this.setHeaderSize();
|
|
73
73
|
});
|
|
74
74
|
this.setHeaderSize();
|
|
75
|
-
const subMenuElements = this.host.querySelectorAll('.sub-menu');
|
|
75
|
+
const subMenuElements = this.host.shadowRoot.querySelectorAll('.sub-menu');
|
|
76
|
+
if (subMenuElements.length === 0) {
|
|
77
|
+
console.error('Missing subMenuElements');
|
|
78
|
+
}
|
|
76
79
|
subMenuElements.forEach(subMenuElement => {
|
|
77
80
|
var _a;
|
|
78
81
|
// the subMenuLink is a sibling element to the actual sub-menu
|
|
@@ -83,7 +86,10 @@ const BiggiveMainMenu$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEle
|
|
|
83
86
|
subMenuElement.classList.toggle('display-sub-menu');
|
|
84
87
|
};
|
|
85
88
|
});
|
|
86
|
-
const subSubMenuElements = this.host.querySelectorAll('.sub-sub-menu');
|
|
89
|
+
const subSubMenuElements = this.host.shadowRoot.querySelectorAll('.sub-sub-menu');
|
|
90
|
+
if (subSubMenuElements.length === 0) {
|
|
91
|
+
console.error('Missing subSubMenuElements');
|
|
92
|
+
}
|
|
87
93
|
subSubMenuElements.forEach(subSubMenuElement => {
|
|
88
94
|
// the subSubMenuLink is a sibling element to the actual sub-sub-menu
|
|
89
95
|
const subSubMenuLink = subSubMenuElement.parentElement.querySelector('a');
|
|
@@ -574,7 +574,7 @@ const makeURL = (urlType, urlPrefix, relativeUrl) => {
|
|
|
574
574
|
return urlPrefix + '/' + relativeUrl;
|
|
575
575
|
};
|
|
576
576
|
|
|
577
|
-
const biggiveFooterCss = "a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}:host{display:contents}.footer{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;color:#FFFFFF}nav{width:calc(33.3% - 20px);margin:0;padding:0}nav .heading{font-size:17px;line-height:24px;font-weight:bold;border-bottom:1px solid #FFFFFF;padding-bottom:10px;margin-bottom:10px}nav ul{margin:0;padding:0}nav ul li{margin:0;padding:0;list-style-type:none;margin-top:15px}nav ul li a{color:#FFFFFF;text-decoration:none}nav ul li a[class^=icon-],nav ul li a[class*=icon-]{padding-left:20px;background-repeat:no-repeat;background-size:auto 10px;background-position:left center}nav ul li a.icon-green{background-image:url(/assets/images/triangles-combined-green-match-white.svg)}nav ul li a.icon-children{background-image:url(/assets/images/triangles-combined-children-white.svg)}nav ul li a.icon-christmas{background-image:url(/assets/images/triangles-combined-christmas-challenge-white.svg)}nav ul li a.icon-green-match{background-image:url(/assets/images/triangles-combined-green-match-white.svg)}nav ul li a.icon-women-girls{background-image:url(/assets/images/triangles-combined-women-girls-white.svg)}nav ul li a.icon-mental-health{background-image:url(/assets/images/triangles-combined-mental-health-white.svg)}nav ul li a.icon-anchor-match{background-image:url(/assets/images/triangles-combined-anchor-white.svg)}nav ul li a.icon-emergency{background-image:url(/assets/images/triangles-combined-emergency-white.svg)}.row-top{background-image:url(/assets/images/biggive-triangle-green.svg);background-repeat:no-repeat;background-size:auto 75px;background-position:60px 30px;background-color:#2C089B;padding:100px 60px 60px 60px;display:flex;flex-wrap:wrap;justify-content:space-between}.row-top .button-wrap{margin-top:60px;width:100%;display:flex;flex-wrap:wrap;justify-content:space-between}footer .row-bottom{background-color:#000000;padding:60px 60px 15px 60px;border-top:1px solid #FFFFFF}footer .row-bottom .fr-logo{width:135px}footer .row-bottom .postscript-wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between}@media screen and (max-width: 768px){footer .row-bottom .postscript-wrap{flex-direction:column}}footer .row-bottom .nav.nav-postscript{text-align:right;flex-grow:1}@media screen and (max-width: 768px){footer .row-bottom .nav.nav-postscript{text-align:center}}footer .row-bottom .nav-postscript li{display:inline-block;margin-left:1rem}footer .row-bottom .nav-postscript li:first-child{margin-left:0}@media screen and (max-width: 768px){footer .row-bottom .nav-postscript li{display:block;width:100%;margin-left:0}}footer .row-bottom .social-icon-wrap{border-top:1px solid #FFFFFF;padding-top:30px;margin-top:30px;display:flex;align-items:center;justify-content:center;margin-bottom:30px}footer .row-bottom .social-icon-wrap .social-icon-item{margin:0
|
|
577
|
+
const biggiveFooterCss = "a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}:host{display:contents}.footer{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;color:#FFFFFF}nav{width:calc(33.3% - 20px);margin:0;padding:0}nav .heading{font-size:17px;line-height:24px;font-weight:bold;border-bottom:1px solid #FFFFFF;padding-bottom:10px;margin-bottom:10px}nav ul{margin:0;padding:0}nav ul li{margin:0;padding:0;list-style-type:none;margin-top:15px}nav ul li a{color:#FFFFFF;text-decoration:none}nav ul li a[class^=icon-],nav ul li a[class*=icon-]{padding-left:20px;background-repeat:no-repeat;background-size:auto 10px;background-position:left center}nav ul li a.icon-green{background-image:url(/assets/images/triangles-combined-green-match-white.svg)}nav ul li a.icon-children{background-image:url(/assets/images/triangles-combined-children-white.svg)}nav ul li a.icon-christmas{background-image:url(/assets/images/triangles-combined-christmas-challenge-white.svg)}nav ul li a.icon-green-match{background-image:url(/assets/images/triangles-combined-green-match-white.svg)}nav ul li a.icon-women-girls{background-image:url(/assets/images/triangles-combined-women-girls-white.svg)}nav ul li a.icon-mental-health{background-image:url(/assets/images/triangles-combined-mental-health-white.svg)}nav ul li a.icon-anchor-match{background-image:url(/assets/images/triangles-combined-anchor-white.svg)}nav ul li a.icon-emergency{background-image:url(/assets/images/triangles-combined-emergency-white.svg)}.row-top{background-image:url(/assets/images/biggive-triangle-green.svg);background-repeat:no-repeat;background-size:auto 75px;background-position:60px 30px;background-color:#2C089B;padding:100px 60px 60px 60px;display:flex;flex-wrap:wrap;justify-content:space-between}.row-top .button-wrap{margin-top:60px;width:100%;display:flex;flex-wrap:wrap;justify-content:space-between}footer .row-bottom{background-color:#000000;padding:60px 60px 15px 60px;border-top:1px solid #FFFFFF}footer .row-bottom .fr-logo{width:135px}footer .row-bottom .postscript-wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between}@media screen and (max-width: 768px){footer .row-bottom .postscript-wrap{flex-direction:column}}footer .row-bottom .nav.nav-postscript{text-align:right;flex-grow:1}@media screen and (max-width: 768px){footer .row-bottom .nav.nav-postscript{text-align:center}}footer .row-bottom .nav-postscript li{display:inline-block;margin-left:1rem}footer .row-bottom .nav-postscript li:first-child{margin-left:0}@media screen and (max-width: 768px){footer .row-bottom .nav-postscript li{display:block;width:100%;margin-left:0}}footer .row-bottom .social-icon-wrap{border-top:1px solid #FFFFFF;padding-top:30px;margin-top:30px;display:flex;align-items:center;justify-content:center;margin-bottom:30px}footer .row-bottom .social-icon-wrap .social-icon-item{margin:0 15px}footer .row-bottom p{text-align:center}@media screen and (max-width: 768px){.row-top{padding:15px}}@media screen and (max-width: 768px){nav{width:100%;margin-right:0;margin-bottom:30px}.row-top{background-size:auto 50px;padding-top:80px;padding-left:15px;background-position:15px 30px}.row-top .button-wrap *{width:100% !important}}";
|
|
578
578
|
|
|
579
579
|
const BiggiveFooter = class {
|
|
580
580
|
constructor(hostRef) {
|
|
@@ -604,7 +604,7 @@ const BiggiveFooter = class {
|
|
|
604
604
|
return (h("footer", { class: "footer" }, h("div", { class: "row row-top" }, h("nav", { class: "nav nav-primary", "aria-labelledby": "footer-primary-heading" }, h(HeadingTag, { class: "heading", id: "footer-primary-heading" }, h("slot", { name: "nav-primary-title" }))), h("nav", { class: "nav nav-secondary", "aria-labelledby": "footer-secondary-heading-heading" }, h(HeadingTag, { class: "heading", id: "footer-secondary-heading" }, h("slot", { name: "nav-secondary-title" }))), h("nav", { class: "nav nav-tertiary", "aria-labelledby": "footer-tertiary-heading" }, h(HeadingTag, { class: "heading", id: "footer-tertiary-heading" }, h("slot", { name: "nav-tertiary-title" }))), h("div", { class: "button-wrap" }, h("biggive-button", { "colour-scheme": "white", url: "https://blog.thebiggive.org.uk/charities", label: "For charities" }), h("biggive-button", { "colour-scheme": "white", url: "https://blog.thebiggive.org.uk/funders", label: "For funders" }))), h("div", { class: "row row-bottom" }, h("div", { class: "postscript-wrap" }, h("img", { class: "fr-logo", src: getAssetPath('../assets/images/fundraising-regulator.png'), alt: "Fundraising Regulator" }), h("nav", { class: "nav nav-postscript", "aria-label": "Legal" })), h("div", { class: "social-icon-wrap" }, h("slot", { name: "social-icons" })), h("p", null, "\u00A9 2007 \u2013 2022 The Big Give Trust (1136547) | Company number 07273065 | Dragon Court, 27-29 Macklin Street, London WC2B 5LX, United Kingdom"))));
|
|
605
605
|
};
|
|
606
606
|
const presetFooter = () => {
|
|
607
|
-
return (h("footer", { class: "footer" }, h("div", { class: "row row-top" }, h("nav", { class: "nav nav-primary", "aria-labelledby": "footer-primary-heading" }, h(HeadingTag, { class: "heading", id: "footer-primary-heading" }, h("div", { slot: "nav-primary-title" }, "Match Funding Opportunities")), h("ul", { slot: "nav-primary" }, h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'christmas-challenge'), class: "icon-christmas" }, "Christmas Challenge")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'green-match-fund'), class: "icon-green" }, "Green Match Fund")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'champions-for-children'), class: "icon-children" }, "Champions for Children")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'women-girls-match-fund'), class: "icon-women-girls" }, "Women and Girls Match Fund")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'kind2mind/'), class: "icon-mental-health" }, "Kind\u00B2Mind")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'emergency-campaigns/'), class: "icon-emergency" }, "Emergency Match Fund")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'run-your-own-campaign/)') }, "Run your own campaign")))), h("nav", { class: "nav nav-secondary", "aria-labelledby": "footer-secondary-heading-heading" }, h(HeadingTag, { class: "heading", id: "footer-secondary-heading" }, h("div", { slot: "nav-secondary-title" }, "Resources")), h("ul", { slot: "nav-secondary" }, h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'case-studies') }, "Case Studies")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'blog') }, "Blog")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'reports-insights') }, "Reports & Insights")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'press') }, "Press")))), h("nav", { class: "nav nav-tertiary", "aria-labelledby": "footer-tertiary-heading" }, h(HeadingTag, { class: "heading", id: "footer-tertiary-heading" }, h("div", { slot: "nav-tertiary-title" }, "About")), h("ul", { slot: "nav-tertiary" }, h("li", null, h("a", { href: makeURL('Experience', this.experienceUrlPrefix, 's/contact-us') }, "Contact us")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'our-story') }, "Our Story")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'our-people') }, "Our People")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'our-fees') }, "Our Fees")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'careers') }, "Careers")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'faqs') }, "FAQs")))
|
|
607
|
+
return (h("footer", { class: "footer" }, h("div", { class: "row row-top" }, h("nav", { class: "nav nav-primary", "aria-labelledby": "footer-primary-heading" }, h(HeadingTag, { class: "heading", id: "footer-primary-heading" }, h("div", { slot: "nav-primary-title" }, "Match Funding Opportunities")), h("ul", { slot: "nav-primary" }, h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'christmas-challenge'), class: "icon-christmas" }, "Christmas Challenge")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'green-match-fund'), class: "icon-green" }, "Green Match Fund")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'champions-for-children'), class: "icon-children" }, "Champions for Children")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'women-girls-match-fund'), class: "icon-women-girls" }, "Women and Girls Match Fund")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'kind2mind/'), class: "icon-mental-health" }, "Kind\u00B2Mind")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'emergency-campaigns/'), class: "icon-emergency" }, "Emergency Match Fund")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'run-your-own-campaign/)') }, "Run your own campaign")))), h("nav", { class: "nav nav-secondary", "aria-labelledby": "footer-secondary-heading-heading" }, h(HeadingTag, { class: "heading", id: "footer-secondary-heading" }, h("div", { slot: "nav-secondary-title" }, "Resources")), h("ul", { slot: "nav-secondary" }, h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'case-studies') }, "Case Studies")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'blog') }, "Blog")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'reports-insights') }, "Reports & Insights")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'press') }, "Press")))), h("nav", { class: "nav nav-tertiary", "aria-labelledby": "footer-tertiary-heading" }, h(HeadingTag, { class: "heading", id: "footer-tertiary-heading" }, h("div", { slot: "nav-tertiary-title" }, "About")), h("ul", { slot: "nav-tertiary" }, h("li", null, h("a", { href: makeURL('Experience', this.experienceUrlPrefix, 's/contact-us') }, "Contact us")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'our-story') }, "Our Story")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'our-people') }, "Our People")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'our-fees') }, "Our Fees")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'careers') }, "Careers")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'faqs') }, "FAQs")))), h("div", { class: "button-wrap" }, h("biggive-button", { "colour-scheme": "white", url: makeURL('Blog', this.blogUrlPrefix, 'charities'), label: "For charities" }), h("biggive-button", { "colour-scheme": "white", url: makeURL('Blog', this.blogUrlPrefix, 'funders'), label: "For funders" }))), h("div", { class: "row row-bottom" }, h("div", { class: "postscript-wrap" }, h("img", { class: "fr-logo", src: getAssetPath('../assets/images/fundraising-regulator.png'), alt: "Fundraising Regulator" }), h("nav", { class: "nav nav-postscript", "aria-label": "Legal" }, h("ul", { slot: "nav-postscript" }, h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'terms-and-conditions') }, "Terms and Conditions")), h("li", null, h("a", { href: makeURL('Blog', this.blogUrlPrefix, 'privacy') }, "Privacy Policy"))))), h("div", { class: "social-icon-wrap" }, h("div", { slot: "social-icons" }, h("biggive-social-icon", { service: "Facebook", url: "https://www.facebook.com/BigGive.org", "background-colour": "tertiary", "icon-colour": "black", wide: true }), h("biggive-social-icon", { service: "Twitter", url: "https://twitter.com/BigGive", "background-colour": "tertiary", "icon-colour": "black", wide: true }), h("biggive-social-icon", { service: "LinkedIn", url: "https://uk.linkedin.com/company/big-give", "background-colour": "tertiary", "icon-colour": "black", wide: true }), h("biggive-social-icon", { service: "YouTube", url: "https://www.youtube.com/channel/UC9_wH1aaTuZurJ-F9R8GDcA", "background-colour": "tertiary", "icon-colour": "black", wide: true }), h("biggive-social-icon", { service: "Instagram", url: "https://www.instagram.com/biggiveorg", "background-colour": "tertiary", "icon-colour": "black" }))), h("p", null, "\u00A9 2007 \u2013 2022 The Big Give Trust (1136547) | Company number 07273065 | Dragon Court, 27-29 Macklin Street, London WC2B 5LX, United Kingdom"))));
|
|
608
608
|
};
|
|
609
609
|
return this.usePresetFooter ? presetFooter() : slotBasedFooter();
|
|
610
610
|
}
|
|
@@ -1011,7 +1011,10 @@ const BiggiveMainMenu = class {
|
|
|
1011
1011
|
this.setHeaderSize();
|
|
1012
1012
|
});
|
|
1013
1013
|
this.setHeaderSize();
|
|
1014
|
-
const subMenuElements = this.host.querySelectorAll('.sub-menu');
|
|
1014
|
+
const subMenuElements = this.host.shadowRoot.querySelectorAll('.sub-menu');
|
|
1015
|
+
if (subMenuElements.length === 0) {
|
|
1016
|
+
console.error('Missing subMenuElements');
|
|
1017
|
+
}
|
|
1015
1018
|
subMenuElements.forEach(subMenuElement => {
|
|
1016
1019
|
var _a;
|
|
1017
1020
|
// the subMenuLink is a sibling element to the actual sub-menu
|
|
@@ -1022,7 +1025,10 @@ const BiggiveMainMenu = class {
|
|
|
1022
1025
|
subMenuElement.classList.toggle('display-sub-menu');
|
|
1023
1026
|
};
|
|
1024
1027
|
});
|
|
1025
|
-
const subSubMenuElements = this.host.querySelectorAll('.sub-sub-menu');
|
|
1028
|
+
const subSubMenuElements = this.host.shadowRoot.querySelectorAll('.sub-sub-menu');
|
|
1029
|
+
if (subSubMenuElements.length === 0) {
|
|
1030
|
+
console.error('Missing subSubMenuElements');
|
|
1031
|
+
}
|
|
1026
1032
|
subSubMenuElements.forEach(subSubMenuElement => {
|
|
1027
1033
|
// the subSubMenuLink is a sibling element to the actual sub-sub-menu
|
|
1028
1034
|
const subSubMenuLink = subSubMenuElement.parentElement.querySelector('a');
|
package/hydrate/index.js
CHANGED
|
@@ -7200,7 +7200,7 @@ const makeURL = (urlType, urlPrefix, relativeUrl) => {
|
|
|
7200
7200
|
return urlPrefix + '/' + relativeUrl;
|
|
7201
7201
|
};
|
|
7202
7202
|
|
|
7203
|
-
const biggiveFooterCss = "/*!@a*/a.sc-biggive-footer{color:inherit;text-decoration:underline}/*!@a:hover*/a.sc-biggive-footer:hover{text-decoration:none}/*!@:host*/.sc-biggive-footer-h{display:contents}/*!@.footer*/.footer.sc-biggive-footer{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;color:#FFFFFF}/*!@nav*/nav.sc-biggive-footer{width:calc(33.3% - 20px);margin:0;padding:0}/*!@nav .heading*/nav.sc-biggive-footer .heading.sc-biggive-footer{font-size:17px;line-height:24px;font-weight:bold;border-bottom:1px solid #FFFFFF;padding-bottom:10px;margin-bottom:10px}/*!@nav ul*/nav.sc-biggive-footer ul.sc-biggive-footer{margin:0;padding:0}/*!@nav ul li*/nav.sc-biggive-footer ul.sc-biggive-footer li.sc-biggive-footer{margin:0;padding:0;list-style-type:none;margin-top:15px}/*!@nav ul li a*/nav.sc-biggive-footer ul.sc-biggive-footer li.sc-biggive-footer a.sc-biggive-footer{color:#FFFFFF;text-decoration:none}/*!@nav ul li a[class^=icon-], nav ul li a[class*=icon-]*/nav.sc-biggive-footer ul.sc-biggive-footer li.sc-biggive-footer a[class^=icon-].sc-biggive-footer,nav.sc-biggive-footer ul.sc-biggive-footer li.sc-biggive-footer a[class*=icon-].sc-biggive-footer{padding-left:20px;background-repeat:no-repeat;background-size:auto 10px;background-position:left center}/*!@nav ul li a.icon-green*/nav.sc-biggive-footer ul.sc-biggive-footer li.sc-biggive-footer a.icon-green.sc-biggive-footer{background-image:url(/assets/images/triangles-combined-green-match-white.svg)}/*!@nav ul li a.icon-children*/nav.sc-biggive-footer ul.sc-biggive-footer li.sc-biggive-footer a.icon-children.sc-biggive-footer{background-image:url(/assets/images/triangles-combined-children-white.svg)}/*!@nav ul li a.icon-christmas*/nav.sc-biggive-footer ul.sc-biggive-footer li.sc-biggive-footer a.icon-christmas.sc-biggive-footer{background-image:url(/assets/images/triangles-combined-christmas-challenge-white.svg)}/*!@nav ul li a.icon-green-match*/nav.sc-biggive-footer ul.sc-biggive-footer li.sc-biggive-footer a.icon-green-match.sc-biggive-footer{background-image:url(/assets/images/triangles-combined-green-match-white.svg)}/*!@nav ul li a.icon-women-girls*/nav.sc-biggive-footer ul.sc-biggive-footer li.sc-biggive-footer a.icon-women-girls.sc-biggive-footer{background-image:url(/assets/images/triangles-combined-women-girls-white.svg)}/*!@nav ul li a.icon-mental-health*/nav.sc-biggive-footer ul.sc-biggive-footer li.sc-biggive-footer a.icon-mental-health.sc-biggive-footer{background-image:url(/assets/images/triangles-combined-mental-health-white.svg)}/*!@nav ul li a.icon-anchor-match*/nav.sc-biggive-footer ul.sc-biggive-footer li.sc-biggive-footer a.icon-anchor-match.sc-biggive-footer{background-image:url(/assets/images/triangles-combined-anchor-white.svg)}/*!@nav ul li a.icon-emergency*/nav.sc-biggive-footer ul.sc-biggive-footer li.sc-biggive-footer a.icon-emergency.sc-biggive-footer{background-image:url(/assets/images/triangles-combined-emergency-white.svg)}/*!@.row-top*/.row-top.sc-biggive-footer{background-image:url(/assets/images/biggive-triangle-green.svg);background-repeat:no-repeat;background-size:auto 75px;background-position:60px 30px;background-color:#2C089B;padding:100px 60px 60px 60px;display:flex;flex-wrap:wrap;justify-content:space-between}/*!@.row-top .button-wrap*/.row-top.sc-biggive-footer .button-wrap.sc-biggive-footer{margin-top:60px;width:100%;display:flex;flex-wrap:wrap;justify-content:space-between}/*!@footer .row-bottom*/footer.sc-biggive-footer .row-bottom.sc-biggive-footer{background-color:#000000;padding:60px 60px 15px 60px;border-top:1px solid #FFFFFF}/*!@footer .row-bottom .fr-logo*/footer.sc-biggive-footer .row-bottom.sc-biggive-footer .fr-logo.sc-biggive-footer{width:135px}/*!@footer .row-bottom .postscript-wrap*/footer.sc-biggive-footer .row-bottom.sc-biggive-footer .postscript-wrap.sc-biggive-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between}@media screen and (max-width: 768px){/*!@footer .row-bottom .postscript-wrap*/footer.sc-biggive-footer .row-bottom.sc-biggive-footer .postscript-wrap.sc-biggive-footer{flex-direction:column}}/*!@footer .row-bottom .nav.nav-postscript*/footer.sc-biggive-footer .row-bottom.sc-biggive-footer .nav.nav-postscript.sc-biggive-footer{text-align:right;flex-grow:1}@media screen and (max-width: 768px){/*!@footer .row-bottom .nav.nav-postscript*/footer.sc-biggive-footer .row-bottom.sc-biggive-footer .nav.nav-postscript.sc-biggive-footer{text-align:center}}/*!@footer .row-bottom .nav-postscript li*/footer.sc-biggive-footer .row-bottom.sc-biggive-footer .nav-postscript.sc-biggive-footer li.sc-biggive-footer{display:inline-block;margin-left:1rem}/*!@footer .row-bottom .nav-postscript li:first-child*/footer.sc-biggive-footer .row-bottom.sc-biggive-footer .nav-postscript.sc-biggive-footer li.sc-biggive-footer:first-child{margin-left:0}@media screen and (max-width: 768px){/*!@footer .row-bottom .nav-postscript li*/footer.sc-biggive-footer .row-bottom.sc-biggive-footer .nav-postscript.sc-biggive-footer li.sc-biggive-footer{display:block;width:100%;margin-left:0}}/*!@footer .row-bottom .social-icon-wrap*/footer.sc-biggive-footer .row-bottom.sc-biggive-footer .social-icon-wrap.sc-biggive-footer{border-top:1px solid #FFFFFF;padding-top:30px;margin-top:30px;display:flex;align-items:center;justify-content:center;margin-bottom:30px}/*!@footer .row-bottom .social-icon-wrap .social-icon-item*/footer.sc-biggive-footer .row-bottom.sc-biggive-footer .social-icon-wrap.sc-biggive-footer .social-icon-item.sc-biggive-footer{margin:0
|
|
7203
|
+
const biggiveFooterCss = "/*!@a*/a.sc-biggive-footer{color:inherit;text-decoration:underline}/*!@a:hover*/a.sc-biggive-footer:hover{text-decoration:none}/*!@:host*/.sc-biggive-footer-h{display:contents}/*!@.footer*/.footer.sc-biggive-footer{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;color:#FFFFFF}/*!@nav*/nav.sc-biggive-footer{width:calc(33.3% - 20px);margin:0;padding:0}/*!@nav .heading*/nav.sc-biggive-footer .heading.sc-biggive-footer{font-size:17px;line-height:24px;font-weight:bold;border-bottom:1px solid #FFFFFF;padding-bottom:10px;margin-bottom:10px}/*!@nav ul*/nav.sc-biggive-footer ul.sc-biggive-footer{margin:0;padding:0}/*!@nav ul li*/nav.sc-biggive-footer ul.sc-biggive-footer li.sc-biggive-footer{margin:0;padding:0;list-style-type:none;margin-top:15px}/*!@nav ul li a*/nav.sc-biggive-footer ul.sc-biggive-footer li.sc-biggive-footer a.sc-biggive-footer{color:#FFFFFF;text-decoration:none}/*!@nav ul li a[class^=icon-], nav ul li a[class*=icon-]*/nav.sc-biggive-footer ul.sc-biggive-footer li.sc-biggive-footer a[class^=icon-].sc-biggive-footer,nav.sc-biggive-footer ul.sc-biggive-footer li.sc-biggive-footer a[class*=icon-].sc-biggive-footer{padding-left:20px;background-repeat:no-repeat;background-size:auto 10px;background-position:left center}/*!@nav ul li a.icon-green*/nav.sc-biggive-footer ul.sc-biggive-footer li.sc-biggive-footer a.icon-green.sc-biggive-footer{background-image:url(/assets/images/triangles-combined-green-match-white.svg)}/*!@nav ul li a.icon-children*/nav.sc-biggive-footer ul.sc-biggive-footer li.sc-biggive-footer a.icon-children.sc-biggive-footer{background-image:url(/assets/images/triangles-combined-children-white.svg)}/*!@nav ul li a.icon-christmas*/nav.sc-biggive-footer ul.sc-biggive-footer li.sc-biggive-footer a.icon-christmas.sc-biggive-footer{background-image:url(/assets/images/triangles-combined-christmas-challenge-white.svg)}/*!@nav ul li a.icon-green-match*/nav.sc-biggive-footer ul.sc-biggive-footer li.sc-biggive-footer a.icon-green-match.sc-biggive-footer{background-image:url(/assets/images/triangles-combined-green-match-white.svg)}/*!@nav ul li a.icon-women-girls*/nav.sc-biggive-footer ul.sc-biggive-footer li.sc-biggive-footer a.icon-women-girls.sc-biggive-footer{background-image:url(/assets/images/triangles-combined-women-girls-white.svg)}/*!@nav ul li a.icon-mental-health*/nav.sc-biggive-footer ul.sc-biggive-footer li.sc-biggive-footer a.icon-mental-health.sc-biggive-footer{background-image:url(/assets/images/triangles-combined-mental-health-white.svg)}/*!@nav ul li a.icon-anchor-match*/nav.sc-biggive-footer ul.sc-biggive-footer li.sc-biggive-footer a.icon-anchor-match.sc-biggive-footer{background-image:url(/assets/images/triangles-combined-anchor-white.svg)}/*!@nav ul li a.icon-emergency*/nav.sc-biggive-footer ul.sc-biggive-footer li.sc-biggive-footer a.icon-emergency.sc-biggive-footer{background-image:url(/assets/images/triangles-combined-emergency-white.svg)}/*!@.row-top*/.row-top.sc-biggive-footer{background-image:url(/assets/images/biggive-triangle-green.svg);background-repeat:no-repeat;background-size:auto 75px;background-position:60px 30px;background-color:#2C089B;padding:100px 60px 60px 60px;display:flex;flex-wrap:wrap;justify-content:space-between}/*!@.row-top .button-wrap*/.row-top.sc-biggive-footer .button-wrap.sc-biggive-footer{margin-top:60px;width:100%;display:flex;flex-wrap:wrap;justify-content:space-between}/*!@footer .row-bottom*/footer.sc-biggive-footer .row-bottom.sc-biggive-footer{background-color:#000000;padding:60px 60px 15px 60px;border-top:1px solid #FFFFFF}/*!@footer .row-bottom .fr-logo*/footer.sc-biggive-footer .row-bottom.sc-biggive-footer .fr-logo.sc-biggive-footer{width:135px}/*!@footer .row-bottom .postscript-wrap*/footer.sc-biggive-footer .row-bottom.sc-biggive-footer .postscript-wrap.sc-biggive-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between}@media screen and (max-width: 768px){/*!@footer .row-bottom .postscript-wrap*/footer.sc-biggive-footer .row-bottom.sc-biggive-footer .postscript-wrap.sc-biggive-footer{flex-direction:column}}/*!@footer .row-bottom .nav.nav-postscript*/footer.sc-biggive-footer .row-bottom.sc-biggive-footer .nav.nav-postscript.sc-biggive-footer{text-align:right;flex-grow:1}@media screen and (max-width: 768px){/*!@footer .row-bottom .nav.nav-postscript*/footer.sc-biggive-footer .row-bottom.sc-biggive-footer .nav.nav-postscript.sc-biggive-footer{text-align:center}}/*!@footer .row-bottom .nav-postscript li*/footer.sc-biggive-footer .row-bottom.sc-biggive-footer .nav-postscript.sc-biggive-footer li.sc-biggive-footer{display:inline-block;margin-left:1rem}/*!@footer .row-bottom .nav-postscript li:first-child*/footer.sc-biggive-footer .row-bottom.sc-biggive-footer .nav-postscript.sc-biggive-footer li.sc-biggive-footer:first-child{margin-left:0}@media screen and (max-width: 768px){/*!@footer .row-bottom .nav-postscript li*/footer.sc-biggive-footer .row-bottom.sc-biggive-footer .nav-postscript.sc-biggive-footer li.sc-biggive-footer{display:block;width:100%;margin-left:0}}/*!@footer .row-bottom .social-icon-wrap*/footer.sc-biggive-footer .row-bottom.sc-biggive-footer .social-icon-wrap.sc-biggive-footer{border-top:1px solid #FFFFFF;padding-top:30px;margin-top:30px;display:flex;align-items:center;justify-content:center;margin-bottom:30px}/*!@footer .row-bottom .social-icon-wrap .social-icon-item*/footer.sc-biggive-footer .row-bottom.sc-biggive-footer .social-icon-wrap.sc-biggive-footer .social-icon-item.sc-biggive-footer{margin:0 15px}/*!@footer .row-bottom p*/footer.sc-biggive-footer .row-bottom.sc-biggive-footer p.sc-biggive-footer{text-align:center}@media screen and (max-width: 768px){/*!@.row-top*/.row-top.sc-biggive-footer{padding:15px}}@media screen and (max-width: 768px){/*!@nav*/nav.sc-biggive-footer{width:100%;margin-right:0;margin-bottom:30px}/*!@.row-top*/.row-top.sc-biggive-footer{background-size:auto 50px;padding-top:80px;padding-left:15px;background-position:15px 30px}/*!@.row-top .button-wrap **/.row-top.sc-biggive-footer .button-wrap.sc-biggive-footer *.sc-biggive-footer{width:100% !important}}";
|
|
7204
7204
|
|
|
7205
7205
|
class BiggiveFooter {
|
|
7206
7206
|
constructor(hostRef) {
|
|
@@ -7230,7 +7230,7 @@ class BiggiveFooter {
|
|
|
7230
7230
|
return (hAsync("footer", { class: "footer" }, hAsync("div", { class: "row row-top" }, hAsync("nav", { class: "nav nav-primary", "aria-labelledby": "footer-primary-heading" }, hAsync(HeadingTag, { class: "heading", id: "footer-primary-heading" }, hAsync("slot", { name: "nav-primary-title" }))), hAsync("nav", { class: "nav nav-secondary", "aria-labelledby": "footer-secondary-heading-heading" }, hAsync(HeadingTag, { class: "heading", id: "footer-secondary-heading" }, hAsync("slot", { name: "nav-secondary-title" }))), hAsync("nav", { class: "nav nav-tertiary", "aria-labelledby": "footer-tertiary-heading" }, hAsync(HeadingTag, { class: "heading", id: "footer-tertiary-heading" }, hAsync("slot", { name: "nav-tertiary-title" }))), hAsync("div", { class: "button-wrap" }, hAsync("biggive-button", { "colour-scheme": "white", url: "https://blog.thebiggive.org.uk/charities", label: "For charities" }), hAsync("biggive-button", { "colour-scheme": "white", url: "https://blog.thebiggive.org.uk/funders", label: "For funders" }))), hAsync("div", { class: "row row-bottom" }, hAsync("div", { class: "postscript-wrap" }, hAsync("img", { class: "fr-logo", src: getAssetPath('../assets/images/fundraising-regulator.png'), alt: "Fundraising Regulator" }), hAsync("nav", { class: "nav nav-postscript", "aria-label": "Legal" })), hAsync("div", { class: "social-icon-wrap" }, hAsync("slot", { name: "social-icons" })), hAsync("p", null, "\u00A9 2007 \u2013 2022 The Big Give Trust (1136547) | Company number 07273065 | Dragon Court, 27-29 Macklin Street, London WC2B 5LX, United Kingdom"))));
|
|
7231
7231
|
};
|
|
7232
7232
|
const presetFooter = () => {
|
|
7233
|
-
return (hAsync("footer", { class: "footer" }, hAsync("div", { class: "row row-top" }, hAsync("nav", { class: "nav nav-primary", "aria-labelledby": "footer-primary-heading" }, hAsync(HeadingTag, { class: "heading", id: "footer-primary-heading" }, hAsync("div", { slot: "nav-primary-title" }, "Match Funding Opportunities")), hAsync("ul", { slot: "nav-primary" }, hAsync("li", null, hAsync("a", { href: makeURL('Blog', this.blogUrlPrefix, 'christmas-challenge'), class: "icon-christmas" }, "Christmas Challenge")), hAsync("li", null, hAsync("a", { href: makeURL('Blog', this.blogUrlPrefix, 'green-match-fund'), class: "icon-green" }, "Green Match Fund")), hAsync("li", null, hAsync("a", { href: makeURL('Blog', this.blogUrlPrefix, 'champions-for-children'), class: "icon-children" }, "Champions for Children")), hAsync("li", null, hAsync("a", { href: makeURL('Blog', this.blogUrlPrefix, 'women-girls-match-fund'), class: "icon-women-girls" }, "Women and Girls Match Fund")), hAsync("li", null, hAsync("a", { href: makeURL('Blog', this.blogUrlPrefix, 'kind2mind/'), class: "icon-mental-health" }, "Kind\u00B2Mind")), hAsync("li", null, hAsync("a", { href: makeURL('Blog', this.blogUrlPrefix, 'emergency-campaigns/'), class: "icon-emergency" }, "Emergency Match Fund")), hAsync("li", null, hAsync("a", { href: makeURL('Blog', this.blogUrlPrefix, 'run-your-own-campaign/)') }, "Run your own campaign")))), hAsync("nav", { class: "nav nav-secondary", "aria-labelledby": "footer-secondary-heading-heading" }, hAsync(HeadingTag, { class: "heading", id: "footer-secondary-heading" }, hAsync("div", { slot: "nav-secondary-title" }, "Resources")), hAsync("ul", { slot: "nav-secondary" }, hAsync("li", null, hAsync("a", { href: makeURL('Blog', this.blogUrlPrefix, 'case-studies') }, "Case Studies")), hAsync("li", null, hAsync("a", { href: makeURL('Blog', this.blogUrlPrefix, 'blog') }, "Blog")), hAsync("li", null, hAsync("a", { href: makeURL('Blog', this.blogUrlPrefix, 'reports-insights') }, "Reports & Insights")), hAsync("li", null, hAsync("a", { href: makeURL('Blog', this.blogUrlPrefix, 'press') }, "Press")))), hAsync("nav", { class: "nav nav-tertiary", "aria-labelledby": "footer-tertiary-heading" }, hAsync(HeadingTag, { class: "heading", id: "footer-tertiary-heading" }, hAsync("div", { slot: "nav-tertiary-title" }, "About")), hAsync("ul", { slot: "nav-tertiary" }, hAsync("li", null, hAsync("a", { href: makeURL('Experience', this.experienceUrlPrefix, 's/contact-us') }, "Contact us")), hAsync("li", null, hAsync("a", { href: makeURL('Blog', this.blogUrlPrefix, 'our-story') }, "Our Story")), hAsync("li", null, hAsync("a", { href: makeURL('Blog', this.blogUrlPrefix, 'our-people') }, "Our People")), hAsync("li", null, hAsync("a", { href: makeURL('Blog', this.blogUrlPrefix, 'our-fees') }, "Our Fees")), hAsync("li", null, hAsync("a", { href: makeURL('Blog', this.blogUrlPrefix, 'careers') }, "Careers")), hAsync("li", null, hAsync("a", { href: makeURL('Blog', this.blogUrlPrefix, 'faqs') }, "FAQs")))
|
|
7233
|
+
return (hAsync("footer", { class: "footer" }, hAsync("div", { class: "row row-top" }, hAsync("nav", { class: "nav nav-primary", "aria-labelledby": "footer-primary-heading" }, hAsync(HeadingTag, { class: "heading", id: "footer-primary-heading" }, hAsync("div", { slot: "nav-primary-title" }, "Match Funding Opportunities")), hAsync("ul", { slot: "nav-primary" }, hAsync("li", null, hAsync("a", { href: makeURL('Blog', this.blogUrlPrefix, 'christmas-challenge'), class: "icon-christmas" }, "Christmas Challenge")), hAsync("li", null, hAsync("a", { href: makeURL('Blog', this.blogUrlPrefix, 'green-match-fund'), class: "icon-green" }, "Green Match Fund")), hAsync("li", null, hAsync("a", { href: makeURL('Blog', this.blogUrlPrefix, 'champions-for-children'), class: "icon-children" }, "Champions for Children")), hAsync("li", null, hAsync("a", { href: makeURL('Blog', this.blogUrlPrefix, 'women-girls-match-fund'), class: "icon-women-girls" }, "Women and Girls Match Fund")), hAsync("li", null, hAsync("a", { href: makeURL('Blog', this.blogUrlPrefix, 'kind2mind/'), class: "icon-mental-health" }, "Kind\u00B2Mind")), hAsync("li", null, hAsync("a", { href: makeURL('Blog', this.blogUrlPrefix, 'emergency-campaigns/'), class: "icon-emergency" }, "Emergency Match Fund")), hAsync("li", null, hAsync("a", { href: makeURL('Blog', this.blogUrlPrefix, 'run-your-own-campaign/)') }, "Run your own campaign")))), hAsync("nav", { class: "nav nav-secondary", "aria-labelledby": "footer-secondary-heading-heading" }, hAsync(HeadingTag, { class: "heading", id: "footer-secondary-heading" }, hAsync("div", { slot: "nav-secondary-title" }, "Resources")), hAsync("ul", { slot: "nav-secondary" }, hAsync("li", null, hAsync("a", { href: makeURL('Blog', this.blogUrlPrefix, 'case-studies') }, "Case Studies")), hAsync("li", null, hAsync("a", { href: makeURL('Blog', this.blogUrlPrefix, 'blog') }, "Blog")), hAsync("li", null, hAsync("a", { href: makeURL('Blog', this.blogUrlPrefix, 'reports-insights') }, "Reports & Insights")), hAsync("li", null, hAsync("a", { href: makeURL('Blog', this.blogUrlPrefix, 'press') }, "Press")))), hAsync("nav", { class: "nav nav-tertiary", "aria-labelledby": "footer-tertiary-heading" }, hAsync(HeadingTag, { class: "heading", id: "footer-tertiary-heading" }, hAsync("div", { slot: "nav-tertiary-title" }, "About")), hAsync("ul", { slot: "nav-tertiary" }, hAsync("li", null, hAsync("a", { href: makeURL('Experience', this.experienceUrlPrefix, 's/contact-us') }, "Contact us")), hAsync("li", null, hAsync("a", { href: makeURL('Blog', this.blogUrlPrefix, 'our-story') }, "Our Story")), hAsync("li", null, hAsync("a", { href: makeURL('Blog', this.blogUrlPrefix, 'our-people') }, "Our People")), hAsync("li", null, hAsync("a", { href: makeURL('Blog', this.blogUrlPrefix, 'our-fees') }, "Our Fees")), hAsync("li", null, hAsync("a", { href: makeURL('Blog', this.blogUrlPrefix, 'careers') }, "Careers")), hAsync("li", null, hAsync("a", { href: makeURL('Blog', this.blogUrlPrefix, 'faqs') }, "FAQs")))), hAsync("div", { class: "button-wrap" }, hAsync("biggive-button", { "colour-scheme": "white", url: makeURL('Blog', this.blogUrlPrefix, 'charities'), label: "For charities" }), hAsync("biggive-button", { "colour-scheme": "white", url: makeURL('Blog', this.blogUrlPrefix, 'funders'), label: "For funders" }))), hAsync("div", { class: "row row-bottom" }, hAsync("div", { class: "postscript-wrap" }, hAsync("img", { class: "fr-logo", src: getAssetPath('../assets/images/fundraising-regulator.png'), alt: "Fundraising Regulator" }), hAsync("nav", { class: "nav nav-postscript", "aria-label": "Legal" }, hAsync("ul", { slot: "nav-postscript" }, hAsync("li", null, hAsync("a", { href: makeURL('Blog', this.blogUrlPrefix, 'terms-and-conditions') }, "Terms and Conditions")), hAsync("li", null, hAsync("a", { href: makeURL('Blog', this.blogUrlPrefix, 'privacy') }, "Privacy Policy"))))), hAsync("div", { class: "social-icon-wrap" }, hAsync("div", { slot: "social-icons" }, hAsync("biggive-social-icon", { service: "Facebook", url: "https://www.facebook.com/BigGive.org", "background-colour": "tertiary", "icon-colour": "black", wide: true }), hAsync("biggive-social-icon", { service: "Twitter", url: "https://twitter.com/BigGive", "background-colour": "tertiary", "icon-colour": "black", wide: true }), hAsync("biggive-social-icon", { service: "LinkedIn", url: "https://uk.linkedin.com/company/big-give", "background-colour": "tertiary", "icon-colour": "black", wide: true }), hAsync("biggive-social-icon", { service: "YouTube", url: "https://www.youtube.com/channel/UC9_wH1aaTuZurJ-F9R8GDcA", "background-colour": "tertiary", "icon-colour": "black", wide: true }), hAsync("biggive-social-icon", { service: "Instagram", url: "https://www.instagram.com/biggiveorg", "background-colour": "tertiary", "icon-colour": "black" }))), hAsync("p", null, "\u00A9 2007 \u2013 2022 The Big Give Trust (1136547) | Company number 07273065 | Dragon Court, 27-29 Macklin Street, London WC2B 5LX, United Kingdom"))));
|
|
7234
7234
|
};
|
|
7235
7235
|
return this.usePresetFooter ? presetFooter() : slotBasedFooter();
|
|
7236
7236
|
}
|
|
@@ -7954,7 +7954,10 @@ class BiggiveMainMenu {
|
|
|
7954
7954
|
this.setHeaderSize();
|
|
7955
7955
|
});
|
|
7956
7956
|
this.setHeaderSize();
|
|
7957
|
-
const subMenuElements = this.host.querySelectorAll('.sub-menu');
|
|
7957
|
+
const subMenuElements = this.host.shadowRoot.querySelectorAll('.sub-menu');
|
|
7958
|
+
if (subMenuElements.length === 0) {
|
|
7959
|
+
console.error('Missing subMenuElements');
|
|
7960
|
+
}
|
|
7958
7961
|
subMenuElements.forEach(subMenuElement => {
|
|
7959
7962
|
var _a;
|
|
7960
7963
|
// the subMenuLink is a sibling element to the actual sub-menu
|
|
@@ -7965,7 +7968,10 @@ class BiggiveMainMenu {
|
|
|
7965
7968
|
subMenuElement.classList.toggle('display-sub-menu');
|
|
7966
7969
|
};
|
|
7967
7970
|
});
|
|
7968
|
-
const subSubMenuElements = this.host.querySelectorAll('.sub-sub-menu');
|
|
7971
|
+
const subSubMenuElements = this.host.shadowRoot.querySelectorAll('.sub-sub-menu');
|
|
7972
|
+
if (subSubMenuElements.length === 0) {
|
|
7973
|
+
console.error('Missing subSubMenuElements');
|
|
7974
|
+
}
|
|
7969
7975
|
subSubMenuElements.forEach(subSubMenuElement => {
|
|
7970
7976
|
// the subSubMenuLink is a sibling element to the actual sub-sub-menu
|
|
7971
7977
|
const subSubMenuLink = subSubMenuElement.parentElement.querySelector('a');
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@biggive/components",
|
|
3
3
|
"_comment": "Version number below is automatically replaced during CircleCI build.",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "202304051358.0.0",
|
|
5
5
|
"description": "Big Give Components",
|
|
6
6
|
"main": "dist/index.cjs.js",
|
|
7
7
|
"module": "dist/index.js",
|