{"version":3,"file":"ad771684-cc25e8b00adcf37880a6.js","mappings":"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","sources":["webpack://nedpoulter/./src/atoms/Item.js"],"sourcesContent":["import React from 'react'\nimport PropTypes from 'prop-types'\nimport { GatsbyImage } from 'gatsby-plugin-image'\n\nimport tw from 'twin.macro'\n\nconst ItemWrap = tw.div`w-full sm:w-1/2 lg:w-1/3`\nconst ItemWrapInner = tw.div`bg-white bg-opacity-10 rounded-md m-4 p-4`\nconst Image = tw.div`inline-block p-4 mx-auto h-24 lg:h-28 w-auto`\nconst Title = tw.h3`font-heading text-xl md:text-2xl mb-2`\nconst SubTitle = tw.p`font-bold text-base md:text-lg mb-4`\nconst Description = tw.p`font-sans text-base`\nconst Button = tw.a`block px-4 py-2 mt-4 font-sans text-sm font-bold text-white text-center uppercase transition-colors duration-200 ease-in-out bg-blue-800 border-2 border-white rounded md:text-lg hover:text-white hover:bg-gray-800`\nconst LinksWrap = tw.div`flex mt-4 items-center`\nconst Link = tw.a`text-white hover:opacity-50 transition duration-300 ease-out pt-2 pr-2`\n\nconst Item = ({\n title,\n subTitle,\n description,\n image,\n buttonUrl,\n buttonText,\n url,\n twitterUrl,\n facebookUrl,\n instagramUrl,\n linkedInUrl,\n youtubeUrl,\n appStoreUrl,\n playStoreUrl,\n}) => {\n const hasLinks =\n url ||\n twitterUrl ||\n facebookUrl ||\n instagramUrl ||\n linkedInUrl ||\n youtubeUrl ||\n appStoreUrl ||\n playStoreUrl\n\n return (\n \n \n {image && (\n \n \n \n )}\n {title}\n {subTitle && {subTitle}}\n {description && {description}}\n\n {buttonUrl && buttonText && (\n \n )}\n\n {hasLinks && (\n \n {url && (\n \n \n \n \n \n )}\n {twitterUrl && (\n \n \n \n \n \n )}\n {facebookUrl && (\n \n \n \n \n \n )}\n {instagramUrl && (\n \n \n \n \n \n )}\n {linkedInUrl && (\n \n \n \n \n \n )}\n {youtubeUrl && (\n \n \n \n \n \n )}\n {appStoreUrl && (\n \n \n \n \n \n )}\n {playStoreUrl && (\n \n \n \n \n \n )}\n \n )}\n \n \n )\n}\n\nexport default Item\n\nItem.propTypes = {\n title: PropTypes.string,\n subTitle: PropTypes.string,\n description: PropTypes.string,\n image: PropTypes.object,\n buttonUrl: PropTypes.string,\n buttonText: PropTypes.string,\n url: PropTypes.string,\n twitterUrl: PropTypes.string,\n facebookUrl: PropTypes.string,\n instagramUrl: PropTypes.string,\n linkedInUrl: PropTypes.string,\n youtubeUrl: PropTypes.string,\n appStoreUrl: PropTypes.string,\n playStoreUrl: PropTypes.string,\n}\n"],"names":["ItemWrap","ItemWrapInner","Image","Title","SubTitle","Description","Button","LinksWrap","Link","title","subTitle","description","image","buttonUrl","buttonText","url","twitterUrl","facebookUrl","instagramUrl","linkedInUrl","youtubeUrl","appStoreUrl","playStoreUrl","hasLinks","G","objectFit","css","alt","asset","altText","gatsbyImageData","objectPosition","href","target","rel","stroke","fill","strokeWidth","viewBox","height","width","xmlns","d"],"sourceRoot":""}