{"version":3,"sources":["webpack:///./src/components/Banner.js","webpack:///./src/components/Home/About.js","webpack:///./src/constants/tips.js","webpack:///./src/components/Home/Tips.js","webpack:///./src/components/Home/FeaturedPlaces.js","webpack:///./src/pages/index.js","webpack:///./src/components/Places/Place.js","webpack:///./node_modules/gatsby/node_modules/core-js/modules/es6.string.link.js"],"names":["Banner","title","info","children","className","styles","banner","About","aboutImage","about","Title","subtitle","aboutCenter","aboutImg","imgContainer","fluid","childImageSharp","alt","aboutInfo","href","target","rel","icon","text","Tips","tips","center","map","item","index","key","tip","FeaturedPlaces","places","featuredPlaces","edges","node","Place","contentful_id","place","fade","to","query","data","Layout","SEO","StyledHero","home","img","defaultBcg","paintDrip","hex","name","slug","mainImage","images","link","footer","createHTML","url","this"],"mappings":"+2TAAA,8CAYeA,IAVA,SAAC,GAA+B,IAA7BC,EAA4B,EAA5BA,MAAOC,EAAqB,EAArBA,KAAMC,EAAe,EAAfA,SAC7B,OACE,yBAAKC,UAAWC,IAAOC,QACrB,4BAAKL,GACL,2BAAIC,GACHC,K,wKCyCQI,EA7BD,WAAO,IACXC,EADU,OACVA,WACR,OACE,6BAASJ,UAAWC,IAAOI,OACzB,kBAACC,EAAA,EAAD,CAAOT,MAAM,QAAQU,SAAS,UAC9B,yBAAKP,UAAWC,IAAOO,aACrB,6BAASR,UAAWC,IAAOQ,UACzB,yBAAKT,UAAWC,IAAOS,cAErB,kBAAC,IAAD,CAAKC,MAAOP,EAAWQ,gBAAgBD,MAAOE,IAAI,gBAGtD,6BAASb,UAAWC,IAAOa,WACzB,yDACA,0NAGA,2NAGA,uBAAGC,KAAK,sCAAsCf,UAAU,cAAcgB,OAAO,SAASC,IAAI,uBAA1F,iB,iCCpCK,GACb,CACEC,KAAM,kBAAC,IAAD,MACNrB,MAAO,eACPsB,KAAM,2DAER,CACED,KAAM,kBAAC,IAAD,MACNrB,MAAO,kBACPsB,KAAM,8EAER,CACED,KAAM,kBAAC,IAAD,MACNrB,MAAO,kBACPsB,KA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cACnB,kBAAC,IAAD,CAAOC,MAAOuC,EAAWlD,UAAWC,IAAO2C,IAAK/B,IAAI,iBACpD,kBAAC,IAAD,CAASuB,MAAI,EAACpC,UAAWC,IAAOmD,KAAMf,GAAE,WAAaY,GAArD,YAEJ,yBAAKjD,UAAWC,IAAOoD,QACnB,4BAAKL,O,kCCdrB,EAAQ,OAAR,CAA0B,QAAQ,SAAUM,GAC1C,OAAO,SAAcC,GACnB,OAAOD,EAAWE,KAAM,IAAK,OAAQD","file":"component---src-pages-index-js-735e345754df6a2c014a.js","sourcesContent":["import React from \"react\"\nimport styles from \"../css/banner.module.css\"\nconst Banner = ({ title, info, children }) => {\n return (\n
\n

{title}

\n

{info}

\n {children}\n
\n )\n}\n\nexport default Banner\n","import React from \"react\"\nimport Title from \"../Title\"\nimport styles from \"../../css/about.module.css\"\n//import img from \"../../images/defaultBcg.jpeg\"\nimport { useStaticQuery, graphql } from 'gatsby'\nimport Img from 'gatsby-image'\n\nconst getAbout = graphql`\nquery aboutImage{\n aboutImage: file(relativePath: {eq: \"defaultBcg.jpeg\"}) {\n childImageSharp {\n fluid(maxWidth: 600) {\n ...GatsbyImageSharpFluid_tracedSVG\n }\n }\n }\n}\n`;\n\nconst About = () => {\n const { aboutImage } = useStaticQuery(getAbout);\n return (\n
\n \n <div className={styles.aboutCenter}>\n <article className={styles.aboutImg}>\n <div className={styles.imgContainer}>\n {/* <img src={img} alt=\"about company\" /> */}\n <Img fluid={aboutImage.childImageSharp.fluid} alt=\"landscape\" />\n </div>\n </article>\n <article className={styles.aboutInfo}>\n <h4>The abode of bygone ruins</h4>\n <p>\n Hampi, the city of ruins, is a UNESCO World Heritage Site.Situated in the shadowed depth of hills and valleys in the state of Karnataka, this place is a historical delight for travellers.\n </p>\n <p>\n Surrounded by 500 ancient monuments, beautiful temples, bustling street markets, bastions, treasury building and captivating remains of Vijayanagar Empire, Hampi is a backpacker's delight.\n </p>\n <a href=\"https://en.wikipedia.org/wiki/Hampi\" className=\"btn-primary\" target=\"_blank\" rel=\"noopener noreferrer\">\n read more\n </a>\n </article>\n </div>\n </section>\n )\n}\n\nexport default About\n","import React from \"react\"\nimport { FaWallet, FaCamera, FaSocks } from \"react-icons/fa\"\n\nexport default [\n {\n icon: <FaWallet />,\n title: \"saving money\",\n text: \"Travel by train from Bangalore, instead of taxi or bus.\",\n },\n {\n icon: <FaCamera />,\n title: \"top attractions\",\n text: \"Top attractions are Vittala Temple, Virupaksha Temple, Achyutaraya Temple.\",\n },\n {\n icon: <FaSocks />,\n title: \"amazing comfort\",\n text: \"Stay in Oyo rooms, instead of Airbnb or some travel site.\",\n },\n]\n","import React from \"react\"\nimport Title from \"../Title\"\nimport styles from \"../../css/tips.module.css\"\nimport tips from \"../../constants/tips\"\n\nconst Tips = () => {\n return (\n <section className={styles.tips}>\n <Title title=\"hot\" subtitle=\"tips\" />\n <div className={styles.center}>\n {tips.map((item, index) => {\n return (\n <article key={index} className={styles.tip}>\n <span>{item.icon}</span>\n <h4>{item.title}</h4>\n <p>{item.text}</p>\n </article>\n )\n })}\n </div>\n </section>\n )\n}\n\nexport default Tips\n","import React from 'react'\nimport { useStaticQuery, graphql } from \"gatsby\"\nimport Title from \"../Title\"\nimport styles from \"../../css/items.module.css\"\nimport AniLink from \"gatsby-plugin-transition-link/AniLink\"\nimport Place from \"../Places/Place\"\n\nconst getFeaturedPlaces = graphql`\nquery{\nfeaturedPlaces: allContentfulAmazingHampiData(filter:{featured:{eq:true}}) {\n edges {\n node {\n contentful_id\n name\n slug\n timeRequired\n timings\n entryFees\n featured\n images {\n fluid {\n ...GatsbyContentfulFluid\n }\n }\n }\n }\n }\n}\n`;\n\nconst FeaturedPlaces = () => {\n const response = useStaticQuery(getFeaturedPlaces)\n const places = response.featuredPlaces.edges\n\n return (\n <section className={styles.places}>\n <Title title=\"featured\" subtitle=\"places\" />\n <div className={styles.center}>\n {places.map(({ node }) => {\n return <Place key={node.contentful_id} place={node} />\n })}\n </div>\n <AniLink fade to=\"/places\" className=\"btn-primary\">\n all places\n </AniLink>\n </section>\n )\n}\n\nexport default FeaturedPlaces\n","import React from \"react\"\nimport Layout from \"../components/Layout\"\nimport StyledHero from \"../components/StyledHero\"\n//import { Link } from \"gatsby\"\nimport Banner from \"../components/Banner\"\nimport About from \"../components/Home/About\"\nimport Tips from \"../components/Home/Tips\"\nimport { graphql } from 'gatsby'\nimport AniLink from \"gatsby-plugin-transition-link/AniLink\"\nimport FeaturedPlaces from \"../components/Home/FeaturedPlaces\"\nimport SEO from \"../components/SEO\"\n\nexport const query = graphql`\nquery {\n defaultBcg: file(relativePath: {eq: \"defaultBcg.jpeg\"}) {\n childImageSharp {\n fluid(quality: 90, maxWidth: 4160) {\n ...GatsbyImageSharpFluid_withWebp\n }\n }\n }\n}\n`;\n\nexport default ({ data }) => (\n <Layout>\n <SEO title=\"Home\" />\n <StyledHero home=\"true\" img={data.defaultBcg.childImageSharp.fluid}>\n <Banner\n title=\"Amazing Hampi\"\n info=\"Come and Explore Hampi, the city of ruins, which is a UNESCO World Heritage Site.\"\n >\n <AniLink paintDrip hex=\"#AEECEE\" to=\"/places\" className=\"btn-white\">explore places</AniLink>\n </Banner>\n </StyledHero>\n <About />\n <Tips />\n <FeaturedPlaces />\n </Layout>\n)\n","import React from 'react'\nimport Image from \"gatsby-image\"\nimport styles from \"../../css/place.module.css\"\nimport AniLink from \"gatsby-plugin-transition-link/AniLink\"\n\nconst Place = ({ place }) => {\n const { name, slug, images } = place;\n let mainImage = images[0].fluid;\n\n return (\n <article className={styles.place}>\n <div className={styles.imgContainer}>\n <Image fluid={mainImage} className={styles.img} alt=\"single place\" />\n <AniLink fade className={styles.link} to={`/places/${slug}`}>details</AniLink>\n </div>\n <div className={styles.footer}>\n <h3>{name}</h3>\n </div>\n </article>\n )\n}\n\nexport default Place\n","'use strict';\n// B.2.3.10 String.prototype.link(url)\nrequire('./_string-html')('link', function (createHTML) {\n return function link(url) {\n return createHTML(this, 'a', 'href', url);\n };\n});\n"],"sourceRoot":""}