-
Notifications
You must be signed in to change notification settings - Fork 0
/
component---src-pages-news-jsx-87ccbba1c4c2eb64a267.js.map
1 lines (1 loc) · 7.41 KB
/
component---src-pages-news-jsx-87ccbba1c4c2eb64a267.js.map
1
{"version":3,"sources":["webpack:///component---src-pages-news-jsx-87ccbba1c4c2eb64a267.js","webpack:///./src/pages/news.jsx"],"names":["webpackJsonp","232","module","exports","__webpack_require__","_interopRequireDefault","obj","__esModule","default","_classCallCheck","instance","Constructor","TypeError","_possibleConstructorReturn","self","call","ReferenceError","_inherits","subClass","superClass","prototype","Object","create","constructor","value","enumerable","writable","configurable","setPrototypeOf","__proto__","pageQuery","undefined","_react","_react2","_reactHelmet","_reactHelmet2","_Post","_Post2","_Sidebar","_Sidebar2","NewsRoute","_React$Component","this","apply","arguments","render","items","_props$data$site$site","props","data","site","siteMetadata","title","subtitle","posts","allMarkdownRemark","edges","forEach","post","push","createElement","key","node","fields","slug","name","content","className","React","Component"],"mappings":"AAAAA,cAAc,iBAERC,IACA,SAAUC,EAAQC,EAASC,GAEhC,YAqBA,SAASC,GAAuBC,GAAO,MAAOA,IAAOA,EAAIC,WAAaD,GAAQE,QAASF,GAEvF,QAASG,GAAgBC,EAAUC,GAAe,KAAMD,YAAoBC,IAAgB,KAAM,IAAIC,WAAU,qCAEhH,QAASC,GAA2BC,EAAMC,GAAQ,IAAKD,EAAQ,KAAM,IAAIE,gBAAe,4DAAgE,QAAOD,GAAyB,gBAATA,IAAqC,kBAATA,GAA8BD,EAAPC,EAElO,QAASE,GAAUC,EAAUC,GAAc,GAA0B,kBAAfA,IAA4C,OAAfA,EAAuB,KAAM,IAAIP,WAAU,iEAAoEO,GAAeD,GAASE,UAAYC,OAAOC,OAAOH,GAAcA,EAAWC,WAAaG,aAAeC,MAAON,EAAUO,YAAY,EAAOC,UAAU,EAAMC,cAAc,KAAeR,IAAYE,OAAOO,eAAiBP,OAAOO,eAAeV,EAAUC,GAAcD,EAASW,UAAYV,GAzBjehB,EAAQI,YAAa,EACrBJ,EAAQ2B,UAAYC,MCRrB,IAAAC,GAAA5B,EAAA,GDYK6B,EAAU5B,EAAuB2B,GCXtCE,EAAA9B,EAAA,IDeK+B,EAAgB9B,EAAuB6B,GCd5CE,EAAAhC,EAAA,IDkBKiC,EAAShC,EAAuB+B,GCjBrCE,EAAAlC,EAAA,IDqBKmC,EAAYlC,EAAuBiC,GCnBlCE,ED6BW,SAAUC,GAGxB,QAASD,KAGP,MAFA/B,GAAgBiC,KAAMF,GAEf3B,EAA2B6B,KAAMD,EAAiBE,MAAMD,KAAME,YAwCvE,MA7CA3B,GAAUuB,EAAWC,GAQrBD,EAAUpB,UCrCXyB,ODqC8B,WCpC5B,GAAMC,MADCC,EAEqBL,KAAKM,MAAMC,KAAKC,KAAKC,aAAzCC,EAFDL,EAECK,MAAOC,EAFRN,EAEQM,SACTC,EAAQZ,KAAKM,MAAMC,KAAKM,kBAAkBC,KAKhD,OAJAF,GAAMG,QAAQ,SAACC,GACbZ,EAAMa,KAAK1B,EAAAzB,QAAAoD,cAACvB,EAAA7B,SAAKyC,KAAMS,EAAMG,IAAKH,EAAKI,KAAKC,OAAOC,UAInD/B,EAAAzB,QAAAoD,cAAA,WACE3B,EAAAzB,QAAAoD,cAACzB,EAAA3B,QAAD,KACEyB,EAAAzB,QAAAoD,cAAA,aAAQR,GACRnB,EAAAzB,QAAAoD,cAAA,QAAMK,KAAK,cAAcC,QAASb,KAEpCpB,EAAAzB,QAAAoD,cAACrB,EAAA/B,QAAYkC,KAAKM,OAClBf,EAAAzB,QAAAoD,cAAA,OAAKO,UAAU,WACblC,EAAAzB,QAAAoD,cAAA,OAAKO,UAAU,kBACZrB,MDyDHN,GC3Ec4B,UAAMC,UD8E7BlE,GAAQK,QCpDMgC,CAEFV","file":"component---src-pages-news-jsx-87ccbba1c4c2eb64a267.js","sourcesContent":["webpackJsonp([22738258146681],{\n\n/***/ 232:\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports.pageQuery = undefined;\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactHelmet = __webpack_require__(19);\n\t\n\tvar _reactHelmet2 = _interopRequireDefault(_reactHelmet);\n\t\n\tvar _Post = __webpack_require__(58);\n\t\n\tvar _Post2 = _interopRequireDefault(_Post);\n\t\n\tvar _Sidebar = __webpack_require__(24);\n\t\n\tvar _Sidebar2 = _interopRequireDefault(_Sidebar);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar NewsRoute = function (_React$Component) {\n\t _inherits(NewsRoute, _React$Component);\n\t\n\t function NewsRoute() {\n\t _classCallCheck(this, NewsRoute);\n\t\n\t return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));\n\t }\n\t\n\t NewsRoute.prototype.render = function render() {\n\t var items = [];\n\t var _props$data$site$site = this.props.data.site.siteMetadata,\n\t title = _props$data$site$site.title,\n\t subtitle = _props$data$site$site.subtitle;\n\t\n\t var posts = this.props.data.allMarkdownRemark.edges;\n\t posts.forEach(function (post) {\n\t items.push(_react2.default.createElement(_Post2.default, { data: post, key: post.node.fields.slug }));\n\t });\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t null,\n\t _react2.default.createElement(\n\t _reactHelmet2.default,\n\t null,\n\t _react2.default.createElement(\n\t 'title',\n\t null,\n\t title\n\t ),\n\t _react2.default.createElement('meta', { name: 'description', content: subtitle })\n\t ),\n\t _react2.default.createElement(_Sidebar2.default, this.props),\n\t _react2.default.createElement(\n\t 'div',\n\t { className: 'content' },\n\t _react2.default.createElement(\n\t 'div',\n\t { className: 'content__inner' },\n\t items\n\t )\n\t )\n\t );\n\t };\n\t\n\t return NewsRoute;\n\t}(_react2.default.Component);\n\t\n\texports.default = NewsRoute;\n\tvar pageQuery = exports.pageQuery = '** extracted graphql fragment **';\n\n/***/ })\n\n});\n\n\n// WEBPACK FOOTER //\n// component---src-pages-news-jsx-87ccbba1c4c2eb64a267.js","import React from 'react';\nimport Helmet from 'react-helmet';\nimport Post from '../components/Post';\nimport Sidebar from '../components/Sidebar';\n\nclass NewsRoute extends React.Component {\n render() {\n const items = [];\n const { title, subtitle } = this.props.data.site.siteMetadata;\n const posts = this.props.data.allMarkdownRemark.edges;\n posts.forEach((post) => {\n items.push(<Post data={post} key={post.node.fields.slug} />);\n });\n\n return (\n <div>\n <Helmet>\n <title>{title}</title>\n <meta name=\"description\" content={subtitle} />\n </Helmet>\n <Sidebar {...this.props} />\n <div className=\"content\">\n <div className=\"content__inner\">\n {items}\n </div>\n </div>\n </div>\n );\n }\n}\n\nexport default NewsRoute;\n\nexport const pageQuery = graphql`\n query NewsQuery {\n site {\n siteMetadata {\n title\n subtitle\n copyright\n menu {\n label\n path\n }\n author {\n name\n email\n github\n }\n }\n }\n allMarkdownRemark(\n limit: 1000,\n filter: { frontmatter: { layout: { eq: \"post\" }, draft: { ne: true } } },\n sort: { order: DESC, fields: [frontmatter___date] }\n ){\n edges {\n node {\n fields {\n slug\n categorySlug\n }\n frontmatter {\n title\n date\n category\n description\n }\n }\n }\n }\n }\n`;\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/news.jsx"],"sourceRoot":""}