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AeE,OAElB,2BACA,gBAAC,IAAD,CACE8B,GAAI,KACJJ,GAAI,wBACJC,MAAO,CACLV,MAAM,GAAIX,EAAUW,QAGrBR,GAEH,2BACA,gBAAC,IAAD,CACEqB,GAAI,KACJJ,GAAI,0BACJC,MAAO,CACLV,MAAM,GAAIX,EAAUW,QAGrBP,KAIP,uBAAKgB,GAAI,gCAEX,uBAAKE,UAAW,qCACd,gBAAC,EAAAG,EAAD,CAAaC,MAAOjB,EAAkBkB,IAAK,WAE7C,uBAAKP,GAAI,WACNvB,EAAS+B,KACR,YAAgE,IAA7D7B,EAA4D,EAA5DA,gBAAiBC,EAA2C,EAA3CA,UAAW6B,EAAgC,EAAhCA,QAASC,EAAuB,EAAvBA,UAAWC,EAAY,EAAZA,MACjD,OACE,uBACEV,MAAO,CACLtB,gBAAgB,GAAIA,EAAgBY,MACpCA,MAAUX,EAAUW,MAAf,gBAGP,2BACEW,UAAW,WACXD,MAAO,CACLtB,gBAAgB,GAAIA,EAAgBY,MACpCA,MAAUX,EAAUW,MAAf,cACLqB,WAAY,OACZC,cAAe,SAGjB,uBAAKb,GAAI,4BACT,uBAAKE,UAAW,aACd,gBAAC,KAAD,CAAMT,SAAU,IAAMC,MAAO,IAAKS,aAAa,GAC7C,gBAAC,IAAD,CACEC,GAAI,KACJJ,GAAI,wBACJC,MAAO,CACLV,MAAM,GAAIX,EAAUW,QAGrBkB,GAEH,2BACA,gBAAC,IAAD,CACEL,GAAI,KACJJ,GAAI,0BACJC,MAAO,CACLV,MAAM,GAAIX,EAAUW,QAGrBmB,OAKRC,MAAAA,OAAA,EAAAA,EAAOzB,YACN,uBAAKgB,UAAW,gCACd,gBAAC,EAAAG,EAAD,CACEJ,MAAO,CAAEa,OAAQ,QACjBR,OAAOhB,EAAAA,EAAAA,GAASqB,EAAMzB,WACtBqB,IAAKI,EAAMI","sources":["webpack://bitlight-website/./src/templates/ProjectPage.jsx"],"sourcesContent":["import React from \"react\"\nimport { graphql } from \"gatsby\"\n\nimport Layout from \"../components/Layout\"\nimport Seo from \"../components/Seo\"\nimport { Fade } from \"react-awesome-reveal\"\nimport { GatsbyImage, getImage } from \"gatsby-plugin-image\"\nimport { BText } from \"../components/chakra/BText\"\n\nfunction ProjectPage(props) {\n const { data, location } = props\n const { site, strapiProjects } = data || {}\n const { siteMetadata } = site || {}\n const { title, strapiUrl, siteUrl } = siteMetadata || {}\n const {\n sections,\n coverImage,\n backgroundColor,\n textColor,\n logo,\n seo,\n shortDescription,\n coverParagraph,\n hamburgerBackgroundColor,\n } = strapiProjects || {}\n const { localFile } = coverImage || {}\n\n const footerSection = sections[sections.length - 1]\n\n const coverGatsbyImage = getImage(localFile)\n return (\n \n \n \n
\n
\n \n \n {strapiProjects.title}\n \n
\n \n {shortDescription}\n \n
\n \n {coverParagraph}\n \n
\n
\n
\n \n
\n \n
\n
\n {sections.map(\n ({ backgroundColor, textColor, Heading, Paragraph, Image }) => {\n return (\n \n \n
\n
\n \n \n {Heading}\n \n
\n \n {Paragraph}\n \n
\n
\n \n {Image?.localFile && (\n
\n \n
\n )}\n
\n )\n }\n )}\n
\n \n )\n}\n\nexport default ProjectPage\n\nexport const pageQuery = graphql`\n query BlogPostBySlug($slug: String!) {\n site {\n siteMetadata {\n title\n author\n strapiUrl\n siteUrl\n }\n }\n strapiProjects(slug: { eq: $slug }) {\n id\n hamburgerBackgroundColor {\n color\n }\n shortDescription\n coverParagraph\n coverColor {\n color\n }\n backgroundColor {\n color\n }\n coverImage {\n url\n alternativeText\n localFile {\n childImageSharp {\n gatsbyImageData(height: 600, placeholder: BLURRED)\n }\n }\n }\n coverTextColor {\n color\n }\n title\n thumbnail {\n alternativeText\n url\n }\n slug\n seo {\n metaDescription\n metaTitle\n metaImage {\n url\n }\n }\n logo\n textColor {\n color\n }\n sections {\n Heading\n Paragraph\n id\n textColor {\n color\n }\n backgroundColor {\n color\n }\n Image {\n url\n alternativeText\n localFile {\n childImageSharp {\n gatsbyImageData(height: 600, placeholder: BLURRED)\n }\n }\n }\n }\n }\n }\n`\n"],"names":["props","data","location","site","strapiProjects","siteMetadata","title","strapiUrl","siteUrl","sections","coverImage","backgroundColor","textColor","logo","seo","shortDescription","coverParagraph","hamburgerBackgroundColor","localFile","footerSection","length","coverGatsbyImage","getImage","color","hamburgerColor","duration","delay","footerBackgroundColor","footerColor","metaTitle","description","metaDescription","id","style","className","triggerOnce","as","G","image","alt","map","Heading","Paragraph","Image","paddingTop","paddingBottom","margin","alternativeText"],"sourceRoot":""}