Completed 1.12 (anecdotes step1)

This commit is contained in:
2021-08-26 20:55:18 +07:00
parent 5aaa738334
commit 11b911dd58
33 changed files with 38630 additions and 239 deletions
-17
View File
@@ -1,17 +0,0 @@
{
"files": {
"main.js": "/static/js/main.04eb9072.chunk.js",
"main.js.map": "/static/js/main.04eb9072.chunk.js.map",
"runtime-main.js": "/static/js/runtime-main.ed7534be.js",
"runtime-main.js.map": "/static/js/runtime-main.ed7534be.js.map",
"static/js/2.4c95941e.chunk.js": "/static/js/2.4c95941e.chunk.js",
"static/js/2.4c95941e.chunk.js.map": "/static/js/2.4c95941e.chunk.js.map",
"index.html": "/index.html",
"static/js/2.4c95941e.chunk.js.LICENSE.txt": "/static/js/2.4c95941e.chunk.js.LICENSE.txt"
},
"entrypoints": [
"static/js/runtime-main.ed7534be.js",
"static/js/2.4c95941e.chunk.js",
"static/js/main.04eb9072.chunk.js"
]
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

-1
View File
@@ -1 +0,0 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>React App</title></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function r(r){for(var n,l,f=r[0],i=r[1],a=r[2],c=0,s=[];c<f.length;c++)l=f[c],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(p&&p(r);s.length;)s.shift()();return u.push.apply(u,a||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,f=1;f<t.length;f++){var i=t[f];0!==o[i]&&(n=!1)}n&&(u.splice(r--,1),e=l(l.s=t[0]))}return e}var n={},o={1:0},u=[];function l(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,l),t.l=!0,t.exports}l.m=e,l.c=n,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,r){if(1&r&&(e=l(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)l.d(t,n,function(r){return e[r]}.bind(null,n));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="/";var f=this["webpackJsonp1.1"]=this["webpackJsonp1.1"]||[],i=f.push.bind(f);f.push=r,f=f.slice();for(var a=0;a<f.length;a++)r(f[a]);var p=i;t()}([])</script><script src="/static/js/2.4c95941e.chunk.js"></script><script src="/static/js/main.04eb9072.chunk.js"></script></body></html>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.4 KiB

-25
View File
@@ -1,25 +0,0 @@
{
"short_name": "React App",
"name": "Create React App Sample",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
},
{
"src": "logo192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "logo512.png",
"type": "image/png",
"sizes": "512x512"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}
-3
View File
@@ -1,3 +0,0 @@
# https://www.robotstxt.org/robotstxt.html
User-agent: *
Disallow:
File diff suppressed because one or more lines are too long
@@ -1,41 +0,0 @@
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/
/** @license React v0.20.2
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v17.0.2
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v17.0.2
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v17.0.2
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
File diff suppressed because one or more lines are too long
@@ -1,2 +0,0 @@
(this["webpackJsonp1.1"]=this["webpackJsonp1.1"]||[]).push([[0],{9:function(e,c,s){"use strict";s.r(c);var t=s(3),r=s.n(t),n=(s(1),s(0)),i=function(e){return Object(n.jsx)("h1",{children:e.course})},j=function(e){return Object(n.jsx)("div",{children:Object(n.jsxs)("p",{children:[e.part," ",e.excercise]})})},o=function(e){return Object(n.jsxs)("p",{children:["Number of exercises ",e.exercises[0]+e.exercises[1]+e.exercises[2]]})},a=function(){return Object(n.jsxs)("div",{children:[Object(n.jsx)(i,{course:"Half Stack application development"}),Object(n.jsx)(j,{part:"Fundamentals of React",excercise:10}),Object(n.jsx)(j,{part:"Using props to pass data",excercise:7}),Object(n.jsx)(j,{part:"State of a component",excercise:14}),Object(n.jsx)(o,{exercises:[10,7,14]})]})};r.a.render(Object(n.jsx)(a,{}),document.getElementById("root"))}},[[9,1,2]]]);
//# sourceMappingURL=main.04eb9072.chunk.js.map
@@ -1 +0,0 @@
{"version":3,"sources":["App.js","index.js"],"names":["Header","props","course","Content","part","excercise","Total","exercises","App","ReactDOM","render","document","getElementById"],"mappings":"yIAsBMA,EAAS,SAACC,GACd,OACE,6BAAKA,EAAMC,UAITC,EAAU,SAACF,GACf,OACE,8BACE,8BAAIA,EAAMG,KAAV,IAAiBH,EAAMI,gBAMvBC,EAAQ,SAACL,GACb,OACE,qDAAwBA,EAAMM,UAAU,GAAKN,EAAMM,UAAU,GAAKN,EAAMM,UAAU,OAKvEC,EA1CH,WASV,OACE,gCACE,cAAC,EAAD,CAAQN,OAVG,uCAWX,cAAC,EAAD,CAASE,KAVC,wBAUYC,UATP,KAUf,cAAC,EAAD,CAASD,KATC,2BASYC,UARP,IASf,cAAC,EAAD,CAASD,KARC,uBAQYC,UAPP,KAQf,cAAC,EAAD,CAAOE,UAAW,CAZH,GAEA,EAEA,UCNrBE,IAASC,OACP,cAAC,EAAD,IACAC,SAASC,eAAe,W","file":"static/js/main.04eb9072.chunk.js","sourcesContent":["import React from 'react'\n\nconst App = () => {\n const course = 'Half Stack application development'\n const part1 = 'Fundamentals of React'\n const exercises1 = 10\n const part2 = 'Using props to pass data'\n const exercises2 = 7\n const part3 = 'State of a component'\n const exercises3 = 14\n\n return (\n <div>\n <Header course={course} />\n <Content part={part1} excercise={exercises1} />\n <Content part={part2} excercise={exercises2} />\n <Content part={part3} excercise={exercises3} />\n <Total exercises={[exercises1, exercises2, exercises3]} />\n </div>\n )\n}\n\nconst Header = (props) => {\n return (\n <h1>{props.course}</h1>\n )\n}\n\nconst Content = (props) => {\n return (\n <div>\n <p>{props.part} {props.excercise}</p>\n </div>\n \n )\n}\n\nconst Total = (props) => {\n return (\n <p>Number of exercises {props.exercises[0] + props.exercises[1] + props.exercises[2]}</p>\n //<p>1</p>\n )\n}\n\nexport default App","import ReactDOM from 'react-dom'\nimport App from './App'\n\nReactDOM.render(\n <App />, \n document.getElementById('root')\n)"],"sourceRoot":""}
@@ -1,2 +0,0 @@
!function(e){function r(r){for(var n,l,f=r[0],i=r[1],a=r[2],c=0,s=[];c<f.length;c++)l=f[c],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(p&&p(r);s.length;)s.shift()();return u.push.apply(u,a||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,f=1;f<t.length;f++){var i=t[f];0!==o[i]&&(n=!1)}n&&(u.splice(r--,1),e=l(l.s=t[0]))}return e}var n={},o={1:0},u=[];function l(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,l),t.l=!0,t.exports}l.m=e,l.c=n,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,r){if(1&r&&(e=l(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)l.d(t,n,function(r){return e[r]}.bind(null,n));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="/";var f=this["webpackJsonp1.1"]=this["webpackJsonp1.1"]||[],i=f.push.bind(f);f.push=r,f=f.slice();for(var a=0;a<f.length;a++)r(f[a]);var p=i;t()}([]);
//# sourceMappingURL=runtime-main.ed7534be.js.map
File diff suppressed because one or more lines are too long
Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

-43
View File
@@ -1,43 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Web site created using create-react-app"
/>
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
</html>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.4 KiB

-25
View File
@@ -1,25 +0,0 @@
{
"short_name": "React App",
"name": "Create React App Sample",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
},
{
"src": "logo192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "logo512.png",
"type": "image/png",
"sizes": "512x512"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}
-3
View File
@@ -1,3 +0,0 @@
# https://www.robotstxt.org/robotstxt.html
User-agent: *
Disallow: