{"version":3,"sources":["webpack:///./src/images/singleVarietyImg/logos/maridajeLogo.svg","webpack:///./src/components/layout.js","webpack:///./src/components/header.js","webpack:///./src/images/logos/arrowPrev.svg","webpack:///./src/images/backpagearrow.svg","webpack:///./src/images/Textura.png","webpack:///./src/images/linealarga.svg","webpack:///./src/images/logos/arrowNext.svg","webpack:///./src/images/+.svg","webpack:///./src/components/beerMenuItem.js","webpack:///./src/components/nextArrowComp.js","webpack:///./src/components/prevArrowComp.js","webpack:///./src/components/singleVariety.js","webpack:///./src/templates/varietiesTemplate.js","webpack:///./src/styles/singleVariety.module.css"],"names":["module","exports","Layout","props","activeMenu","setActiveMenu","useState","React","createElement","Fragment","className","styles","content","Header","children","Footer","SideMenu","header","Link","to","logo130","src","alt","onClick","menuHeader","menuIcon","logoMenu","BeerMenuItem","_ref","beer","path","useMediaQuery","query","link","encodeURI","slug","activeLata","style","textDecoration","beerMenu","flechaSelected","hidden","FlechaSelected","id","menuImg","canImg","beerNameActive","beerName","name","toUpperCase","NextArrow","setCount","count","slideInfo","display","width","ArrowNext","PrevArrow","ArrowPrev","SingleVariety","_sortedEdges$variedad","_sortedEdges$variedad2","_sortedEdges$variedad3","_sortedEdges$variedad4","variedad","data","active","setActive","pairingBackMobile","setPairingBackMobile","order","setName","allBeer","nodes","description","setDescription","buyLink","setBuyLink","num","setNum","mobile","settings","dots","infinite","slidesToShow","slidesToScroll","vertical","verticalSwiping","swipeToSlide","arrows","adaptiveHeight","centerMode","slickMain","swipeado","settingsMobile","swipe","touchMove","test","fade","nextArrow","NextArrowComp","prevArrow","PrevArrowComp","onSwipe","side","index","sortedBeers","length","beforeChange","prev","act","b","sortedEdges","edges","sort","a","node","useEffect","Img","fluid","pairing_back_image_mobile","childImageSharp","mobileBackPairingReduce","mobileBackPairing","mobileContainerHidden","mobileContainer","Slider","map","idx","key","textMobileContainer","button","target","rel","window","dataLayer","push","event","event_category","event_action","event_label","interaction","component_name","element_text","product","seeMoreContainerActive","seeMoreContainer","SeeMore","activeContainerMobile","none","grad","marginBottom","textLine","gradContent","gradSpanCont","bitter","temperature","pairing","close","BackgroundImage","pairing_back_image","container","backgroundImage","Textura","overlay","data-sal","data-sal-duration","data-sal-delay","data-sal-easing","textContainer","backPage","BackPageArrow","zIndex","backArrow","backArrowHidden","onMouseLeave","onMouseOver","color","backgroundColor","border","outline","logo","characteristics","href","Linea","pairingContainer","MaridajeLogo","menuContainer","ourVarieties","Object","assign","slider","Variedades","varieties"],"mappings":"iFAAAA,EAAOC,QAAU,IAA0B,4D,2DCA3C,sGAsBeC,IAdAC,IACb,MAAM,EAACC,EAAW,EAACC,GAAiBC,oBAAS,GAC7C,OACEC,IAAAC,cAAAD,IAAAE,SAAA,KACEF,IAAAC,cAAA,OAAKE,UAAWC,IAAOC,SACrBL,IAAAC,cAACK,IAAM,MACNV,EAAMW,SAEPP,IAAAC,cAACO,IAAM,U,kCChBf,gHAmCeF,IA3BAA,KACb,MAAM,EAACT,EAAW,EAACC,GAAiBC,oBAAS,GAC7C,OACEC,IAAAC,cAAAD,IAAAE,SAAA,KACEF,IAAAC,cAACQ,IAAQ,CACPZ,WAAYA,EACZC,cAAeA,IAEjBE,IAAAC,cAAA,UAAQE,UAAW,GAAGC,IAAOM,QAC3BV,IAAAC,cAACU,OAAI,CAACC,GAAI,KACRZ,IAAAC,cAAA,OAAKE,UAAWC,IAAOS,QAASC,IAAKD,IAASE,IAAI,aAEpDf,IAAAC,cAAA,OACEe,QAASA,KACPlB,GAAeD,IAEjBM,UAAWC,IAAOa,YAEjB,IACDjB,IAAAC,cAAA,YAAM,QACND,IAAAC,cAAA,OAAKE,UAAWC,IAAOc,SAAUJ,IAAKK,IAAUJ,IAAI,kB,mBC5B9DtB,EAAOC,QAAU,sY,mBCAjBD,EAAOC,QAAU,8W,qBCAjBD,EAAOC,QAAU,IAA0B,uD,mBCA3CD,EAAOC,QAAU,kV,mBCAjBD,EAAOC,QAAU,kV,mBCAjBD,EAAOC,QAAU,0zB,gRC8BF0B,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QAAY9G,GACnChB,EAAKO,QAAQC,MAAMsD,IAAIlG,GAEpBtB,IAAAC,cAACmB,EAAY,CACXsG,IAAKpG,EAAKmB,KACVlB,KAAMA,EACND,KAAMA,YC/QfmK,UATIpK,IAAqB,IAApB,KAAEqC,EAAI,KAAEnC,GAAMF,EAChC,MAAMoC,EAAWC,EAAKgI,UACtB,OACE1L,IAAAC,cAAA,WACED,IAAAC,cAACmD,EAAa,CAACK,SAAUA,EAAUlC,KAAMA,EAAMmC,KAAMA,O,qBCP3DjE,EAAOC,QAAU,CAAC,UAAY,yCAAyC,cAAgB,8CAA8C,cAAgB,8CAA8C,QAAU,uCAAuC,KAAO,oCAAoC,OAAS,sCAAsC,KAAO,oCAAoC,YAAc,4CAA4C,aAAe,8CAA8C,iBAAmB,iDAAiD,QAAU,uCAAuC,cAAgB,8CAA8C,aAAe,6CAA6C,QAAU,wCAAwC,SAAW,yCAAyC,eAAiB,gDAAgD,UAAY,0CAA0C,OAAS,sCAAsC,gBAAkB,gDAAgD,SAAW,yCAAyC,eAAiB,+CAA+C,OAAS,sCAAsC,SAAW,yCAAyC,gBAAkB,iDAAiD,UAAY,0CAA0C,UAAY,0CAA0C,gBAAkB,gDAAgD,kBAAoB,mDAAmD,wBAA0B,0DAA0D,KAAO,oCAAoC,oBAAsB,qDAAqD,iBAAmB,kDAAkD,uBAAyB,yDAAyD,sBAAwB,uDAAuD,sBAAwB,uDAAuD,KAAO,oCAAoC,MAAQ,qCAAqC,SAAW,yCAAyC,iBAAmB,gDAAgD,uBAAyB","file":"component---src-templates-varieties-template-js-3bedea34d37d19169b24.js","sourcesContent":["module.exports = __webpack_public_path__ + \"static/maridajeLogo-98680dcdbfc4c09b8fc5f2bc98814709.svg\";","import React, { useState } from \"react\"\nimport PropTypes from \"prop-types\"\nimport { useStaticQuery, graphql } from \"gatsby\"\nimport Header from \"./header\"\nimport Footer from \"./footer\"\nimport styles from \"./layout.module.css\"\nimport \"bootstrap/dist/css/bootstrap.min.css\"\nimport SideMenu from \"../components/sideMenu\"\nconst Layout = props => {\n const [activeMenu, setActiveMenu] = useState(true)\n return (\n <>\n
\n
\n {props.children}\n\n
\n \n )\n}\n\nexport default Layout\n","import { Link } from \"gatsby\"\nimport PropTypes from \"prop-types\"\nimport React, { useState } from \"react\"\nimport logoMenu from \"../images/logos/logoMenu.svg\"\nimport logo130 from \"../images/logos/newLogoMenu.svg\"\nimport styles from \"../styles/header.module.css\"\nimport SideMenu from \"../components/sideMenu\"\n\nconst Header = () => {\n const [activeMenu, setActiveMenu] = useState(true)\n return (\n <>\n \n
\n \n \"logo130\"\n \n {\n setActiveMenu(!activeMenu)\n }}\n className={styles.menuHeader}\n >\n {\" \"}\n MENÚ\n \"menuIcon\"\n \n
\n \n )\n}\n\nexport default Header\n","module.exports = \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij4NCiAgPHBhdGggaWQ9IlRyYXphZG9fMTAiIGRhdGEtbmFtZT0iVHJhemFkbyAxMCIgZD0iTTgsMCw2LjU0NSwxLjQ1NWw1LjUwNiw1LjUwNkgwVjkuMDM5SDEyLjA1Mkw2LjU0NSwxNC41NDUsOCwxNmw4LThaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxNiAxNikgcm90YXRlKDE4MCkiIGZpbGw9IiNjZWNlY2UiLz4NCjwvc3ZnPg0K\"","module.exports = \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2LjEiIGhlaWdodD0iOS40IiB2aWV3Qm94PSIwIDAgNi4xIDkuNCI+DQogIDxwYXRoIGlkPSJUcmF6YWRvXzEyOTQiIGRhdGEtbmFtZT0iVHJhemFkbyAxMjk0IiBkPSJNNi43LDguMSwyLDMuNCwzLjQsMiw2LjcsNS4zLDEwLDJsMS40LDEuNFoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDguMSAtMikgcm90YXRlKDkwKSIgZmlsbD0iI2ZmZiIvPg0KPC9zdmc+DQo=\"","module.exports = __webpack_public_path__ + \"static/Textura-2da1a9220fe868903d01afba72987acc.png\";","module.exports = \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzNzAuNSIgaGVpZ2h0PSIxIiB2aWV3Qm94PSIwIDAgMzcwLjUgMSI+DQogIDxsaW5lIGlkPSJMw61uZWFfMzMiIGRhdGEtbmFtZT0iTMOtbmVhIDMzIiB4Mj0iMzcwLjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgMC41KSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjNGFiY2VkIiBzdHJva2Utd2lkdGg9IjEiLz4NCjwvc3ZnPg0K\"","module.exports = \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij4NCiAgPHBhdGggaWQ9IlRyYXphZG9fMTI5MiIgZGF0YS1uYW1lPSJUcmF6YWRvIDEyOTIiIGQ9Ik04LDE2LDYuNTQ1LDE0LjU0NWw1LjUwNi01LjUwNkgwVjYuOTYxSDEyLjA1Mkw2LjU0NSwxLjQ1NSw4LDBsOCw4WiIgZmlsbD0iI2ZmZiIvPg0KPC9zdmc+DQo=\"","module.exports = \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNSIgaGVpZ2h0PSIyNSIgdmlld0JveD0iMCAwIDI1IDI1Ij4NCiAgPGcgaWQ9Il8iIGRhdGEtbmFtZT0iKyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMC4zOTYgMC4yNjkpIj4NCiAgICA8ZyBpZD0iRWxpcHNlXzIyNiIgZGF0YS1uYW1lPSJFbGlwc2UgMjI2IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMC4zOTYgLTAuMjY5KSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZmZmIiBzdHJva2Utd2lkdGg9IjEiPg0KICAgICAgPGNpcmNsZSBjeD0iMTIuNSIgY3k9IjEyLjUiIHI9IjEyLjUiIHN0cm9rZT0ibm9uZSIvPg0KICAgICAgPGNpcmNsZSBjeD0iMTIuNSIgY3k9IjEyLjUiIHI9IjEyIiBmaWxsPSJub25lIi8+DQogICAgPC9nPg0KICAgIDxwYXRoIGlkPSJUcmF6YWRvXzM2IiBkYXRhLW5hbWU9IlRyYXphZG8gMzYiIGQ9Ik00LjA5Miw0LjQ1NCwwLDEuMDIyLDEuMjE5LDAsNC4wOTIsMi40MSw2Ljk2NCwwLDguMTgzLDEuMDIyWiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTYuNTUgMTQuNTQ4KSByb3RhdGUoMTgwKSIgZmlsbD0iI2ZmZiIvPg0KICA8L2c+DQo8L3N2Zz4NCg==\"","import React, { useState } from \"react\"\nimport styles from \"../styles/singleVariety.module.css\"\nimport { useMediaQuery } from \"react-responsive\"\nimport FlechaSelected from \"../images/logos/flechaSelected.svg\"\nimport { Link } from \"gatsby\"\n\nconst BeerMenuItem = ({ beer, path }) => {\n const mobile = useMediaQuery({ query: \"(max-width: 485px)\" })\n let link = `/${encodeURI(beer.slug)}`\n const activeLata = link === path\n return (\n <>\n \n \n \n

\n {beer.name.toUpperCase()}\n

\n \n \n )\n}\n\nexport default BeerMenuItem\n","import React from \"react\"\nimport { Link } from \"gatsby\"\nimport ArrowNext from \"../images/logos/arrowNext.svg\"\n\nfunction NextArrow(props) {\n const { setCount, count, slideInfo } = props\n /* function next() {\n if (count === slideInfo.length - 1) {\n setCount(0)\n console.log(count)\n } else {\n setCount(count + 1)\n }\n\n console.log(\"slideInfo\", slideInfo[count])\n console.log(count)\n } */\n const { className, style, onClick } = props\n return (\n \n )\n}\n\nexport default NextArrow\n","import React from \"react\"\nimport ArrowPrev from \"../images/logos/arrowPrev.svg\"\nimport { Link } from \"gatsby\"\nfunction PrevArrow(props) {\n const { setCount, count, slideInfo } = props\n /* function prev() {\n if (count === 0) {\n setCount(slideInfo.length - 1)\n } else {\n setCount(count - 1)\n }\n console.log(\"slideInfo\", slideInfo[count])\n console.log(count)\n }\n */\n const { className, style, onClick } = props\n\n return (\n \n )\n}\n\nexport default PrevArrow\n","import React, { useState, useEffect } from \"react\"\nimport { Link } from \"gatsby\"\nimport styles from \"../styles/singleVariety.module.css\"\nimport Layout from \"./layout\"\nimport BackgroundImage from \"gatsby-background-image\"\nimport Img from \"gatsby-image\"\nimport Textura from \"../images/Textura.png\"\nimport MaridajeLogo from \"../images/singleVarietyImg/logos/maridajeLogo.svg\"\nimport Linea from \"../images/linealarga.svg\"\nimport Slider from \"react-slick\"\nimport BeerMenuItem from \"./beerMenuItem\"\nimport BackPageArrow from \"../images/backpagearrow.svg\"\nimport { useMediaQuery } from \"react-responsive\"\nimport Header from \"./header\"\nimport NextArrowComp from \"../components/nextArrowComp\"\nimport PrevArrowComp from \"../components/prevArrowComp\"\nimport { navigate } from \"@reach/router\"\nimport SeeMore from \"../images/+.svg\"\n// import SingleVarietyMobile from \"../components/singleVarietyMobile\"\n\nimport \"../styles/singleVarietySlider.css\"\n// import { AiOutlineNumber } from \"react-icons/ai\"\n\nconst SingleVariety = ({ variedad, data, path }) => {\n const [active, setActive] = useState(false)\n /* const [backImgMobile, setBackImgMobile] = useState(variedad.order) */\n const [pairingBackMobile, setPairingBackMobile] = useState(variedad.order)\n const [name, setName] = useState(data.allBeer.nodes[0].name.toUpperCase())\n const [description, setDescription] = useState()\n // const [grad, setGrad] = useState()\n // const [bitter, setBitter] = useState()\n // const [temp, setTemp] = useState()\n // const [pairing, setPairing] = useState()\n const [buyLink, setBuyLink] = useState(\"\")\n const [num, setNum] = useState(0)\n\n const mobile = useMediaQuery({ query: \"(max-width: 485px)\" })\n\n // let elslider\n\n let settings = {\n dots: false,\n infinite: true,\n slidesToShow: 6,\n slidesToScroll: 1,\n vertical: true,\n verticalSwiping: true,\n swipeToSlide: true,\n arrows: false,\n adaptiveHeight: false,\n centerMode: false,\n className: styles.slickMain,\n }\n let swipeado = false\n\n let settingsMobile = {\n // dots: true,\n infinite: true,\n slidesToShow: 1,\n slidesToScroll: 1,\n swipeToSlide: true,\n swipe: true,\n arrows: true,\n touchMove: true,\n centerMode: false,\n className: styles.test,\n fade: true,\n nextArrow: ,\n prevArrow: ,\n onSwipe: function (side) {\n swipeado = true\n let index\n if (side === \"left\") {\n if (num === sortedBeers.length - 1) {\n index = 0\n } else {\n index = num + 1\n }\n } else {\n if (num === 0) {\n index = sortedBeers.length - 1\n } else {\n index = num - 1\n }\n }\n setNum(index)\n // console.log(\"onSwipe\",index)\n // console.log(index,side)\n setPairingBackMobile(index)\n setName(data.allBeer.nodes[index].name.toUpperCase())\n setDescription(data.allBeer.nodes[index].description)\n // setGrad(data.allBeer.nodes[index].grad)\n // setBitter(data.allBeer.nodes[index].bitter)\n // setTemp(data.allBeer.nodes[index].temperature)\n // setPairing(data.allBeer.nodes[index].pairing)\n setBuyLink(data.allBeer.nodes[index].buyLink)\n },\n beforeChange: function (prev, act) {\n if (!swipeado) {\n let b = num\n // console.log(\"Previo\",prev,\"Actual\",act)\n if (\n (prev < act && b != sortedBeers.length - 1) ||\n (prev === sortedBeers.length - 1 && act === 0)\n ) {\n if (b === sortedBeers.length - 1) {\n b = 0\n } else if (act === sortedBeers.length - 1) {\n b = sortedBeers.length - 1\n } else {\n b++\n }\n } else {\n if (b === 0 || act === sortedBeers.length - 1) {\n b = sortedBeers.length - 1\n } else {\n // console.log(\"menos\")\n b--\n }\n }\n setNum(b)\n // console.log(\"before\",b)\n setPairingBackMobile(b)\n setName(data.allBeer.nodes[b].name.toUpperCase())\n setDescription(data.allBeer.nodes[b].description)\n // setGrad(data.allBeer.nodes[b].grad)\n // setBitter(data.allBeer.nodes[b].bitter)\n // setTemp(data.allBeer.nodes[b].temperature)\n // setPairing(data.allBeer.nodes[b].pairing)\n setBuyLink(data.allBeer.nodes[b].buyLink)\n } else {\n swipeado = false\n }\n // console.log(inicio,b,c)\n },\n }\n let sortedEdges = data.allBeer.edges.sort(function (a, b) {\n return a.node.order - b.node.order\n })\n\n let sortedBeers = data.allBeer.nodes.sort(function (a, b) {\n return a.order - b.order\n })\n\n useEffect(() => {\n /* setBackImgMobile(variedad.pairingBack) */\n setPairingBackMobile(variedad.order)\n setName(variedad.name.toUpperCase())\n setDescription(variedad.description)\n // setGrad(variedad.grad)\n // setBitter(variedad.bitter)\n // setTemp(variedad.temp)\n // setPairing(variedad.pairing)\n setBuyLink(variedad.buyLink)\n return () => {}\n }, [])\n\n function handleBack() {\n navigate(\"home/#varieties\")\n }\n\n return (\n <>\n {!mobile ? (\n \n \n
\n \n \n
\n
\n \"\"\n
\n \n setActive(!active)}\n onMouseOver={() => setActive(!active)}\n // onClick={handleBack}\n to={\"/#varieties\"}\n style={{\n textDecoration: \"none\",\n color: \"white\",\n backgroundColor: \"transparent\",\n border: \"none\",\n outline: \"inherit\",\n }}\n >\n VOLVER\n \n
\n
\n {variedad.logo ? (\n \n ) : null}\n

{variedad.name.toUpperCase()}

\n

{variedad.characteristics}

\n
{variedad.description}
\n \n
\n\n
\n \"\"\n
\n
\n

{variedad.grad}%

\n
GRADUACION ALCOHOLICA
\n
\n
\n

{variedad.bitter}

\n
AMARGOR
\n
\n
\n

{variedad.temperature}°

\n
TEMPERATURA IDEAL
\n
\n
\n \"\"\n
\n
\n \n
\n
\n Se puede combinar a la perfección con platos como:\n
\n

{variedad.pairing.toUpperCase()}

\n
\n
\n
\n \n
\n

NUESTRAS VARIEDADES

\n\n \n {data.allBeer.nodes.map(beer => {\n return (\n \n )\n })}\n \n
\n \n
\n \n ) : (\n <>\n
\n \n\n \n \n {sortedBeers.map((beer, idx) => {\n return (\n
\n
\n

{name}

\n

{description}

\n \n
\n
\n )\n })}\n
\n \n setActive(!active)}\n className={\n !active ? styles.seeMoreContainer : styles.seeMoreContainerActive\n }\n >\n VER FICHA\n \"\"\n \n

{name.toUpperCase()}

\n
\n \n
\n
\n

{variedad.grad}%

\n
GRADUACION ALCOHOLICA
\n
\n
\n

{variedad.bitter}

\n
AMARGOR
\n
\n
\n

{variedad.temperature}°

\n
TEMPERATURA IDEAL
\n
\n
\n
\n
\n
Se puede combinar a la perfección con platos como:
\n

{variedad.pairing.toUpperCase()}

\n
\n
\n

CERRAR

\n \n \n {/* */}\n \n )}\n \n )\n}\n\nexport default SingleVariety\n","import React from \"react\"\nimport { graphql } from \"gatsby\"\nimport SingleVariety from \"../components/singleVariety\"\n\nconst Variedades = ({ data, path }) => {\n const variedad = data.varieties\n return (\n
\n \n
\n )\n}\n\nexport default Variedades\n\nexport const query = graphql`\n query($slug: String) {\n varieties: beer(slug: { eq: $slug }) {\n bitter\n canImg\n characteristics\n description\n grad\n id\n slug\n logo\n pairing\n name\n temperature\n pairingBack\n order\n buyLink\n }\n bock: file(relativePath: { eq: \"bockmaridaje.png\" }) {\n childImageSharp {\n fluid(maxWidth: 1800) {\n ...GatsbyImageSharpFluid\n }\n }\n }\n cerocero: file(relativePath: { eq: \"00maridaje.png\" }) {\n childImageSharp {\n fluid(maxWidth: 1800) {\n ...GatsbyImageSharpFluid\n }\n }\n }\n clasica: file(relativePath: { eq: \"clasicamaridaje.png\" }) {\n childImageSharp {\n fluid(maxWidth: 1800) {\n ...GatsbyImageSharpFluid\n }\n }\n }\n redlager: file(relativePath: { eq: \"redlagermaridaje.png\" }) {\n childImageSharp {\n fluid(maxWidth: 1800) {\n ...GatsbyImageSharpFluid\n }\n }\n }\n stout: file(relativePath: { eq: \"stoutmaridaje.png\" }) {\n childImageSharp {\n fluid(maxWidth: 1800) {\n ...GatsbyImageSharpFluid\n }\n }\n }\n\n allBeer {\n nodes {\n bitter\n canImg\n characteristics\n description\n grad\n homeBackImg\n homeBackImgMobile\n id\n logo\n name\n pairing\n pairingBack\n pairingBackMobile\n slug\n temperature\n order\n buyLink\n }\n }\n allBeer {\n edges {\n node {\n id\n order\n pairing_back_image {\n childImageSharp {\n fluid(maxWidth: 1800) {\n ...GatsbyImageSharpFluid\n }\n }\n }\n pairing_back_image_mobile {\n childImageSharp {\n fluid(maxWidth: 1800) {\n ...GatsbyImageSharpFluid\n }\n }\n }\n }\n }\n }\n }\n`\n/* allListJson {\n nodes {\n id\n bitter\n canImg\n characteristics\n description\n grad\n logo\n name\n pairing\n singleVarietyImg\n slideImg\n slug\n temperature\n pairingBackResp\n }\n} */\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"singleVariety-module--container--3OWRu\",\"backgroundImg\":\"singleVariety-module--background-img--1lWUS\",\"textContainer\":\"singleVariety-module--text-container--GnZQ-\",\"overlay\":\"singleVariety-module--overlay--35O7b\",\"beer\":\"singleVariety-module--beer--11b2A\",\"button\":\"singleVariety-module--button--1tZmA\",\"grad\":\"singleVariety-module--grad--2wz-7\",\"gradContent\":\"singleVariety-module--grad-content--F37wM\",\"gradSpanCont\":\"singleVariety-module--grad-span-cont--bIa1D\",\"pairingContainer\":\"singleVariety-module--pairing-container--11rUh\",\"pairing\":\"singleVariety-module--pairing--2AsU5\",\"menuContainer\":\"singleVariety-module--menu-container--1ddgL\",\"ourVarieties\":\"singleVariety-module--our-varieties--1AYqd\",\"menuImg\":\"singleVariety-module--menu-img--1HWST\",\"beerName\":\"singleVariety-module--beer-name--2WYsi\",\"beerNameActive\":\"singleVariety-module--beer-name-active--nFIHO\",\"slickMain\":\"singleVariety-module--slick-main--1L48G\",\"slider\":\"singleVariety-module--slider--1Nvla\",\"containerHidden\":\"singleVariety-module--container-hidden--s5eRJ\",\"beerMenu\":\"singleVariety-module--beer-menu--2Xf-E\",\"flechaSelected\":\"singleVariety-module--flecha-selected--1Bmnj\",\"hidden\":\"singleVariety-module--hidden--2T3vz\",\"backPage\":\"singleVariety-module--back-page--3o1aR\",\"backArrowHidden\":\"singleVariety-module--back-arrow-hidden--2fpRn\",\"backArrow\":\"singleVariety-module--back-arrow--3MM4i\",\"slickDots\":\"singleVariety-module--slick-dots--2JbKs\",\"mobileContainer\":\"singleVariety-module--mobile-container--3E3nd\",\"mobileBackPairing\":\"singleVariety-module--mobile-back-pairing--3GLdY\",\"mobileBackPairingReduce\":\"singleVariety-module--mobile-back-pairing-reduce--Nh0qJ\",\"test\":\"singleVariety-module--test--3ZNO9\",\"textMobileContainer\":\"singleVariety-module--text-mobile-container--3-bIq\",\"seeMoreContainer\":\"singleVariety-module--see-more-container--IrpP8\",\"seeMoreContainerActive\":\"singleVariety-module--see-more-container-active--2uIoK\",\"activeContainerMobile\":\"singleVariety-module--active-container-mobile--30cFZ\",\"mobileContainerHidden\":\"singleVariety-module--mobile-container-hidden--3gQEF\",\"none\":\"singleVariety-module--none--1_rx3\",\"close\":\"singleVariety-module--close--3tOQ_\",\"textLine\":\"singleVariety-module--text-line--2MMcy\",\"backgroundMobile\":\"singleVariety-module--backgroundMobile--o7WIR\",\"backgroundMobileActive\":\"singleVariety-module--backgroundMobile-active--11mwe\"};"],"sourceRoot":""}