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AAqB,SAAAC,GAAQ,OAC5B,gBAACK,EAAA,OAAD,CAAeC,KAAMN,EAASE,MAAOF,EAASL,UAKpD,OACA,gBAAC,IAAD,CAAQY,SAAU,CAAEC,SAAU,eAAgBnB,YAAaA,GAAeS,eAAgBA,EAAgBK,gBAAiBA,EAAiBM,aAAa,SACvJ,gBAAC,IAAD,CAAKnC,MAAM,iBAAiBoC,SAAU,CAAC,UAAD,UAAuBC,YAAY,eAAeC,IA/BhF,mBAiCN,gBAACC,EAAA,EAAD,CAAWC,OAAK,EAACnC,UAAU,eAC3B,gBAACoC,EAAA,EAAD,CAAKpC,UAAU,6BACb,gBAACqC,EAAA,EAAD,KACE,gBAACA,EAAA,OAAD,CAAiBV,KAAK,KAAtB,QACA,gBAACU,EAAA,OAAD,CAAiBC,QAAM,GAAvB,aAGJ,gBAACF,EAAA,EAAD,KACA,gBAACG,EAAA,EAAD,CAAKvC,UAAU,OACb,sDAGF,gBAACoC,EAAA,EAAD,CAAKpC,UAAU,2CACZoB,EAAAA,GAAAA,KAAoB,SAAAoB,GAAG,OACtB,gBAAC,EAAD,CACElB,IAAKkB,EAAIjB,KACT5B,MAAO6C,EAAIxB,KACXpB,IAAK4C,EAAIjB,KACT1B,MAAqB,KAAd2C,EAAI3C,MAAe,KAAOe,EAAO4B,EAAI3C,OAC5CE,QAASyC,EAAIR,YACbhC,UAAU","sources":["webpack://i-love-it-recipes/./src/components/mainCategoryCard.js","webpack://i-love-it-recipes/./src/pages/recipe-index.js"],"sourcesContent":["import React from \"react\"\nimport { Link } from \"gatsby\"\nimport { GatsbyImage } from \"gatsby-plugin-image\"\nimport parse from 'html-react-parser';\nimport { Card } from \"react-bootstrap\"\n\nconst MainCategoryCard = ({ title, uri, image, imageAlt, excerpt, className }) => {\n\n return (\n <>\n \n \n \n \n {title}\n \n
\n {parse(excerpt)}\n
\n
\n\n {image === undefined || image === null ? <> : \n }\n
\n \n
\n
\n
\n \n \n )\n}\n\nexport default MainCategoryCard\n","import React from \"react\"\nimport { Row, Container, Col, DropdownButton, Dropdown, Breadcrumb } from \"react-bootstrap\"\nimport { graphql, Link } from \"gatsby\"\n\nimport Layout from \"../components/layout\"\nimport Seo from \"../components/seo\"\nimport MainCategoryCard from \"../components/mainCategoryCard\"\n\nimport { main_categories } from \"../components/categoryInfo\"\n\nconst uri = \"/recipe-index/\"\n\nconst RecipeIndexPage = ( { location, data : { images } } ) => {\n const searchQuery = location.state?.searchQuery\n\n var imgarr = []\n for (var img of images.edges) {\n imgarr[img.node.name] = img.node.childImageSharp.gatsbyImageData\n }\n\n const sideBarOptions = \n <>
Recipe Categories
\n {main_categories.map( category => (\n
\n {category.name}\n
\n ))\n }\n



\n \n\n const dropDownOptions = \n \n {main_categories.map( category => (\n {category.name}\n ))\n }\n \n \n return (\n \n \n\n \n \n \n Home\n Recipes\n \n \n \n \n

Main Recipe Categories

\n \n
\n \n {main_categories.map(rec => (\n \n ))}\n \n
\n
\n)\n}\n\n\nexport default RecipeIndexPage\n\nexport const recipeIndexQuery = graphql`\n query recipeIndexImages {\n images: allFile (filter: { sourceInstanceName: { eq: \"recipe-index-images\" }}) {\n edges {\n node {\n dir\n ext\n sourceInstanceName\n name\n childImageSharp {\n gatsbyImageData(width: 200)\n }\n }\n }\n }\n }\n`\n"],"names":["title","uri","image","imageAlt","excerpt","className","Link","to","Card","parse","G","alt","location","images","data","searchQuery","state","imgarr","edges","img","node","name","childImageSharp","gatsbyImageData","sideBarOptions","main_categories","category","key","link","dropDownOptions","DropdownButton","Dropdown","href","pageInfo","pageName","sideBarWidth","keywords","description","url","Container","fluid","Row","Breadcrumb","active","Col","rec"],"sourceRoot":""}