This commit is contained in:
Nilstrieb 2021-02-13 16:39:35 +01:00
commit 666ed243e0
18 changed files with 105 additions and 0 deletions

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,41 @@
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/
/** @license React v0.20.1
* 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.1
* 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.1
* 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.1
* 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

View file

@ -0,0 +1,2 @@
(this.webpackJsonpuntitled=this.webpackJsonpuntitled||[]).push([[0],{12:function(e,t,n){},13:function(e,t,n){},15:function(e,t,n){"use strict";n.r(t);var c=n(1),i=n.n(c),r=n(7),j=n.n(r),l=n(2),s=n(3),b=n(5),o=n(4),u=(n(12),n(13),n.p+"static/media/raptor-1040097_1920.ce44789d.png"),a=n.p+"static/media/av-8b-harrier-1986422_1920.e16c5cf3.jpg",d=n(0),O=function(e){Object(b.a)(n,e);var t=Object(o.a)(n);function n(){return Object(l.a)(this,n),t.apply(this,arguments)}return Object(s.a)(n,[{key:"render",value:function(){var e=Array(100).fill(1).map((function(e,t){return e+t})).map((function(e){return Object(d.jsx)(h,{img:u,name:"F"+(20+e)+" Raptor"})}));return Object(d.jsxs)("div",{children:[e,Object(d.jsx)(h,{img:a,name:"AV-8B Harrier"})]})}}]),n}(i.a.Component),h=function(e){Object(b.a)(n,e);var t=Object(o.a)(n);function n(e){var c;return Object(l.a)(this,n),(c=t.call(this,e)).state={img:"",name:""},c}return Object(s.a)(n,[{key:"render",value:function(){return Object(d.jsxs)("div",{className:"model",children:[Object(d.jsx)("img",{src:this.state.img,alt:this.state.name}),Object(d.jsx)("div",{children:this.state.name})]})}}],[{key:"getDerivedStateFromProps",value:function(e){return{img:e.img,name:e.name}}}]),n}(i.a.Component),x=function(e){Object(b.a)(n,e);var t=Object(o.a)(n);function n(){return Object(l.a)(this,n),t.apply(this,arguments)}return Object(s.a)(n,[{key:"render",value:function(){return Object(d.jsxs)("div",{id:"parent",children:[Object(d.jsxs)("header",{children:[Object(d.jsx)(p,{}),Object(d.jsx)("h1",{children:"Hugos Lieblingsflugzeuge"})]}),Object(d.jsx)("main",{children:Object(d.jsx)(O,{})}),Object(d.jsx)(k,{})]})}}]),n}(i.a.Component),p=function(e){Object(b.a)(n,e);var t=Object(o.a)(n);function n(){return Object(l.a)(this,n),t.apply(this,arguments)}return Object(s.a)(n,[{key:"render",value:function(){return Object(d.jsx)("nav",{children:Object(d.jsxs)("ul",{children:[Object(d.jsx)("li",{children:Object(d.jsx)("button",{onClick:"",children:"Start"})}),Object(d.jsxs)("li",{children:[Object(d.jsx)("button",{onClick:"",children:"Milit\xe4rflugzeuge"}),Object(d.jsxs)("div",{children:[Object(d.jsx)("button",{onClick:"",children:"Erste Weltkrieg"}),Object(d.jsx)("button",{onClick:"",children:"Zwischenkriegszeit"}),Object(d.jsx)("button",{onClick:"",children:"Zweiter Weltkrieg"}),Object(d.jsx)("button",{onClick:"",children:"Kalter Krieg"}),Object(d.jsx)("button",{onClick:"",children:"Moderne"})]})]}),Object(d.jsxs)("li",{children:[Object(d.jsx)("button",{onClick:"",children:"Airliner"}),Object(d.jsxs)("div",{children:[Object(d.jsx)("button",{onClick:"",children:"Boeing"}),Object(d.jsx)("button",{onClick:"",children:"Airbus"}),Object(d.jsx)("button",{onClick:"",children:"Andere"})]})]}),Object(d.jsxs)("li",{children:[Object(d.jsx)("button",{onClick:"",children:"Sportflugzeuge"}),Object(d.jsxs)("div",{children:[Object(d.jsx)("button",{onClick:"",children:"Doppeldecker"}),Object(d.jsx)("button",{onClick:"",children:"Propellerflugzeuge"}),Object(d.jsx)("button",{onClick:"",children:"Segelflugzeuge"}),Object(d.jsx)("button",{onClick:"",children:"Andere"})]})]}),Object(d.jsxs)("li",{children:[Object(d.jsx)("button",{onClick:"",children:"Spezielle"}),Object(d.jsxs)("div",{children:[Object(d.jsx)("button",{onClick:"",children:"Helikopter"}),Object(d.jsx)("button",{onClick:"",children:"Zeppeline"}),Object(d.jsx)("button",{onClick:"",children:"Andere"})]})]})]})})}}]),n}(i.a.Component),k=function(e){Object(b.a)(n,e);var t=Object(o.a)(n);function n(){return Object(l.a)(this,n),t.apply(this,arguments)}return Object(s.a)(n,[{key:"render",value:function(){return Object(d.jsx)("footer",{children:Object(d.jsx)("div",{children:"hi"})})}}]),n}(i.a.Component);j.a.render(Object(d.jsx)(x,{}),document.getElementById("root"))}},[[15,1,2]]]);
//# sourceMappingURL=main.283c4b0a.chunk.js.map

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,2 @@
!function(e){function t(t){for(var n,l,i=t[0],f=t[1],a=t[2],c=0,s=[];c<i.length;c++)l=i[c],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in f)Object.prototype.hasOwnProperty.call(f,n)&&(e[n]=f[n]);for(p&&p(t);s.length;)s.shift()();return u.push.apply(u,a||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,i=1;i<r.length;i++){var f=r[i];0!==o[f]&&(n=!1)}n&&(u.splice(t--,1),e=l(l.s=r[0]))}return e}var n={},o={1:0},u=[];function l(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,l),r.l=!0,r.exports}l.m=e,l.c=n,l.d=function(e,t,r){l.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},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,t){if(1&t&&(e=l(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(l.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)l.d(r,n,function(t){return e[t]}.bind(null,n));return r},l.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(t,"a",t),t},l.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},l.p="/hugos-lieblingsflugzeuge/";var i=this.webpackJsonpuntitled=this.webpackJsonpuntitled||[],f=i.push.bind(i);i.push=t,i=i.slice();for(var a=0;a<i.length;a++)t(i[a]);var p=f;r()}([]);
//# sourceMappingURL=runtime-main.b33b4f25.js.map

File diff suppressed because one or more lines are too long