-
Notifications
You must be signed in to change notification settings - Fork 0
/
component---src-templates-artists-jsx-c8753bbe02d0af7db0b2.js
2 lines (2 loc) · 1.85 KB
/
component---src-templates-artists-jsx-c8753bbe02d0af7db0b2.js
1
2
"use strict";(self.webpackChunkman_gatsby=self.webpackChunkman_gatsby||[]).push([[46],{2504:function(e,t,a){a.d(t,{D:function(){return c}});var l=a(7294),n="HeroSection-module--btns--baf00",r="HeroSection-module--container--3b7b5";function c(e){let{image:t,title:a,subtitle:c,children:o}=e;return l.createElement("div",{className:r,style:{backgroundImage:"url("+t+")"}},l.createElement("h1",null,a),c&&l.createElement("p",null,c),o&&l.createElement("div",{className:n},o))}},7328:function(e,t,a){a.d(t,{A:function(){return l.A}});var l=a(2631)},487:function(e,t,a){a.r(t),a.d(t,{Head:function(){return i}});var l=a(7294),n=a(5005),r=a(682),c=a(2504),o=a(7328);function u(e){let{text:t,url:a}=e;return l.createElement(n.Z,{as:"a",target:"_blank",href:a,className:"me-1"},t)}function i(e){var t;let{data:a}=e;return l.createElement("title",null,null==a||null===(t=a.markdownRemark.frontmatter)||void 0===t?void 0:t.name)}t.default=function(e){var t;let{data:a}=e;console.log(a);const{frontmatter:n,html:i}=a.markdownRemark;return l.createElement(o.A,null,l.createElement(c.D,{title:null==n?void 0:n.name,image:null===(t=n.image)||void 0===t?void 0:t.childImageSharp.gatsbyImageData.images.fallback.src}),l.createElement(r.Z,null,l.createElement("p",null,null==n?void 0:n.intro),l.createElement("hr",null),l.createElement("div",{dangerouslySetInnerHTML:{__html:i}}),n.social&&l.createElement(l.Fragment,null,l.createElement("h2",null,"Social Links"),n.social&&l.createElement(l.Fragment,null,n.social.facebook&&l.createElement(u,{text:"Facebook",url:n.social.facebook}),n.social.instagram&&l.createElement(u,{text:"Instagram",url:n.social.instagram}),n.social.twitter&&l.createElement(u,{text:"Twitter",url:n.social.twitter}),n.social.youtube&&l.createElement(u,{text:"YouTube",url:n.social.youtube})))))}}}]);
//# sourceMappingURL=component---src-templates-artists-jsx-c8753bbe02d0af7db0b2.js.map