-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent---src-templates-case-study-jsx-64e276fff9fc614e89fe.js
2 lines (2 loc) · 2.08 KB
/
component---src-templates-case-study-jsx-64e276fff9fc614e89fe.js
1
2
(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{mxIP:function(e,t,a){"use strict";a.r(t),a.d(t,"default",(function(){return v}));var n=a("zLVn"),i=a("q1tI"),l=a.n(i),r=a("vOnD"),c=a("9eSz"),d=a.n(c),s=a("L12J"),m=a("dmsj"),o=a("fivN"),u=a("8FpK"),p=a("HLwU"),y=a("FOVU"),f=a("HHef"),g=a("PANp"),w=a("PZ6k"),h=["children"],E=r.c.div.withConfig({displayName:"CaseStudy__ImageList",componentId:"sc-nvydju-0"})(["",";"],{display:"flex",flexWrap:"wrap",justifyContent:"center",alignItems:"center","@media (min-width: 900px)":{flexWrap:"nowrap"}}),b=Object(r.c)(d.a).withConfig({displayName:"CaseStudy__Image",componentId:"sc-nvydju-1"})([""]),k=r.c.div.withConfig({displayName:"CaseStudy__ImageWrapper",componentId:"sc-nvydju-2"})(["","{",";width:320px;@media only screen and (min-width:901px){max-height:320px;width:calc(320px * ",");}}"],b,{margin:"0.5rem"},(function(e){return e.aspectRatio})),x=function(e){var t=e.children,a=Object(n.a)(e,h).style;return l.a.createElement(p.b,{style:a},l.a.createElement(f.a,null,t))};function v(e){var t=e.pageContext,a=t.prev,n=t.next,i=e.data,r=i.markdownRemark,c=r.frontmatter,d=r.htmlAst,p=i.images.edges,f=c.subtitles?c.subtitles.join(" "):c.title;return l.a.createElement(s.a,null,l.a.createElement(m.a,{title:c.title,keywords:c.keywords,description:f}),l.a.createElement(u.a,null,l.a.createElement(y.a,{isDark:!0,style:{zIndex:20}},l.a.createElement(w.c,null,c.title),l.a.createElement(w.k,null,c.subtitles?c.subtitles.map((function(e,t){return l.a.createElement(w.o,{key:t},e)})):c.subtitles)),l.a.createElement(x,{condensed:!0},Object(g.a)(d)),p.length>1&&l.a.createElement(x,{style:{backgroundColor:"#767870"}},l.a.createElement(E,null,p.map((function(e,t){var a=e.node.childImageSharp.fluid;return l.a.createElement(k,{key:"img-"+t,aspectRatio:a.aspectRatio},l.a.createElement(b,{alt:e.node.name,key:a.src,fluid:a,imgStyle:{objectFit:"contain"}}))})))),l.a.createElement(x,{style:{backgroundColor:"#ebede8",paddingLeft:"0",paddingRight:"0"}},l.a.createElement(o.a,{prev:a,next:n}))))}}}]);
//# sourceMappingURL=component---src-templates-case-study-jsx-64e276fff9fc614e89fe.js.map