\n (this.mapRef = el)} />\n \n )\n }\n}\n\nconst styleMap = {\n position: 'absolute',\n top: 0,\n bottom: 0,\n right: 0,\n left: 0,\n}\n\nexport default withTheme(MapComponent)\n","import React from 'react'\nimport glamorous from 'glamorous'\nimport {colors, hexToRgba} from '../css/themes'\n\nconst Hover = glamorous.div({\n position: 'relative',\n paddingLeft: '1rem',\n paddingRight: '1rem',\n margin: '0.5rem',\n '&:hover .hover-backdrop': {\n cursor: 'pointer',\n opacity: 0.18,\n transform: 'none',\n },\n})\n\nconst HoverBackdrop = glamorous.div({\n position: 'absolute',\n pointerEvents: 'none',\n top: '-4px',\n bottom: '-4px',\n left: '-4px',\n right: '-4px',\n background: colors.orange,\n boxShadow: `0 0 40px 3px ${hexToRgba(colors.black, 0.4)}`,\n borderRadius: '8px',\n transition: 'all 320ms ease-out',\n transform: 'scale(1.03)',\n opacity: 0,\n})\n\nconst CardHover = ({style, children}) => (\n \n \n {children}\n \n)\n\nexport default CardHover\n","import React from 'react'\nimport {string, shape, any} from 'prop-types'\nimport {Link} from 'gatsby'\nimport glamorous from 'glamorous'\n\nimport CardHover from '../components/card-hover'\nimport Image from '../components/image'\nimport {LinkStyled, Strong} from '../components/common'\n\n/*\n * 1. Book preview\n * 2. Podcast Preview\n * 3. Film Preview\n *\n * All of these have some sort of image with a subtitle description\n */\n\nconst MediaPreviewContentWrapper = glamorous.div({\n display: 'flex',\n marginBottom: '2rem',\n flexDirection: 'column',\n flexGrow: 1,\n alignItems: 'center',\n textAlign: 'center',\n})\n\nconst MediaPreviewDescription = glamorous.div({\n marginTop: '0.15rem',\n fontSize: '0.85rem',\n})\n\nconst MediaPreview = ({path, image, title, author}) => {\n return (\n \n \n \n \n {image && }\n \n {title}\n \n \n \n \n \n )\n}\n\nMediaPreview.propTypes = {\n path: string,\n image: shape({\n childImageSharp: shape({\n fixed: any,\n }).isRequired,\n }).isRequired,\n title: string.isRequired,\n author: string.isRequired,\n}\n\nexport default MediaPreview\n"],"sourceRoot":""}