From 725b94bb238639e254a0f89fb800abc8476ca5fb Mon Sep 17 00:00:00 2001 From: ekallin Date: Fri, 22 Dec 2023 00:46:27 +0400 Subject: [PATCH] some stolen code hehehe --- data.json | 58 ++++++++++++++++++++------ src/assets/200.png | Bin 0 -> 1548 bytes src/components/form/LinesItemForm.jsx | 18 ++++---- 3 files changed, 57 insertions(+), 19 deletions(-) create mode 100644 src/assets/200.png diff --git a/data.json b/data.json index f2ae48d..bbc182f 100644 --- a/data.json +++ b/data.json @@ -1,19 +1,53 @@ { - "posts": [ + "categories": [ { "id": 1, - "title": "json-server", - "author": "typicode" - } - ], - "comments": [ + "name": "Драма", + "img": "./static/images/cover-golodnye-igry.jpg" + }, { - "id": 1, - "body": "some comment", - "postId": 1 + "id": 2, + "name": "Комедия", + "img": "./static/images/cover-marriage-story.jpg" + }, + { + "id": 3, + "name": "Боевик", + "img": "./static/images/cover-narkoz.jpg" + }, + { + "id": 4, + "name": "Триллер", + "img": "./static/images/cover-posle-glava-2.jpg" + }, + { + "id": 5, + "name": "Фантастика", + "img": "./static/images/cover-split.jpg" + }, + { + "id": 6, + "name": "Детектив", + "img": "./static/images/cover-anna-detektiv.jpg" + }, + { + "id": 7, + "name": "Мюзикл", + "img": "./static/images/cover-placeholder160x230.png" + }, + { + "id": 8, + "name": "Аниме", + "img": "./static/images/cover-placeholder160x230.png" } ], - "profile": { - "name": "typicode" - } + "movies": [ + { + "name": "Терминатор", + "categoryId": "3", + "duration": "2:27", + "description": "Мальчик и девочка из Омерики спасают мир от нашествия машин под предводительством искусственного интеллекта", + "image": "src/assets/akademy-ambrella.jpeg" + } + ] } \ No newline at end of file diff --git a/src/assets/200.png b/src/assets/200.png new file mode 100644 index 0000000000000000000000000000000000000000..e0ddeca771b466385703ebbda5c89eb0dd69fc55 GIT binary patch literal 1548 zcmeAS@N?(olHy`uVBq!ia0vp^CqS5k2}mkgS)OEIV7=_=;uumf=k3k-{7X49?H{LI zYLcG2&Y*Oz^B>_}_Fwzt z-FM4kw+F2>k?Jkmohxzd{CsEA@l2mhI>x@mHge&s zuO98+`g+&ZEYq$(9^4k1gKc+dDhIu&=*gee%iI*Vjw;x(SL!`T&j5 z^}bwUHTT-<(#s~7P4@2FH}8G&vsYiMCaGl3S|=Ov?|-k`;;UJ)v9WXK&VBlw#nE7< zPt@9Lr&hg7nRqnh-G*O(|K*qgeP_(0Tz@(D_CCYp$gqDeZZ%HTfA||1;`ViaJSM4l zPO97g-lFgQ@7Aak#;F!-6gZj`3Szh4%#ms{oPCz(aKt{f^&wh67iY7F?ekh1WNBmL zbNLGpJb9wxd-?F;!+$i7Mglcv_HWIwkg5CsuQoe7yH0T4{;!eK?#?*F-j9@$l29I+;A21I(cZ;*|hlmb+Wx~)z#Je-s{(;MobG`8}`^@-^VEyeYv;K^@BXN zN$2;sx6%K~*I&;zk*c>pP`>HJBF(ev2Ml_2PJd$l_U7j1=H}+7y(hkXE1RU!J^ks= z_gc}>(b9ZtOeA<7S>&0`KATo-HTT=^zf2$(id;)Dkmz+|XJ=m zmDgXl=ik?x-wTe)S;p6%K7Bf$@5Um(<)6R23_f1yb9v3xtlz(X|9r1Fn_uVDeiqyF zv*S76y?IkHPyG1D1Otr|O5H0>(sibIXP%4D5Fg { @@ -14,12 +16,14 @@ const LinesItemForm = ({ item, handleChange }) => { placeholder - - + + +