-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent---src-templates-assignmentdetails-template-js-4a4803360bffd2407076.js.map
1 lines (1 loc) · 7.22 KB
/
component---src-templates-assignmentdetails-template-js-4a4803360bffd2407076.js.map
1
{"version":3,"sources":["webpack:///component---src-templates-assignmentdetails-template-js-4a4803360bffd2407076.js","webpack:///./src/templates/assignmentdetailsTemplate.js"],"names":["webpackJsonp","218","module","exports","__webpack_require__","_interopRequireWildcard","obj","__esModule","newObj","key","Object","prototype","hasOwnProperty","call","default","_interopRequireDefault","_classCallCheck","instance","Constructor","TypeError","_possibleConstructorReturn","self","ReferenceError","_inherits","subClass","superClass","create","constructor","value","enumerable","writable","configurable","setPrototypeOf","__proto__","AssignmentsPageQuery","undefined","_react","_react2","_propTypes","PropTypes","_gatsbyLink","propTypes","data","object","isRequired","AssignmentTemplate","_React$Component","this","apply","arguments","render","assignment","props","assignments","console","log","createElement","style","marginBottom","className","textAlign","title","listStyle","width","dangerouslySetInnerHTML","__html","description","Component"],"mappings":"AAAAA,cAAc,iBAERC,IACA,SAAUC,EAAQC,EAASC,GAEhC,YAiBA,SAASC,GAAwBC,GAAO,GAAIA,GAAOA,EAAIC,WAAc,MAAOD,EAAc,IAAIE,KAAa,IAAW,MAAPF,EAAe,IAAK,GAAIG,KAAOH,GAAWI,OAAOC,UAAUC,eAAeC,KAAKP,EAAKG,KAAMD,EAAOC,GAAOH,EAAIG,GAAgC,OAAtBD,GAAOM,QAAUR,EAAYE,EAElQ,QAASO,GAAuBT,GAAO,MAAOA,IAAOA,EAAIC,WAAaD,GAAQQ,QAASR,GAEvF,QAASU,GAAgBC,EAAUC,GAAe,KAAMD,YAAoBC,IAAgB,KAAM,IAAIC,WAAU,qCAEhH,QAASC,GAA2BC,EAAMR,GAAQ,IAAKQ,EAAQ,KAAM,IAAIC,gBAAe,4DAAgE,QAAOT,GAAyB,gBAATA,IAAqC,kBAATA,GAA8BQ,EAAPR,EAElO,QAASU,GAAUC,EAAUC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n/***/ 218:\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\texports.__esModule = true;\n\texports.AssignmentsPageQuery = undefined;\n\t\n\tvar _react = __webpack_require__(3);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _propTypes = __webpack_require__(7);\n\t\n\tvar PropTypes = _interopRequireWildcard(_propTypes);\n\t\n\tvar _gatsbyLink = __webpack_require__(69);\n\t\n\tvar _gatsbyLink2 = _interopRequireDefault(_gatsbyLink);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\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 propTypes = {\n\t data: PropTypes.object.isRequired\n\t};\n\t\n\tvar AssignmentTemplate = function (_React$Component) {\n\t _inherits(AssignmentTemplate, _React$Component);\n\t\n\t function AssignmentTemplate() {\n\t _classCallCheck(this, AssignmentTemplate);\n\t\n\t return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));\n\t }\n\t\n\t AssignmentTemplate.prototype.render = function render() {\n\t var assignment = this.props.data.assignments;\n\t console.log(\"assignment\" + assignment);\n\t return _react2.default.createElement(\n\t \"div\",\n\t { style: { marginBottom: \"5rem\" } },\n\t _react2.default.createElement(\n\t \"section\",\n\t { className: \"assignment\", style: { textAlign: \"center\" } },\n\t _react2.default.createElement(\n\t \"h2\",\n\t null,\n\t assignment.title\n\t ),\n\t _react2.default.createElement(\n\t \"nav\",\n\t null,\n\t _react2.default.createElement(\n\t \"ul\",\n\t {\n\t style: {\n\t listStyle: \"none\",\n\t width: \"100%\"\n\t }\n\t },\n\t _react2.default.createElement(\"li\", { dangerouslySetInnerHTML: { __html: assignment.description } })\n\t )\n\t )\n\t )\n\t );\n\t };\n\t\n\t return AssignmentTemplate;\n\t}(_react2.default.Component);\n\t\n\tAssignmentTemplate.propTypes = propTypes;\n\t\n\texports.default = AssignmentTemplate;\n\tvar AssignmentsPageQuery = exports.AssignmentsPageQuery = \"** extracted graphql fragment **\";\n\n/***/ })\n\n});\n\n\n// WEBPACK FOOTER //\n// component---src-templates-assignmentdetails-template-js-4a4803360bffd2407076.js","import React from \"react\";\nimport * as PropTypes from \"prop-types\";\nimport Link from \"gatsby-link\";\n\nconst propTypes = {\n data: PropTypes.object.isRequired\n};\n\nclass AssignmentTemplate extends React.Component {\n render() {\n const assignment = this.props.data.assignments;\n console.log(\"assignment\"+assignment);\n return (\n \n\n<div style={{ marginBottom: `5rem` }}>\n<section className=\"assignment\" style={{ textAlign: `center` }}>\n <h2>\n {assignment.title} \n </h2>\n <nav>\n <ul\n style={{\n listStyle: `none`,\n width: `100%`\n }}\n > \n <li dangerouslySetInnerHTML={{__html: assignment.description}}></li> \n </ul>\n </nav>\n</section>\n\n</div>\n );\n }\n}\n\nAssignmentTemplate.propTypes = propTypes;\n\nexport default AssignmentTemplate;\n\nexport const AssignmentsPageQuery = graphql`\n query getAllassignmentBYId($id: String!) {\n assignments: assignment(id:{eq: $id}){\n id\n title\n description\n }\n } \n`;\n\n\n\n// WEBPACK FOOTER //\n// ./src/templates/assignmentdetailsTemplate.js"],"sourceRoot":""}