-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent---src-pages-index-js-55756cecb2207793f092.js
2 lines (2 loc) · 3.71 KB
/
component---src-pages-index-js-55756cecb2207793f092.js
1
2
"use strict";(self.webpackChunkopenousd=self.webpackChunkopenousd||[]).push([[678],{65769:function(e,t,a){var n=a(33246),c=["eventCategory","eventAction","eventLabel","eventValue"],l=a(8580);t.I=function(e){var t=e.category,a=e.action,n=e.label,c=e.value,l=e.nonInteraction,r=void 0!==l&&l,o=e.transport,i=e.hitCallback,s=e.callbackTimeout,u=void 0===s?1e3:s;if("undefined"!=typeof window&&window.ga){var d={eventCategory:t,eventAction:a,eventLabel:n,eventValue:c,nonInteraction:r,transport:o};i&&"function"==typeof i&&(d.hitCallback=function(e,t){void 0===t&&(t=1e3);var a=!1,n=function(){a||(a=!0,e())};return setTimeout(n,t),n}(i,u)),window.ga("send","event",d)}};var r=l(a(64362)),o=l(a(67294)),i=l(a(45697));function s(e){var t=e.eventCategory,a=e.eventAction,l=e.eventLabel,i=e.eventValue,s=n(e,c);return o.default.createElement("a",(0,r.default)({},s,{onClick:function(n){"function"==typeof e.onClick&&e.onClick(n);var c=!0;return(0!==n.button||n.altKey||n.ctrlKey||n.metaKey||n.shiftKey||n.defaultPrevented)&&(c=!1),e.target&&"_self"!==e.target.toLowerCase()&&(c=!1),window.ga?window.ga("send","event",{eventCategory:t||"Outbound Link",eventAction:a||"click",eventLabel:l||e.href,eventValue:i,transport:c?"beacon":"",hitCallback:function(){c&&(document.location=e.href)}}):c&&(document.location=e.href),!1}}))}s.propTypes={href:i.default.string,target:i.default.string,eventCategory:i.default.string,eventAction:i.default.string,eventLabel:i.default.string,eventValue:i.default.number,onClick:i.default.func}},97704:function(e,t,a){a.r(t);var n=a(67294),c=a(39703),l=a(65769),r=a(65761),o=a(18158),i=a(2359),s=a(36179),u=a(33639),d=a(20994),m=a(7408),f=a(46594);t.default=function(e){var t=e.data;return n.createElement(o.Z,{pageClassName:"index-page"},n.createElement(s.Z,{title:"Home"}),n.createElement("div",{className:"hero mx-auto"},n.createElement(i.S,{src:"../images/mural.png",alt:"Live Learn Love mural at Roosevelt Middle School",__imageData:a(96664)})),n.createElement(u.Z,null,n.createElement(d.Z,{className:"descriptions justify-content-center"},n.createElement(m.Z,{xs:11,lg:5,className:"px-lg-5 py-lg-4 px-3 py-3"},n.createElement("h1",{className:""},t.contentfulPage.content.card01Title),(0,r.Z)(t.contentfulPage.content.card01Content)),n.createElement(m.Z,{xs:11,lg:5,className:"px-lg-5 py-lg-4 px-3 py-3"},n.createElement("h1",{className:""},t.contentfulPage.content.card02Title),(0,r.Z)(t.contentfulPage.content.card02Content),n.createElement(c.Link,{to:"/central-programs/"},n.createElement(f.Z,{variant:"primary",size:"lg",className:"cta",onClick:function(e){return(0,l.I)({category:"Home Card",action:"Explore Central Programs",label:" What Are Central Programs?"})}},t.contentfulPage.content.exploreCentralProgramsButton)))),n.createElement(d.Z,null,n.createElement(m.Z,{xs:11,lg:5,className:"mx-auto ml-lg-5 mt-3"},n.createElement("div",{className:"footnote"},(0,r.Z)(t.contentfulPage.content.heroImageAttribution))))))}},96664:function(e){e.exports=JSON.parse('{"layout":"constrained","backgroundColor":"#0888d8","images":{"fallback":{"src":"/static/163117dc2ac838196c109cdf712b38cc/a1a71/mural.png","srcSet":"/static/163117dc2ac838196c109cdf712b38cc/c0bad/mural.png 429w,\\n/static/163117dc2ac838196c109cdf712b38cc/69e1e/mural.png 859w,\\n/static/163117dc2ac838196c109cdf712b38cc/a1a71/mural.png 1717w","sizes":"(min-width: 1717px) 1717px, 100vw"},"sources":[{"srcSet":"/static/163117dc2ac838196c109cdf712b38cc/5da06/mural.webp 429w,\\n/static/163117dc2ac838196c109cdf712b38cc/a6146/mural.webp 859w,\\n/static/163117dc2ac838196c109cdf712b38cc/a4bb4/mural.webp 1717w","type":"image/webp","sizes":"(min-width: 1717px) 1717px, 100vw"}]},"width":1717,"height":813.9999999999999}')}}]);
//# sourceMappingURL=component---src-pages-index-js-55756cecb2207793f092.js.map