blob: 3e16ac61af0a9b12e3baedb177f09c969ee0cfe3 [file] [log] [blame]
{"version":3,"sources":["webpack:///./src/components/footer.jsx","webpack:///./src/templates/main.jsx"],"names":["ExternalLink","href","title","target","rel","Footer","lang","resolvePath","resolveI18nPath","className","to","pageQuery","Main","data","markdownRemark","frontmatter","description","__html","html","langKey","pageContext","dangerouslySetInnerHTML"],"mappings":"+LAKMA,EAAe,SAAC,GAAD,IAAEC,EAAF,EAAEA,KAAMC,EAAR,EAAQA,MAAR,OACnB,uBAAGD,KAAMA,EAAME,OAAO,SAASC,IAAI,gCAAgCF,IAoCtDG,EAjCA,SAAC,GAAY,IAAXC,EAAU,EAAVA,KACTC,EAAcC,0BAAgBF,GACpC,OACE,yBAAKG,UAAU,wBACb,yBAAKA,UAAU,+BACb,wBAAIA,UAAU,oCACZ,4BAAI,kBAAC,IAAD,CAAMC,GAAIH,EAAY,0BAAtB,gBACJ,4BAAI,kBAAC,IAAD,CAAMG,GAAIH,EAAY,UAAtB,SACJ,4BAAI,kBAAC,IAAD,CAAMG,GAAIH,EAAY,2BAAtB,qBACJ,4BAAI,kBAAC,IAAD,CAAMG,GAAIH,EAAY,WAAtB,WAEN,wBAAIE,UAAU,oCACZ,4BAAI,kBAAC,IAAD,CAAMC,GAAIH,EAAY,eAAtB,cACJ,4BAAI,kBAAC,IAAD,CAAMG,GAAIH,EAAY,qCAAtB,iBACJ,4BAAI,kBAAC,IAAD,CAAMG,GAAIH,EAAY,kBAAtB,kBAEN,wBAAIE,UAAU,oCACZ,4BAAI,kBAAC,EAAD,CAAcR,KAAK,0BAA0BC,MAAM,wBACvD,4BAAI,kBAAC,EAAD,CAAcD,KAAK,4CAA4CC,MAAM,oBACzE,4BAAI,kBAAC,EAAD,CAAcD,KAAK,+CAA+CC,MAAM,kBAC5E,4BAAI,kBAAC,EAAD,CAAcD,KAAK,8CAA8CC,MAAM,qBAC3E,4BAAI,kBAAC,EAAD,CAAcD,KAAK,gCAAgCC,MAAM,uBAGjE,yBAAKO,UAAU,mCAAf,yC,wBCFOE,G,UAAS,cAcPC,UAtCF,SAAC,GAQP,IAAD,IAPJC,KACEC,eAME,IALAC,YAAcb,EAKd,EALcA,MAAOc,EAKrB,EALqBA,YACfC,EAIN,EAJAC,KAGUC,EACV,EADJC,YAAcD,QAEd,OACE,yBAAKV,UAAU,iBACb,kBAAC,IAAD,CAAKP,MAAOA,EAAOc,YAAaA,EAAaV,KAAMa,IACnD,kBAAC,IAAD,CAAQb,KAAMa,IACd,yBAAKV,UAAU,uBACb,yBACEA,UAAU,yBACVY,wBAAyB,CAACJ,aAG9B,kBAAC,EAAD,CAAQX,KAAMa","file":"component---src-templates-main-jsx-53632e7289019817c648.js","sourcesContent":["import React from 'react';\nimport {Link} from \"gatsby\";\nimport PropTypes from 'prop-types';\nimport {resolveI18nPath} from \"../i18n\";\n\nconst ExternalLink = ({href, title}) => (\n <a href={href} target='_blank' rel='nofollow noopener noreferrer'>{title}</a>\n);\n\nconst Footer = ({lang}) => {\n const resolvePath = resolveI18nPath(lang);\n return (\n <div className='eclipse-jkube-footer'>\n <div className='eclipse-jkube-footer__links'>\n <ul className='eclipse-jkube-footer__links-list'>\n <li><Link to={resolvePath('/docs#getting-started')}>Get Started</Link></li>\n <li><Link to={resolvePath('/docs')}>Docs</Link></li>\n <li><Link to={resolvePath('/docs#katacoda-courses')}>Katacoda Courses</Link></li>\n <li><Link to={resolvePath('/demos')}>Demos</Link></li>\n </ul>\n <ul className='eclipse-jkube-footer__links-list'>\n <li><Link to={resolvePath('/community')}>Community</Link></li>\n <li><Link to={resolvePath('/community#planning-and-meetings')}>Get Involved</Link></li>\n <li><Link to={resolvePath('/contributing')}>Contributing</Link></li>\n </ul>\n <ul className='eclipse-jkube-footer__links-list'>\n <li><ExternalLink href='https://www.eclipse.org' title='Eclipse Foundation'/></li>\n <li><ExternalLink href='https://www.eclipse.org/legal/privacy.php' title='Privacy Policy'/></li>\n <li><ExternalLink href='https://www.eclipse.org/legal/termsofuse.php' title='Terms of Use'/></li>\n <li><ExternalLink href='https://www.eclipse.org/legal/copyright.php' title='Copyright Agent'/></li>\n <li><ExternalLink href='https://www.eclipse.org/legal' title='Legal Resources'/></li>\n </ul>\n </div>\n <div className='eclipse-jkube-footer__copyright'>Copyright © Eclipse Foundation 2020</div>\n </div>\n );\n};\n\nFooter.propTypes = {\n lang: PropTypes.string.isRequired,\n};\n\nexport default Footer;\n","import React from 'react';\nimport {graphql} from 'gatsby';\nimport Footer from '../components/footer'\nimport Header from '../components/header';\nimport Seo from '../components/seo';\nimport '../styles/main.scss';\n\nconst Main = ({\n data: {\n markdownRemark: {\n frontmatter: {title, description},\n html: __html\n }\n },\n pageContext: {langKey}\n}) => {\n return (\n <div className='eclipse-jkube'>\n <Seo title={title} description={description} lang={langKey}/>\n <Header lang={langKey}/>\n <div className='eclipse-jkube__main'>\n <div\n className='eclipse-jkube__content'\n dangerouslySetInnerHTML={{__html}}\n />\n </div>\n <Footer lang={langKey}/>\n </div>\n );\n};\n\nexport const pageQuery = graphql`\n query($slug: String!) {\n markdownRemark(fields: { slug: { eq: $slug } }) {\n html\n frontmatter {\n date(formatString: \"MMMM DD, YYYY\")\n path\n title\n description\n }\n }\n }\n`;\n\nexport default Main;\n"],"sourceRoot":""}