{"version":3,"sources":["webpack:///./src/components/features.module.css","webpack:///./src/components/typography.module.css","webpack:///./src/components/feature-preview.js","webpack:///./src/components/feature-preview-grid.js","webpack:///./src/pages/features.js","webpack:///./src/containers/layout.js","webpack:///./src/components/graphql-error-list.js"],"names":["module","exports","FeaturePreview","props","_rawBody","title","vimeo","React","createElement","className","styles","text","_rawExcerpt","excerpt","PortableText","blocks","videoContainer","mainImage","asset","src","imageUrlFor","buildImageObj","width","auto","url","FeaturePreviewGrid","root","headline","posts","nodes","map","node","key","id","post","browseMoreHref","browseMoreNav","Link","to","defaultProps","FeaturesPage","data","errors","Layout","GraphQLErrorList","featureNodes","features","mapEdgesToNodes","SEO","Container","content","responsiveTitle1","firstLine","length","LayoutContainer","showNav","setShowNav","useState","handleShowNav","handleHideNav","saveTrackingCode","saveReferralCode","StaticQuery","query","render","site","Error","Object","assign","siteTitle","onHideNav","onShowNav","_ref","error","message"],"mappings":"iFACAA,EAAOC,QAAU,CAAC,UAAY,oCAAoC,SAAW,oCAAoC,QAAU,kCAAkC,YAAc,uCAAuC,MAAQ,gCAAgC,KAAO,+BAA+B,eAAiB,yCAAyC,QAAU,kCAAkC,UAAY,oCAAoC,QAAU,oC,uBCAhcD,EAAOC,QAAU,CAAC,OAAS,mCAAmC,OAAS,mCAAmC,OAAS,mCAAmC,MAAQ,kCAAkC,KAAO,iCAAiC,MAAQ,kCAAkC,MAAQ,kCAAkC,UAAY,sCAAsC,GAAK,+BAA+B,GAAK,+BAA+B,GAAK,+BAA+B,GAAK,+BAA+B,WAAa,uCAAuC,iBAAmB,6CAA6C,iBAAmB,6CAA6C,iBAAmB,6CAA6C,iBAAmB,+C,iKCsCtvBC,MA7Bf,SAAyBC,GAEzB,MAAM,SAACC,EAAQ,MAAEC,EAAK,MAAEC,GAASH,EAE/B,OACEI,IAAAC,cAAA,OAAKC,UAAWC,IAAOC,MACrBJ,IAAAC,cAAA,MAAIC,UAAWC,IAAOL,OACjBF,EAAME,OAEVF,EAAMS,aAC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B,qBACjC5C,IAAAC,cAAA,KAAGC,UAAWC,IAAO0C,WAAW,qHAC/BP,GAAgBA,EAAaQ,OAAS,GAAK9C,IAAAC,cAACiB,EAAkB,CAACI,MAAOgB,U,kCC3DnF,6DAgDeS,IAnCf,SAA0BnD,GACxB,MAAM,EAACoD,EAAQ,EAACC,GAAcC,oBAAS,GAKvC,SAASC,IACPF,GAAW,GAEb,SAASG,IACPH,GAAW,GAEb,OATAI,cACAC,cASEtD,IAAAC,cAACsD,cAAW,CACVC,MAtBK,aAuBLC,OAAQvB,IACN,IAAKA,EAAKwB,KACR,MAAM,IAAIC,MACR,yGAGJ,OACE3D,IAAAC,cAACmC,IAAMwB,OAAAC,OAAA,GACDjE,EAAK,CACToD,QAASA,EACTc,UAAW5B,EAAKwB,KAAK5D,MACrBiE,UAAWX,EACXY,UAAWb,U,oCCxCvB,yBAWed,IATU4B,IAAA,IAAC,OAAC9B,GAAO8B,EAAA,OAChCjE,IAAAC,cAAA,WACED,IAAAC,cAAA,UAAI,iBACHkC,EAAOZ,IAAI2C,GACVlE,IAAAC,cAAA,OAAKwB,IAAKyC,EAAMC,SAAUD,EAAMC","file":"component---src-pages-features-js-fcd94791b90b9fbba85a.js","sourcesContent":["// extracted by mini-css-extract-plugin\nmodule.exports = {\"tutorials\":\"features-module--tutorials--3sayd\",\"postPage\":\"features-module--post-page--oNoSx\",\"wrapper\":\"features-module--wrapper--edRrD\",\"postContent\":\"features-module--post-content--mB-72\",\"posts\":\"features-module--posts--rR-8W\",\"post\":\"features-module--post--_GTcG\",\"videoContainer\":\"features-module--videoContainer--17-zH\",\"content\":\"features-module--content--3XFfZ\",\"firstLine\":\"features-module--firstLine--2WMfg\",\"readBtn\":\"features-module--readBtn--2q8K4\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"title1\":\"typography-module--title1--1Tbmt\",\"title2\":\"typography-module--title2--1dRzz\",\"title3\":\"typography-module--title3--SXwAK\",\"large\":\"typography-module--large--3gzPR\",\"base\":\"typography-module--base--3b7o6\",\"small\":\"typography-module--small--wmXt7\",\"micro\":\"typography-module--micro--1FA3w\",\"paragraph\":\"typography-module--paragraph--IWJKu\",\"H2\":\"typography-module--H2--29jSm\",\"H3\":\"typography-module--H3--3DVMn\",\"P1\":\"typography-module--P1--rR0RH\",\"P2\":\"typography-module--P2--32cQT\",\"blockQuote\":\"typography-module--blockQuote--3DNXC\",\"responsiveTitle1\":\"typography-module--responsiveTitle1--1tLTC\",\"responsiveTitle2\":\"typography-module--responsiveTitle2--1Uzed\",\"responsiveTitle3\":\"typography-module--responsiveTitle3--3gljT\",\"responsiveTitle4\":\"typography-module--responsiveTitle4--ekdC4\"};","import {format} from 'date-fns'\nimport {Link} from 'gatsby'\nimport React from 'react'\nimport {buildImageObj, cn, getBlogUrl} from '../lib/helpers'\nimport {imageUrlFor} from '../lib/image-url'\nimport PortableText from './portableText'\n\nimport styles from './features.module.css'\nimport {responsiveTitle3} from './typography.module.css'\n\nfunction FeaturePreview (props) {\n\nconst {_rawBody, title, vimeo} = props\n\n return (\n
\n

\n {props.title}\n

\n {props._rawExcerpt && (\n
\n \n
\n )}\n \n
\n {props.mainImage && props.mainImage.asset && (\n \n )}\n
\n
\n )\n}\n\nexport default FeaturePreview\n","import {Link} from 'gatsby'\nimport React from 'react'\nimport FeaturePreview from './feature-preview'\n\nimport styles from './features.module.css'\n\nfunction FeaturePreviewGrid (props) {\n return (\n
\n {props.title &&

{props.title}

}\n \n {props.browseMoreHref && (\n
\n Browse more\n
\n )}\n
\n )\n}\n\nFeaturePreviewGrid.defaultProps = {\n title: '',\n nodes: [],\n browseMoreHref: ''\n}\n\nexport default FeaturePreviewGrid\n","import React from 'react'\nimport {graphql} from 'gatsby'\nimport {mapEdgesToNodes} from '../lib/helpers'\nimport FeaturePreviewGrid from '../components/feature-preview-grid'\nimport Container from '../components/container'\nimport GraphQLErrorList from '../components/graphql-error-list'\nimport SEO from '../components/seo'\nimport Layout from '../containers/layout'\n\nimport {responsiveTitle1} from '../components/typography.module.css'\nimport styles from '../components/features.module.css'\n\n\nexport const query = graphql`\n query FeaturesPageQuery {\n features: allSanityFeaturePage(\n sort: { fields: [publishedAt], order: DESC }\n filter: { slug: { current: { ne: null } }, publishedAt: { ne: null } }\n ) {\n edges {\n node {\n id\n publishedAt\n title\n _rawBody\n _rawExcerpt\n mainImage {\n ...SanityImage\n }\n slug {\n current\n }\n }\n }\n }\n }\n`\n\nconst FeaturesPage = props => {\n const {data, errors} = props\n\n if (errors) {\n return (\n \n \n \n )\n }\n\n const featureNodes = data && data.features && mapEdgesToNodes(data.features)\n\n return (\n
\n \n \n \n
\n

Passiv's Features

\n

Passiv provides all the functionality you need to manage your own portfolio. This page lists all of our features.

\n {featureNodes && featureNodes.length > 0 && }\n
\n
\n
\n
\n )\n}\n\nexport default FeaturesPage\n","import {graphql, StaticQuery} from 'gatsby'\nimport React, {useState} from 'react'\nimport Layout from '../components/layout'\nimport { saveReferralCode, saveTrackingCode } from '../lib/helpers';\n\nconst query = graphql`\n query SiteTitleQuery {\n site: sanitySiteSettings(_id: {regex: \"/(drafts.|)siteSettings/\"}) {\n title\n }\n }\n`\n\nfunction LayoutContainer (props) {\n const [showNav, setShowNav] = useState(false)\n\n saveTrackingCode();\n saveReferralCode();\n\n function handleShowNav () {\n setShowNav(true)\n }\n function handleHideNav () {\n setShowNav(false)\n }\n return (\n {\n if (!data.site) {\n throw new Error(\n 'Missing \"Site settings\". Open the Studio at http://localhost:3333 and some content in \"Site settings\"'\n )\n }\n return (\n \n )\n }}\n />\n )\n}\n\nexport default LayoutContainer\n","import React from 'react'\n\nconst GraphQLErrorList = ({errors}) => (\n
\n

GraphQL Error

\n {errors.map(error => (\n
{error.message}
\n ))}\n
\n)\n\nexport default GraphQLErrorList\n"],"sourceRoot":""}