From 4a8a0841c0c09f4b92a06bab6dcec5345cc0bd0d Mon Sep 17 00:00:00 2001 From: Alik_Avizha Date: Sun, 2 Jul 2023 19:51:43 +0300 Subject: [PATCH] Updates --- asset-manifest.json | 60 ++++++++++-------- index.html | 2 +- static/css/17.4c8c58ab.chunk.css | 2 - static/css/17.4c8c58ab.chunk.css.map | 1 - static/css/387.07733a7d.chunk.css | 2 + static/css/387.07733a7d.chunk.css.map | 1 + static/css/411.ef27e3b8.chunk.css | 2 + static/css/411.ef27e3b8.chunk.css.map | 1 + static/css/633.ef1cc84f.chunk.css | 2 + static/css/633.ef1cc84f.chunk.css.map | 1 + static/css/753.fd1ebe4d.chunk.css | 2 - static/css/753.fd1ebe4d.chunk.css.map | 1 - static/css/838.15fcad9c.chunk.css | 2 + static/css/838.15fcad9c.chunk.css.map | 1 + static/css/843.0cd5fdf7.chunk.css | 2 - static/css/843.0cd5fdf7.chunk.css.map | 1 - static/css/851.61858800.chunk.css | 2 - static/css/851.61858800.chunk.css.map | 1 - static/css/main.5b2c3a1d.css | 2 + static/css/main.5b2c3a1d.css.map | 1 + static/css/main.d7aebd6a.css | 2 - static/css/main.d7aebd6a.css.map | 1 - static/js/17.a0466584.chunk.js | 2 - static/js/17.a0466584.chunk.js.map | 1 - static/js/387.ce4d39f2.chunk.js | 3 + ....txt => 387.ce4d39f2.chunk.js.LICENSE.txt} | 0 static/js/387.ce4d39f2.chunk.js.map | 1 + static/js/411.b2fdc4da.chunk.js | 2 + static/js/411.b2fdc4da.chunk.js.map | 1 + ...1640f9f.chunk.js => 434.e199f8cc.chunk.js} | 4 +- static/js/434.e199f8cc.chunk.js.map | 1 + static/js/615.01640f9f.chunk.js.map | 1 - static/js/633.8c073fd8.chunk.js | 2 + static/js/633.8c073fd8.chunk.js.map | 1 + static/js/753.95735ea9.chunk.js | 2 - static/js/753.95735ea9.chunk.js.map | 1 - static/js/838.b13a27bc.chunk.js | 2 + static/js/838.b13a27bc.chunk.js.map | 1 + static/js/843.42ba8846.chunk.js | 3 - static/js/843.42ba8846.chunk.js.map | 1 - static/js/851.28894b36.chunk.js | 2 - static/js/851.28894b36.chunk.js.map | 1 - static/js/main.669db178.js | 3 - static/js/main.669db178.js.map | 1 - static/js/main.d8d452c5.js | 3 + ...CENSE.txt => main.d8d452c5.js.LICENSE.txt} | 0 static/js/main.d8d452c5.js.map | 1 + .../dialogsUser.d947cb9d0d13765666b6.png | Bin 0 -> 58158 bytes static/media/loader.44b9148706bcbe0360e7.gif | Bin 24199 -> 0 bytes ...o-com.5146a602158769ea6659b95e7097be79.svg | 4 ++ static/media/logo.149bda3d89de1f540141.gif | Bin 124610 -> 0 bytes ...o-com.d0a18276c5022c5d41fcbb573bb881e5.svg | 4 ++ ...sages.3a3bee3fdb7f29ed45eb177a0bb4aeba.svg | 5 ++ ...cIcon.2318544dd4d9a5e2c522bdb587706647.svg | 6 ++ ...sIcon.c11f1d461f0a8e5f6b1efdc5ce5c2c2a.svg | 23 +++++++ ...eIcon.d883402b6b48cfb1e3b6279e3bbbe086.svg | 19 ++++++ ...sIcon.d38a06add261679e2a09497571ba74e9.svg | 2 + ...sIcon.3dd7c11055d77b0fab145835465bd47a.svg | 7 ++ static/media/work.3aab0033d025a3b71d38.jpg | Bin 137159 -> 0 bytes 59 files changed, 139 insertions(+), 63 deletions(-) delete mode 100644 static/css/17.4c8c58ab.chunk.css delete mode 100644 static/css/17.4c8c58ab.chunk.css.map create mode 100644 static/css/387.07733a7d.chunk.css create mode 100644 static/css/387.07733a7d.chunk.css.map create mode 100644 static/css/411.ef27e3b8.chunk.css create mode 100644 static/css/411.ef27e3b8.chunk.css.map create mode 100644 static/css/633.ef1cc84f.chunk.css create mode 100644 static/css/633.ef1cc84f.chunk.css.map delete mode 100644 static/css/753.fd1ebe4d.chunk.css delete mode 100644 static/css/753.fd1ebe4d.chunk.css.map create mode 100644 static/css/838.15fcad9c.chunk.css create mode 100644 static/css/838.15fcad9c.chunk.css.map delete mode 100644 static/css/843.0cd5fdf7.chunk.css delete mode 100644 static/css/843.0cd5fdf7.chunk.css.map delete mode 100644 static/css/851.61858800.chunk.css delete mode 100644 static/css/851.61858800.chunk.css.map create mode 100644 static/css/main.5b2c3a1d.css create mode 100644 static/css/main.5b2c3a1d.css.map delete mode 100644 static/css/main.d7aebd6a.css delete mode 100644 static/css/main.d7aebd6a.css.map delete mode 100644 static/js/17.a0466584.chunk.js delete mode 100644 static/js/17.a0466584.chunk.js.map create mode 100644 static/js/387.ce4d39f2.chunk.js rename static/js/{843.42ba8846.chunk.js.LICENSE.txt => 387.ce4d39f2.chunk.js.LICENSE.txt} (100%) create mode 100644 static/js/387.ce4d39f2.chunk.js.map create mode 100644 static/js/411.b2fdc4da.chunk.js create mode 100644 static/js/411.b2fdc4da.chunk.js.map rename static/js/{615.01640f9f.chunk.js => 434.e199f8cc.chunk.js} (89%) create mode 100644 static/js/434.e199f8cc.chunk.js.map delete mode 100644 static/js/615.01640f9f.chunk.js.map create mode 100644 static/js/633.8c073fd8.chunk.js create mode 100644 static/js/633.8c073fd8.chunk.js.map delete mode 100644 static/js/753.95735ea9.chunk.js delete mode 100644 static/js/753.95735ea9.chunk.js.map create mode 100644 static/js/838.b13a27bc.chunk.js create mode 100644 static/js/838.b13a27bc.chunk.js.map delete mode 100644 static/js/843.42ba8846.chunk.js delete mode 100644 static/js/843.42ba8846.chunk.js.map delete mode 100644 static/js/851.28894b36.chunk.js delete mode 100644 static/js/851.28894b36.chunk.js.map delete mode 100644 static/js/main.669db178.js delete mode 100644 static/js/main.669db178.js.map create mode 100644 static/js/main.d8d452c5.js rename static/js/{main.669db178.js.LICENSE.txt => main.d8d452c5.js.LICENSE.txt} (100%) create mode 100644 static/js/main.d8d452c5.js.map create mode 100644 static/media/dialogsUser.d947cb9d0d13765666b6.png delete mode 100644 static/media/loader.44b9148706bcbe0360e7.gif create mode 100644 static/media/login-svgrepo-com.5146a602158769ea6659b95e7097be79.svg delete mode 100644 static/media/logo.149bda3d89de1f540141.gif create mode 100644 static/media/logout-svgrepo-com.d0a18276c5022c5d41fcbb573bb881e5.svg create mode 100644 static/media/messages.3a3bee3fdb7f29ed45eb177a0bb4aeba.svg create mode 100644 static/media/musicIcon.2318544dd4d9a5e2c522bdb587706647.svg create mode 100644 static/media/newsIcon.c11f1d461f0a8e5f6b1efdc5ce5c2c2a.svg create mode 100644 static/media/profileIcon.d883402b6b48cfb1e3b6279e3bbbe086.svg create mode 100644 static/media/settingsIcon.d38a06add261679e2a09497571ba74e9.svg create mode 100644 static/media/usersIcon.3dd7c11055d77b0fab145835465bd47a.svg delete mode 100644 static/media/work.3aab0033d025a3b71d38.jpg diff --git a/asset-manifest.json b/asset-manifest.json index 60f5f44..65c1e38 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,36 +1,42 @@ { "files": { - "main.css": "/my_social_network/static/css/main.d7aebd6a.css", - "main.js": "/my_social_network/static/js/main.669db178.js", - "static/css/851.61858800.chunk.css": "/my_social_network/static/css/851.61858800.chunk.css", - "static/js/851.28894b36.chunk.js": "/my_social_network/static/js/851.28894b36.chunk.js", - "static/css/17.4c8c58ab.chunk.css": "/my_social_network/static/css/17.4c8c58ab.chunk.css", - "static/js/17.a0466584.chunk.js": "/my_social_network/static/js/17.a0466584.chunk.js", - "static/css/843.0cd5fdf7.chunk.css": "/my_social_network/static/css/843.0cd5fdf7.chunk.css", - "static/js/843.42ba8846.chunk.js": "/my_social_network/static/js/843.42ba8846.chunk.js", - "static/css/753.fd1ebe4d.chunk.css": "/my_social_network/static/css/753.fd1ebe4d.chunk.css", - "static/js/753.95735ea9.chunk.js": "/my_social_network/static/js/753.95735ea9.chunk.js", - "static/js/615.01640f9f.chunk.js": "/my_social_network/static/js/615.01640f9f.chunk.js", - "static/media/work.jpg": "/my_social_network/static/media/work.3aab0033d025a3b71d38.jpg", - "static/media/logo.gif": "/my_social_network/static/media/logo.149bda3d89de1f540141.gif", + "main.css": "/my_social_network/static/css/main.5b2c3a1d.css", + "main.js": "/my_social_network/static/js/main.d8d452c5.js", + "static/css/838.15fcad9c.chunk.css": "/my_social_network/static/css/838.15fcad9c.chunk.css", + "static/js/838.b13a27bc.chunk.js": "/my_social_network/static/js/838.b13a27bc.chunk.js", + "static/css/633.ef1cc84f.chunk.css": "/my_social_network/static/css/633.ef1cc84f.chunk.css", + "static/js/633.8c073fd8.chunk.js": "/my_social_network/static/js/633.8c073fd8.chunk.js", + "static/css/387.07733a7d.chunk.css": "/my_social_network/static/css/387.07733a7d.chunk.css", + "static/js/387.ce4d39f2.chunk.js": "/my_social_network/static/js/387.ce4d39f2.chunk.js", + "static/css/411.ef27e3b8.chunk.css": "/my_social_network/static/css/411.ef27e3b8.chunk.css", + "static/js/411.b2fdc4da.chunk.js": "/my_social_network/static/js/411.b2fdc4da.chunk.js", + "static/js/434.e199f8cc.chunk.js": "/my_social_network/static/js/434.e199f8cc.chunk.js", + "static/media/dialogsUser.png": "/my_social_network/static/media/dialogsUser.d947cb9d0d13765666b6.png", "static/media/like.jpg": "/my_social_network/static/media/like.561119d972ddc61628c0.jpg", - "static/media/loader.gif": "/my_social_network/static/media/loader.44b9148706bcbe0360e7.gif", "static/media/basket.svg": "/my_social_network/static/media/basket.2709b34781ea538989014b05505f5103.svg", + "static/media/profileIcon.svg": "/my_social_network/static/media/profileIcon.d883402b6b48cfb1e3b6279e3bbbe086.svg", + "static/media/musicIcon.svg": "/my_social_network/static/media/musicIcon.2318544dd4d9a5e2c522bdb587706647.svg", + "static/media/newsIcon.svg": "/my_social_network/static/media/newsIcon.c11f1d461f0a8e5f6b1efdc5ce5c2c2a.svg", + "static/media/messages.svg": "/my_social_network/static/media/messages.3a3bee3fdb7f29ed45eb177a0bb4aeba.svg", + "static/media/settingsIcon.svg": "/my_social_network/static/media/settingsIcon.d38a06add261679e2a09497571ba74e9.svg", + "static/media/usersIcon.svg": "/my_social_network/static/media/usersIcon.3dd7c11055d77b0fab145835465bd47a.svg", + "static/media/login-svgrepo-com.svg": "/my_social_network/static/media/login-svgrepo-com.5146a602158769ea6659b95e7097be79.svg", + "static/media/logout-svgrepo-com.svg": "/my_social_network/static/media/logout-svgrepo-com.d0a18276c5022c5d41fcbb573bb881e5.svg", "index.html": "/my_social_network/index.html", - "main.d7aebd6a.css.map": "/my_social_network/static/css/main.d7aebd6a.css.map", - "main.669db178.js.map": "/my_social_network/static/js/main.669db178.js.map", - "851.61858800.chunk.css.map": "/my_social_network/static/css/851.61858800.chunk.css.map", - "851.28894b36.chunk.js.map": "/my_social_network/static/js/851.28894b36.chunk.js.map", - "17.4c8c58ab.chunk.css.map": "/my_social_network/static/css/17.4c8c58ab.chunk.css.map", - "17.a0466584.chunk.js.map": "/my_social_network/static/js/17.a0466584.chunk.js.map", - "843.0cd5fdf7.chunk.css.map": "/my_social_network/static/css/843.0cd5fdf7.chunk.css.map", - "843.42ba8846.chunk.js.map": "/my_social_network/static/js/843.42ba8846.chunk.js.map", - "753.fd1ebe4d.chunk.css.map": "/my_social_network/static/css/753.fd1ebe4d.chunk.css.map", - "753.95735ea9.chunk.js.map": "/my_social_network/static/js/753.95735ea9.chunk.js.map", - "615.01640f9f.chunk.js.map": "/my_social_network/static/js/615.01640f9f.chunk.js.map" + "main.5b2c3a1d.css.map": "/my_social_network/static/css/main.5b2c3a1d.css.map", + "main.d8d452c5.js.map": "/my_social_network/static/js/main.d8d452c5.js.map", + "838.15fcad9c.chunk.css.map": "/my_social_network/static/css/838.15fcad9c.chunk.css.map", + "838.b13a27bc.chunk.js.map": "/my_social_network/static/js/838.b13a27bc.chunk.js.map", + "633.ef1cc84f.chunk.css.map": "/my_social_network/static/css/633.ef1cc84f.chunk.css.map", + "633.8c073fd8.chunk.js.map": "/my_social_network/static/js/633.8c073fd8.chunk.js.map", + "387.07733a7d.chunk.css.map": "/my_social_network/static/css/387.07733a7d.chunk.css.map", + "387.ce4d39f2.chunk.js.map": "/my_social_network/static/js/387.ce4d39f2.chunk.js.map", + "411.ef27e3b8.chunk.css.map": "/my_social_network/static/css/411.ef27e3b8.chunk.css.map", + "411.b2fdc4da.chunk.js.map": "/my_social_network/static/js/411.b2fdc4da.chunk.js.map", + "434.e199f8cc.chunk.js.map": "/my_social_network/static/js/434.e199f8cc.chunk.js.map" }, "entrypoints": [ - "static/css/main.d7aebd6a.css", - "static/js/main.669db178.js" + "static/css/main.5b2c3a1d.css", + "static/js/main.d8d452c5.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index a32b918..550d796 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -React App
\ No newline at end of file +React App
\ No newline at end of file diff --git a/static/css/17.4c8c58ab.chunk.css b/static/css/17.4c8c58ab.chunk.css deleted file mode 100644 index c8da0f5..0000000 --- a/static/css/17.4c8c58ab.chunk.css +++ /dev/null @@ -1,2 +0,0 @@ -.ProfileInfo_profileInfoWrapper__Vhv8t{background-color:#fff;margin-bottom:30px;padding:30px}.ProfileInfo_descriptionBlock__mxMse{display:flex;justify-content:space-around}.ProfileInfo_avatarAndStatusBlock__lknAX{align-items:center;display:flex;flex-direction:column;gap:10px}.Description_descriptionWrapper__QlbNG,.Description_description__dnouL{display:flex;flex-direction:column}.Description_description__dnouL{color:#0e0d0d;font-size:20px;margin-top:10px}.ProfileAvatar_imgAvatar__oXo49{border-radius:50%;height:200px;margin-right:20px;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out,-webkit-transform .2s ease-in-out;width:200px}.ProfileAvatar_imgAvatar__oXo49:hover{-webkit-transform:scale(1.1);transform:scale(1.1)}.MyPosts_addPostWrapper__PELVK{align-items:center;background-color:#fff;display:flex;gap:20px;margin-bottom:30px;padding:50px}.MyPosts_textarea__p4cM5{height:80px;width:100%}.MyPosts_textarea__p4cM5 span{color:red}.MyPosts_addPost__jfYwQ{background:#06c;border:none;border-radius:3px;color:#fff;cursor:pointer;font-family:Montserrat,"monospace";font-size:14px;font-weight:600;padding:15px 30px}.MyPosts_addPost__jfYwQ:hover{background:#0080ff}.MyPosts_addPost__jfYwQ:active{background:#0059b3}.MyPosts_posts__fuXeW{background-color:#fff;padding:30px}.Post_item__qWWoo{background:linear-gradient(180deg,#fff,#f2f2f2);border-radius:10px;box-shadow:0 2px 5px 0 rgba(0,0,0,.2),0 2px 10px 0 rgba(0,0,0,.2);margin-bottom:20px;padding:10px;position:relative}.Post_postMessage__5SPf6{align-items:center;display:flex;gap:10px}.Post_item__qWWoo img{border-radius:10px;height:70px;width:70px}.Post_item__qWWoo .Post_message__r9x3b{font-size:14px;margin-left:10px;word-break:break-all}.Post_item__qWWoo .Post_likes__-JOPo{bottom:0;display:flex;padding-left:30px;position:absolute;right:5px}.Post_item__qWWoo .Post_likeImg__y6Gyg{cursor:pointer;-webkit-filter:grayscale(100%);filter:grayscale(100%);height:20px;margin-left:10px;transition:all .3s ease-in-out;width:20px}.Post_item__qWWoo .Post_likeImg__y6Gyg:hover{-webkit-filter:grayscale(0);filter:grayscale(0)}.FormsControls_formControl__4tOrb.FormsControls_error__Q4DIq input,.FormsControls_formControl__4tOrb.FormsControls_error__Q4DIq textarea{border:2px solid red}.FormsControls_formControl__4tOrb.FormsControls_error__Q4DIq span{color:red}.FormsControls_formSummaryError__u8JeD{border:1px solid red;color:red;padding:5px} -/*# sourceMappingURL=17.4c8c58ab.chunk.css.map*/ \ No newline at end of file diff --git a/static/css/17.4c8c58ab.chunk.css.map b/static/css/17.4c8c58ab.chunk.css.map deleted file mode 100644 index 97ba49a..0000000 --- a/static/css/17.4c8c58ab.chunk.css.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/css/17.4c8c58ab.chunk.css","mappings":"AAAA,uCACI,qBAAuB,CACvB,kBAAmB,CACnB,YACJ,CACA,qCACI,YAAa,CACb,4BACJ,CACA,yCAGI,kBAAmB,CAFnB,YAAa,CACb,qBAAsB,CAEtB,QACJ,CCVA,uEAHI,YAAa,CACb,qBAQJ,CANA,gCAGI,aAAc,CAFd,cAAe,CACf,eAIJ,CCVA,gCAGI,iBAAkB,CADlB,YAAa,CAEb,iBAAkB,CAClB,4CAAsC,CAAtC,oCAAsC,CAAtC,sEAAsC,CAJtC,WAKJ,CACA,sCACI,4BAAqB,CAArB,oBACJ,CCNA,+BAEI,kBAAmB,CAInB,qBAAuB,CALvB,YAAa,CAEb,QAAS,CACT,kBAAmB,CACnB,YAEJ,CAEA,yBAEI,WAAY,CADZ,UAEJ,CACA,8BACI,SACJ,CAGA,wBASI,eAAmB,CAHnB,WAAY,CADZ,iBAAkB,CAGlB,UAAc,CADd,cAAe,CALf,kCAAsC,CAEtC,cAAe,CADf,eAAgB,CAFhB,iBASJ,CAEA,8BACI,kBACJ,CAEA,+BACI,kBACJ,CAEA,sBACI,qBAAuB,CACvB,YACJ,CC5CA,kBACI,+CAAqD,CACrD,kBAAmB,CACnB,iEAA2E,CAE3E,kBAAmB,CADnB,YAAa,CAEb,iBACJ,CAEA,yBAGI,kBAAmB,CAFnB,YAAa,CACb,QAEJ,CAEA,sBAGI,kBAAmB,CADnB,WAAY,CADZ,UAGJ,CAEA,uCACI,cAAe,CACf,gBAAiB,CACjB,oBACJ,CAEA,qCAGI,QAAS,CAFT,YAAa,CAIb,iBAAkB,CAHlB,iBAAkB,CAElB,SAEJ,CAEA,uCAII,cAAe,CACf,8BAAuB,CAAvB,sBAAuB,CAHvB,WAAY,CACZ,gBAAiB,CAGjB,8BAAgC,CALhC,UAMJ,CAEA,6CACI,2BAAqB,CAArB,mBACJ,CCzCA,yIAEI,oBACJ,CAEA,kEACI,SACJ,CAEA,uCACI,oBAAqB,CAErB,SAAU,CADV,WAEJ","sources":["components/Profile/ProfileInfo/ProfileInfo.module.css","components/Profile/ProfileInfo/ProfileDescription/Description.module.css","components/Profile/ProfileInfo/ProfileAvatar/ProfileAvatar.module.css","components/Profile/MyPosts/MyPosts.module.css","components/Profile/MyPosts/Post/Post.module.css","components/common/FormsControls/FormsControls.module.css"],"sourcesContent":[".profileInfoWrapper {\r\n background-color: white;\r\n margin-bottom: 30px;\r\n padding: 30px;\r\n}\r\n.descriptionBlock {\r\n display: flex;\r\n justify-content: space-around;\r\n}\r\n.avatarAndStatusBlock{\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n gap: 10px;\r\n}\r\n\r\n\r\n\r\n",".descriptionWrapper{\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n.description {\r\n font-size: 20px;\r\n margin-top: 10px;\r\n color: #0e0d0d;\r\n display: flex;\r\n flex-direction: column;\r\n}",".imgAvatar {\r\n width: 200px;\r\n height: 200px;\r\n border-radius: 50%;\r\n margin-right: 20px;\r\n transition: transform 0.2s ease-in-out;\r\n}\r\n.imgAvatar:hover {\r\n transform: scale(1.1);\r\n}",".postsBlock {\r\n}\r\n\r\n.addPostWrapper {\r\n display: flex;\r\n align-items: center;\r\n gap: 20px;\r\n margin-bottom: 30px;\r\n padding: 50px;\r\n background-color: white;\r\n}\r\n\r\n.textarea {\r\n width: 100%;\r\n height: 80px;\r\n}\r\n.textarea span {\r\n color: red;\r\n}\r\n\r\n\r\n.addPost {\r\n padding: 15px 30px;\r\n font-family: 'Montserrat', 'monospace';\r\n font-weight: 600;\r\n font-size: 14px;\r\n border-radius: 3px;\r\n border: none;\r\n cursor: pointer;\r\n color: #FFFFFF;\r\n background: #0066CC;\r\n}\r\n\r\n.addPost:hover {\r\n background: #0080FF;\r\n}\r\n\r\n.addPost:active {\r\n background: #0059B3;\r\n}\r\n\r\n.posts {\r\n background-color: white;\r\n padding: 30px;\r\n}",".item {\r\n background: linear-gradient(to bottom, #fff, #f2f2f2);\r\n border-radius: 10px;\r\n box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.2), 0 2px 10px 0 rgba(0, 0, 0, 0.2);\r\n padding: 10px;\r\n margin-bottom: 20px;\r\n position: relative;\r\n}\r\n\r\n.postMessage {\r\n display: flex;\r\n gap: 10px;\r\n align-items: center;\r\n}\r\n\r\n.item img {\r\n width: 70px;\r\n height: 70px;\r\n border-radius: 10px;\r\n}\r\n\r\n.item .message {\r\n font-size: 14px;\r\n margin-left: 10px;\r\n word-break: break-all\r\n}\r\n\r\n.item .likes {\r\n display: flex;\r\n position: absolute;\r\n bottom: 0;\r\n right: 5px;\r\n padding-left: 30px;\r\n}\r\n\r\n.item .likeImg {\r\n width: 20px;\r\n height: 20px;\r\n margin-left: 10px;\r\n cursor: pointer;\r\n filter: grayscale(100%);\r\n transition: all 0.3s ease-in-out;\r\n}\r\n\r\n.item .likeImg:hover {\r\n filter: grayscale(0%);\r\n}",".formControl{\r\n\r\n}\r\n\r\n\r\n.formControl.error input,\r\n.formControl.error textarea {\r\n border: 2px red solid;\r\n}\r\n\r\n.formControl.error span {\r\n color: red;\r\n}\r\n\r\n.formSummaryError{\r\n border: 1px red solid;\r\n padding: 5px;\r\n color: red;\r\n}"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/static/css/387.07733a7d.chunk.css b/static/css/387.07733a7d.chunk.css new file mode 100644 index 0000000..4cdcda9 --- /dev/null +++ b/static/css/387.07733a7d.chunk.css @@ -0,0 +1,2 @@ +.users_usersWrapper__rqt2O{background-color:#fff;padding:20px}.users_users__HxCrt{display:flex;flex-wrap:wrap;gap:20px;justify-content:space-between;margin-top:50px}.Pagination_paginator__GTV4g{display:flex;justify-content:space-between;margin:10px}.Pagination_pageNumber__jYcKX{align-items:center;border:1px solid grey;border-radius:10px;color:#000;display:flex;height:50px;justify-content:center;transition:color .3s ease-in-out,background-color .3s ease-in-out;width:50px}.Pagination_pageNumber__jYcKX:hover{background-color:#a5b5d2;color:#fff}.Pagination_pageNumber__jYcKX.Pagination_selectedPage__LE3WK{background-color:#7d93bd;color:#fff}.Pagination_btn__KEW5g{background:#06c;border:0;border-radius:20px;color:#fff;cursor:pointer;font-size:12px;padding:15px 0;width:7%}.Pagination_btn__KEW5g:hover{background:#0080ff}.Pagination_btn__KEW5g:active{background:#0059b3}.Pagination_btn__KEW5g:disabled{background:#82add9}.user_userWrapper__h4XUp{align-items:center;border:1px solid #ccc;border-radius:5px;box-shadow:0 2px 5px 0 rgba(0,0,0,.2),0 2px 10px 0 rgba(0,0,0,.2);display:flex;flex-direction:column;justify-content:center;margin-bottom:10px;padding:10px}.user_userPhoto__CbBHr{border-radius:50%;height:100px;width:100px}.user_btn__Cp0HY{background-color:#007bff;border:none;border-radius:5px;color:#fff;cursor:pointer;padding:10px 20px}.user_btn__Cp0HY:hover{background:#0080ff}.user_btn__Cp0HY:active{background:#0059b3}.user_btn__Cp0HY:disabled{opacity:.5}.user_userName__iy9Zd{font-size:14px;font-weight:700} +/*# sourceMappingURL=387.07733a7d.chunk.css.map*/ \ No newline at end of file diff --git a/static/css/387.07733a7d.chunk.css.map b/static/css/387.07733a7d.chunk.css.map new file mode 100644 index 0000000..8a1404d --- /dev/null +++ b/static/css/387.07733a7d.chunk.css.map @@ -0,0 +1 @@ +{"version":3,"file":"static/css/387.07733a7d.chunk.css","mappings":"AAAA,2BAEI,qBAAuB,CADvB,YAGJ,CACA,oBAEI,YAAa,CACb,cAAe,CAEf,QAAQ,CADR,6BAA8B,CAH9B,eAKJ,CCXA,6BAEI,YAAa,CACb,6BAA8B,CAF9B,WAGJ,CACA,8BAOI,kBAAmB,CALnB,qBAAsB,CADtB,kBAAmB,CAQnB,UAAY,CAJZ,YAAa,CADb,WAAY,CAEZ,sBAAuB,CAEvB,iEAAqE,CALrE,UAOJ,CAEA,oCACI,wBAAyB,CACzB,UACJ,CAEA,6DAEI,wBAAyB,CADzB,UAEJ,CAEA,uBAEI,eAAgB,CAGhB,QAAS,CAGT,kBAAmB,CAJnB,UAAW,CAEX,cAAe,CAHf,cAAe,CAIf,cAAe,CANf,QAQJ,CACA,6BACI,kBACJ,CACA,8BACI,kBACJ,CACA,gCACI,kBACJ,CC7CA,yBAII,kBAAmB,CAEnB,qBAAsB,CACtB,iBAAkB,CAElB,iEAA2E,CAR3E,YAAa,CACb,qBAAsB,CACtB,sBAAuB,CAKvB,kBAAmB,CAHnB,YAKJ,CAEA,uBAGI,iBAAkB,CADlB,YAAa,CADb,WAGJ,CAEA,iBACI,wBAAyB,CAEzB,WAAY,CACZ,iBAAkB,CAFlB,UAAW,CAIX,cAAe,CADf,iBAEJ,CACA,uBACI,kBACJ,CACA,wBACI,kBACJ,CACA,0BACI,UACJ,CAEA,sBACI,cAAe,CACf,eACJ","sources":["components/Users/users.module.css","components/common/Pagination/Pagination.module.css","components/Users/User/user.module.css"],"sourcesContent":[".usersWrapper{\r\n padding: 20px;\r\n background-color: white;\r\n\r\n}\r\n.users{\r\n margin-top: 50px;\r\n display: flex;\r\n flex-wrap: wrap;\r\n justify-content: space-between;\r\n gap: 20px\r\n}",".paginator {\r\n margin: 10px;\r\n display: flex;\r\n justify-content: space-between;\r\n}\r\n.pageNumber {\r\n border-radius: 10px;\r\n border: 1px solid grey;\r\n width: 50px;\r\n height: 50px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;\r\n color: black;\r\n}\r\n\r\n.pageNumber:hover{\r\n background-color: #a5b5d2;\r\n color: white;\r\n}\r\n\r\n.pageNumber.selectedPage {\r\n color: white;\r\n background-color: #7d93bd;\r\n}\r\n\r\n.btn{\r\n width: 7%;\r\n background: #06C;\r\n font-size: 12px;\r\n color: #FFF;\r\n border: 0;\r\n cursor: pointer;\r\n padding: 15px 0;\r\n border-radius: 20px;\r\n}\r\n.btn:hover{\r\n background: #0080FF;\r\n}\r\n.btn:active{\r\n background: #0059B3;\r\n}\r\n.btn:disabled{\r\n background: #82add9;\r\n}",".userWrapper {\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: center;\r\n align-items: center;\r\n padding: 10px;\r\n border: 1px solid #ccc;\r\n border-radius: 5px;\r\n margin-bottom: 10px;\r\n box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.2), 0 2px 10px 0 rgba(0, 0, 0, 0.2);\r\n}\r\n\r\n.userPhoto {\r\n width: 100px;\r\n height: 100px;\r\n border-radius: 50%;\r\n}\r\n\r\n.btn {\r\n background-color: #007bff;\r\n color: #fff;\r\n border: none;\r\n border-radius: 5px;\r\n padding: 10px 20px;\r\n cursor: pointer;\r\n}\r\n.btn:hover{\r\n background: #0080FF;\r\n}\r\n.btn:active{\r\n background: #0059B3;\r\n}\r\n.btn:disabled{\r\n opacity: 0.5;\r\n}\r\n\r\n.userName {\r\n font-size: 14px;\r\n font-weight: bold;\r\n}\r\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/static/css/411.ef27e3b8.chunk.css b/static/css/411.ef27e3b8.chunk.css new file mode 100644 index 0000000..13c09c8 --- /dev/null +++ b/static/css/411.ef27e3b8.chunk.css @@ -0,0 +1,2 @@ +.login_loginWrapper__Cpe58{align-items:center;background-color:#fff;display:flex;flex-direction:column;gap:100px;height:70vh;text-align:center}.login_title__XfTe2{font-size:50px;font-weight:700}.loginForm_formControl__u6OBx{display:flex;flex-direction:column;gap:30px}.loginForm_formControl__u6OBx input{border:1px solid #ccc;border-radius:.2rem;font-size:1.2rem;padding:.5rem;width:100%}.loginForm_formControl__u6OBx input[type=checkbox]{height:50px}.loginForm_btn__7B8je{background:#06c;border:0;border-radius:20px;color:#fff;cursor:pointer;font-size:19px;padding:15px 10px}.loginForm_btn__7B8je:hover{background:#0080ff}.loginForm_btn__7B8je:active{background:#0059b3}.loginForm_btn__7B8je:disabled{opacity:.5}.loginForm_formSummaryError__suXwL{color:red}.FormsControls_formControl__4tOrb.FormsControls_error__Q4DIq input,.FormsControls_formControl__4tOrb.FormsControls_error__Q4DIq textarea{border:2px solid red}.FormsControls_formControl__4tOrb.FormsControls_error__Q4DIq span{color:red}.FormsControls_formSummaryError__u8JeD{color:red;padding:5px} +/*# sourceMappingURL=411.ef27e3b8.chunk.css.map*/ \ No newline at end of file diff --git a/static/css/411.ef27e3b8.chunk.css.map b/static/css/411.ef27e3b8.chunk.css.map new file mode 100644 index 0000000..f3917b6 --- /dev/null +++ b/static/css/411.ef27e3b8.chunk.css.map @@ -0,0 +1 @@ +{"version":3,"file":"static/css/411.ef27e3b8.chunk.css","mappings":"AAAA,2BAMI,kBAAmB,CALnB,qBAAuB,CAEvB,YAAa,CACb,qBAAsB,CACtB,SAAU,CAHV,WAAY,CAKZ,iBACJ,CACA,oBACI,cAAe,CACf,eACJ,CCZA,8BACI,YAAa,CACb,qBAAsB,CACtB,QACJ,CACA,oCAGI,qBAAsB,CACtB,mBAAqB,CACrB,gBAAiB,CAHjB,aAAe,CADf,UAKJ,CACA,mDACI,WACJ,CAEA,sBACI,eAAgB,CAGhB,QAAS,CAGT,kBAAmB,CAJnB,UAAW,CAEX,cAAe,CAHf,cAAe,CAIf,iBAEJ,CACA,4BACI,kBACJ,CAEA,6BACI,kBACJ,CACA,+BACI,UACJ,CACA,mCACI,SACJ,CClCA,yIAEI,oBACJ,CAEA,kEACI,SACJ,CAEA,uCAEI,SAAU,CADV,WAEJ","sources":["components/login/login.module.css","components/login/loginForm/loginForm.module.css","components/common/FormsControls/FormsControls.module.css"],"sourcesContent":[".loginWrapper{\r\n background-color: white;\r\n height: 70vh;\r\n display: flex;\r\n flex-direction: column;\r\n gap: 100px;\r\n align-items: center;\r\n text-align: center;\r\n}\r\n.title{\r\n font-size: 50px;\r\n font-weight: bold;\r\n}",".formControl{\r\n display: flex;\r\n flex-direction: column;\r\n gap: 30px;\r\n}\r\n.formControl input{\r\n width: 100%;\r\n padding: 0.5rem;\r\n border: 1px solid #ccc;\r\n border-radius: 0.2rem;\r\n font-size: 1.2rem;\r\n}\r\n.formControl input[type='checkbox']{\r\n height: 50px;\r\n}\r\n\r\n.btn{\r\n background: #06C;\r\n font-size: 19px;\r\n color: #FFF;\r\n border: 0;\r\n cursor: pointer;\r\n padding: 15px 10px;\r\n border-radius: 20px;\r\n}\r\n.btn:hover{\r\n background: #0080FF;\r\n}\r\n\r\n.btn:active{\r\n background: #0059B3;\r\n}\r\n.btn:disabled{\r\n opacity: 0.5;\r\n}\r\n.formSummaryError{\r\n color: red;\r\n}",".formControl{\r\n}\r\n\r\n.formControl.error input,\r\n.formControl.error textarea {\r\n border: 2px red solid;\r\n}\r\n\r\n.formControl.error span {\r\n color: red;\r\n}\r\n\r\n.formSummaryError{\r\n padding: 5px;\r\n color: red;\r\n}"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/static/css/633.ef1cc84f.chunk.css b/static/css/633.ef1cc84f.chunk.css new file mode 100644 index 0000000..1eab090 --- /dev/null +++ b/static/css/633.ef1cc84f.chunk.css @@ -0,0 +1,2 @@ +.ProfileInfo_profileInfoWrapper__Vhv8t{background-color:#fff;margin-bottom:30px;padding:30px}.ProfileInfo_descriptionBlock__mxMse{display:flex;justify-content:space-around}.ProfileInfo_avatarAndStatusBlock__lknAX{align-items:center;color:#000;display:flex;flex-direction:column;gap:10px}.ProfileInfo_mainPhoto__fZA9Y{border-radius:50%;cursor:pointer;height:200px;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out,-webkit-transform .2s ease-in-out;width:200px}.ProfileInfo_mainPhoto__fZA9Y:hover{-webkit-transform:scale(1.1);transform:scale(1.1)}.Description_descriptionWrapper__QlbNG,.Description_description__dnouL{display:flex;flex-direction:column}.Description_description__dnouL{color:#0e0d0d;font-size:20px;margin-top:10px}.MyPosts_posts__fuXeW{background-color:#fff;margin-top:30px;padding:30px}.Post_item__qWWoo{background:linear-gradient(180deg,#fff,#f2f2f2);border-radius:10px;box-shadow:0 2px 5px 0 rgba(0,0,0,.2),0 2px 10px 0 rgba(0,0,0,.2);color:#000;margin-bottom:20px;min-height:70px;padding:50px;position:relative}.Post_userPhoto__sDYdY{border-radius:50%;height:60px;left:5px;position:absolute;top:5px}.Post_loginAndDate__qRMel{display:flex;flex-direction:column;left:75px;position:absolute;top:8px}.Post_postMessage__5SPf6{margin-left:22px;margin-top:20px}.Post_message__r9x3b{font-size:18px;word-break:break-all}.Post_item__qWWoo .Post_activities__3Iso1{bottom:0;display:flex;padding-left:30px;position:absolute;right:5px}.Post_item__qWWoo .Post_likeImg__y6Gyg{cursor:pointer;-webkit-filter:grayscale(100%);filter:grayscale(100%);height:20px;margin-left:10px;transition:all .3s ease-in-out;width:20px}.Post_item__qWWoo .Post_likeImg__y6Gyg:hover{-webkit-filter:grayscale(0);filter:grayscale(0)}.SenderContent_addNewContentWrapper__kiIxe{align-items:center;background-color:#fff;display:flex;gap:20px;padding:20px}.SenderContent_addNewContentWrapper__kiIxe textarea{background:#eff0f1;border:0;border-radius:20px;box-shadow:0 1px 2px 0 rgba(29,33,38,.1),0 5px 20px 0 rgba(29,33,38,.03);color:#000;font-size:19px;height:100px;outline:none;padding:5px 20px;resize:none;width:100%}.SenderContent_addNewContentWrapper__kiIxe button{background:#06c;border:0;border-radius:20px;color:#fff;cursor:pointer;font-size:19px;margin-left:auto;padding:15px 0;width:13%}.SenderContent_addNewContentWrapper__kiIxe button:hover{background:#0080ff}.SenderContent_addNewContentWrapper__kiIxe button:active{background:#0059b3}.SenderContent_addNewContentWrapper__kiIxe button:disabled{background:#82add9} +/*# sourceMappingURL=633.ef1cc84f.chunk.css.map*/ \ No newline at end of file diff --git a/static/css/633.ef1cc84f.chunk.css.map b/static/css/633.ef1cc84f.chunk.css.map new file mode 100644 index 0000000..64b913c --- /dev/null +++ b/static/css/633.ef1cc84f.chunk.css.map @@ -0,0 +1 @@ +{"version":3,"file":"static/css/633.ef1cc84f.chunk.css","mappings":"AAAA,uCACI,qBAAuB,CACvB,kBAAmB,CACnB,YACJ,CACA,qCACI,YAAa,CACb,4BACJ,CACA,yCAGI,kBAAmB,CAEnB,UAAY,CAJZ,YAAa,CACb,qBAAsB,CAEtB,QAEJ,CACA,8BAGI,iBAAkB,CAElB,cAAe,CAHf,YAAa,CAEb,4CAAsC,CAAtC,oCAAsC,CAAtC,sEAAsC,CAHtC,WAKJ,CACA,oCACI,4BAAqB,CAArB,oBACJ,CCrBA,uEAHI,YAAa,CACb,qBAQJ,CANA,gCAGI,aAAc,CAFd,cAAe,CACf,eAIJ,CCPA,sBAEI,qBAAuB,CADvB,eAAgB,CAEhB,YACJ,CCPA,kBACI,+CAAqD,CACrD,kBAAmB,CACnB,iEAA2E,CAK3E,UAAY,CAHZ,kBAAmB,CAEnB,eAAgB,CAHhB,YAAa,CAEb,iBAGJ,CACA,uBAGI,iBAAkB,CADlB,WAAY,CAEZ,QAAS,CAHT,iBAAkB,CAIlB,OACJ,CACA,0BAEI,YAAa,CACb,qBAAsB,CAEtB,SAAU,CAJV,iBAAkB,CAGlB,OAEJ,CACA,yBAEI,gBAAiB,CADjB,eAEJ,CACA,qBACI,cAAe,CACf,oBACJ,CACA,0CAGI,QAAS,CAFT,YAAa,CAIb,iBAAkB,CAHlB,iBAAkB,CAElB,SAEJ,CACA,uCAII,cAAe,CACf,8BAAuB,CAAvB,sBAAuB,CAHvB,WAAY,CACZ,gBAAiB,CAGjB,8BAAgC,CALhC,UAMJ,CACA,6CACI,2BAAqB,CAArB,mBACJ,CCjDA,2CAEI,kBAAmB,CAGnB,qBAAuB,CAJvB,YAAa,CAEb,QAAS,CACT,YAEJ,CACA,oDAQI,kBAAmB,CAFnB,QAAS,CADT,kBAAmB,CAInB,wEAAmF,CAEnF,UAAY,CADZ,cAAe,CARf,YAAa,CACb,YAAa,CAIb,gBAAiB,CAHjB,WAAY,CAHZ,UAWJ,CACA,kDAGI,eAAgB,CAGhB,QAAS,CAGT,kBAAmB,CAJnB,UAAW,CAEX,cAAe,CAHf,cAAe,CAFf,gBAAiB,CAMjB,cAAe,CAPf,SASJ,CACA,wDACI,kBACJ,CAEA,yDACI,kBACJ,CACA,2DACI,kBACJ","sources":["components/Profile/ProfileInfo/ProfileInfo.module.css","components/Profile/ProfileInfo/ProfileDescription/Description.module.css","components/Profile/MyPosts/MyPosts.module.css","components/Profile/MyPosts/Post/Post.module.css","components/common/SenderContent/SenderContent.module.css"],"sourcesContent":[".profileInfoWrapper {\r\n background-color: white;\r\n margin-bottom: 30px;\r\n padding: 30px;\r\n}\r\n.descriptionBlock {\r\n display: flex;\r\n justify-content: space-around;\r\n}\r\n.avatarAndStatusBlock{\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n gap: 10px;\r\n color: black;\r\n}\r\n.mainPhoto {\r\n width: 200px;\r\n height: 200px;\r\n border-radius: 50%;\r\n transition: transform 0.2s ease-in-out;\r\n cursor: pointer;\r\n}\r\n.mainPhoto:hover {\r\n transform: scale(1.1);\r\n}\r\n\r\n\r\n\r\n",".descriptionWrapper{\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n.description {\r\n font-size: 20px;\r\n margin-top: 10px;\r\n color: #0e0d0d;\r\n display: flex;\r\n flex-direction: column;\r\n}",".postsBlock {\r\n}\r\n\r\n.posts {\r\n margin-top: 30px;\r\n background-color: white;\r\n padding: 30px;\r\n}",".item {\r\n background: linear-gradient(to bottom, #fff, #f2f2f2);\r\n border-radius: 10px;\r\n box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.2), 0 2px 10px 0 rgba(0, 0, 0, 0.2);\r\n padding: 50px;\r\n margin-bottom: 20px;\r\n position: relative;\r\n min-height: 70px;\r\n color: black;\r\n}\r\n.userPhoto {\r\n position: absolute;\r\n height: 60px;\r\n border-radius: 50%;\r\n left: 5px;\r\n top: 5px;\r\n}\r\n.loginAndDate{\r\n position: absolute;\r\n display: flex;\r\n flex-direction: column;\r\n top:8px;\r\n left: 75px;\r\n}\r\n.postMessage {\r\n margin-top: 20px;\r\n margin-left: 22px;\r\n}\r\n.message {\r\n font-size: 18px;\r\n word-break: break-all\r\n}\r\n.item .activities {\r\n display: flex;\r\n position: absolute;\r\n bottom: 0;\r\n right: 5px;\r\n padding-left: 30px;\r\n}\r\n.item .likeImg {\r\n width: 20px;\r\n height: 20px;\r\n margin-left: 10px;\r\n cursor: pointer;\r\n filter: grayscale(100%);\r\n transition: all 0.3s ease-in-out;\r\n}\r\n.item .likeImg:hover {\r\n filter: grayscale(0%);\r\n}\r\n\r\n",".addNewContentWrapper {\r\n display: flex;\r\n align-items: center;\r\n gap: 20px;\r\n padding: 20px;\r\n background-color: white;\r\n}\r\n.addNewContentWrapper textarea{\r\n width: 100%;\r\n height: 100px;\r\n outline: none;\r\n resize: none;\r\n border-radius: 20px;\r\n border: 0;\r\n padding: 5px 20px;\r\n background: #eff0f1;\r\n box-shadow: 0 1px 2px 0 rgba(29, 33, 38, 0.10), 0 5px 20px 0 rgba(29, 33, 38, 0.03);\r\n font-size: 19px;\r\n color: black;\r\n}\r\n.addNewContentWrapper button{\r\n width: 13%;\r\n margin-left: auto;\r\n background: #06C;\r\n font-size: 19px;\r\n color: #FFF;\r\n border: 0;\r\n cursor: pointer;\r\n padding: 15px 0;\r\n border-radius: 20px;\r\n}\r\n.addNewContentWrapper button:hover{\r\n background: #0080FF;\r\n}\r\n\r\n.addNewContentWrapper button:active{\r\n background: #0059B3;\r\n}\r\n.addNewContentWrapper button:disabled{\r\n background: #82add9;\r\n}\r\n\r\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/static/css/753.fd1ebe4d.chunk.css b/static/css/753.fd1ebe4d.chunk.css deleted file mode 100644 index a962cd0..0000000 --- a/static/css/753.fd1ebe4d.chunk.css +++ /dev/null @@ -1,2 +0,0 @@ -.FormsControls_formControl__4tOrb.FormsControls_error__Q4DIq input,.FormsControls_formControl__4tOrb.FormsControls_error__Q4DIq textarea{border:2px solid red}.FormsControls_formControl__4tOrb.FormsControls_error__Q4DIq span{color:red}.FormsControls_formSummaryError__u8JeD{border:1px solid red;color:red;padding:5px} -/*# sourceMappingURL=753.fd1ebe4d.chunk.css.map*/ \ No newline at end of file diff --git a/static/css/753.fd1ebe4d.chunk.css.map b/static/css/753.fd1ebe4d.chunk.css.map deleted file mode 100644 index 751a45f..0000000 --- a/static/css/753.fd1ebe4d.chunk.css.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/css/753.fd1ebe4d.chunk.css","mappings":"AAKA,yIAEI,oBACJ,CAEA,kEACI,SACJ,CAEA,uCACI,oBAAqB,CAErB,SAAU,CADV,WAEJ","sources":["components/common/FormsControls/FormsControls.module.css"],"sourcesContent":[".formControl{\r\n\r\n}\r\n\r\n\r\n.formControl.error input,\r\n.formControl.error textarea {\r\n border: 2px red solid;\r\n}\r\n\r\n.formControl.error span {\r\n color: red;\r\n}\r\n\r\n.formSummaryError{\r\n border: 1px red solid;\r\n padding: 5px;\r\n color: red;\r\n}"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/static/css/838.15fcad9c.chunk.css b/static/css/838.15fcad9c.chunk.css new file mode 100644 index 0000000..da227fc --- /dev/null +++ b/static/css/838.15fcad9c.chunk.css @@ -0,0 +1,2 @@ +.Dialogs_dialogs__6Cege{grid-gap:20px;display:grid;grid-template-columns:2fr 10fr}.Dialogs_dialogsItems__jftaY{background-color:#fff;display:flex;flex-direction:column;gap:50px;padding:20px}.Dialogs_messages__DGHNR{background-color:#fff;padding:10px}.Dialogs_choose__k9KDw{height:60vh;margin-top:200px;text-align:center}.DialogItem_item__GU6Y4{display:flex;flex-direction:column;gap:20px}.DialogItem_item__GU6Y4 a{border-radius:10px;color:#000;cursor:pointer;display:flex;font-size:14px;gap:10px;padding:5px;text-decoration:none}.DialogItem_item__GU6Y4 a.DialogItem_activeLink__2AqBr,.DialogItem_item__GU6Y4 a:hover{background-color:#7d93bd;color:#fff}.DialogItem_dialogAva__Poo7u{height:40px}.Messages_messagesWrapper__PNOle{padding:10px}.Messages_messages__7smz-{border-bottom:5px solid #f4f2f2;height:60vh;overflow-y:auto;padding-right:10px}.Messages_messages__7smz-::-webkit-scrollbar{width:10px}.Messages_messages__7smz-::-webkit-scrollbar-track{background-color:#f4f2f2}.Messages_messages__7smz-::-webkit-scrollbar-thumb{background-color:#ccc;border-radius:5px}.Messages_messages__7smz-::-webkit-scrollbar-thumb:hover{background-color:#aaa}.MyMessage_myMessage__9cb2W{display:flex;flex-direction:column;flex-wrap:wrap;max-width:50%}.MyMessage_myImageAndText__EgsFU{align-items:flex-end;display:flex}.MyMessage_myAvatar__UCNX6{border-radius:50%;height:50px;z-index:2}.MyMessage_myText__u9zT2{-moz-border-radius-bottomleft:0;background:#7d93bd;-webkit-border-radius:10px;-webkit-border-bottom-left-radius:0;-moz-border-radius:10px;border-radius:10px;border-bottom-left-radius:0;color:#fff;margin-left:15px;padding:10px 15px;position:relative;z-index:1}.MyMessage_myText__u9zT2:after,.MyMessage_myText__u9zT2:before{background:#fff;border:.5em solid #fff;border-radius:50%;bottom:0;content:"";height:1.8em;position:absolute;right:100%;width:1.8em}.MyMessage_myText__u9zT2:before{background:#7d93bd;border-color:currentcolor #7d93bd #7d93bd;border-radius:0 0 0 50%/0 0 100% 100%;border-top:#7d93bd;height:.9em;margin-right:-.9em}.MyMessage_myName__3zi6b{display:flex;font-size:18px;font-weight:700;margin-bottom:10px}.MyMessage_myMessageText__Dqves{display:flex;font-size:14px;white-space:pre-wrap;word-break:break-word}.MyMessage_myTime__mE1N1{display:flex;font-weight:700;padding:3px 0 30px 5px}.FriendMessage_friendMessage__mUu8w{display:flex;flex-direction:column;margin-left:auto;max-width:50%}.FriendMessage_friendImageAndText__kULEt{align-items:flex-end;display:flex;flex-direction:row-reverse}.FriendMessage_friendAvatar__vHYe4{border-radius:50%;height:50px;z-index:2}.FriendMessage_friendText__TdsyD{-moz-border-radius-bottomright:0;background:#7d93bd;-webkit-border-radius:10px;-webkit-border-bottom-right-radius:0;-moz-border-radius:10px;border-radius:10px;border-bottom-right-radius:0;color:#fff;margin-right:15px;padding:10px 15px;position:relative;z-index:1}.FriendMessage_friendText__TdsyD:after,.FriendMessage_friendText__TdsyD:before{background:#fff;border:.5em solid #fff;border-radius:50%;bottom:0;content:"";height:1.8em;left:100%;position:absolute;width:1.8em}.FriendMessage_friendText__TdsyD:before{background:#7d93bd;border-color:currentcolor #7d93bd #7d93bd;border-radius:0 0 50% 0/0 0 100% 100%;border-top:#7d93bd;height:.9em;margin-left:-.9em}.FriendMessage_friendName__pR8M2{display:flex;font-size:18px;font-weight:700;justify-content:right;margin-bottom:10px}.FriendMessage_friendMessageText__zVXMk{display:flex;font-size:14px;justify-content:right;white-space:pre-wrap;word-break:break-word}.FriendMessage_friendTime__oHtJI{display:flex;font-weight:700;justify-content:right;padding:3px 5px 30px 0}.SenderContent_addNewContentWrapper__kiIxe{align-items:center;background-color:#fff;display:flex;gap:20px;padding:20px}.SenderContent_addNewContentWrapper__kiIxe textarea{background:#eff0f1;border:0;border-radius:20px;box-shadow:0 1px 2px 0 rgba(29,33,38,.1),0 5px 20px 0 rgba(29,33,38,.03);color:#000;font-size:19px;height:100px;outline:none;padding:5px 20px;resize:none;width:100%}.SenderContent_addNewContentWrapper__kiIxe button{background:#06c;border:0;border-radius:20px;color:#fff;cursor:pointer;font-size:19px;margin-left:auto;padding:15px 0;width:13%}.SenderContent_addNewContentWrapper__kiIxe button:hover{background:#0080ff}.SenderContent_addNewContentWrapper__kiIxe button:active{background:#0059b3}.SenderContent_addNewContentWrapper__kiIxe button:disabled{background:#82add9} +/*# sourceMappingURL=838.15fcad9c.chunk.css.map*/ \ No newline at end of file diff --git a/static/css/838.15fcad9c.chunk.css.map b/static/css/838.15fcad9c.chunk.css.map new file mode 100644 index 0000000..2fb7204 --- /dev/null +++ b/static/css/838.15fcad9c.chunk.css.map @@ -0,0 +1 @@ +{"version":3,"file":"static/css/838.15fcad9c.chunk.css","mappings":"AAAA,wBAGI,aAAc,CAFd,YAAa,CACb,8BAEJ,CACA,6BAKI,qBAAuB,CAHvB,YAAa,CACb,qBAAsB,CACtB,QAAS,CAHT,YAKJ,CACA,yBAEI,qBAAuB,CADvB,YAEJ,CACA,uBACI,WAAY,CACZ,gBAAiB,CACjB,iBACJ,CCpBA,wBACI,YAAa,CACb,qBAAsB,CACtB,QACJ,CACA,0BAEI,kBAAmB,CAInB,UAAY,CAHZ,cAAe,CAIf,YAAa,CAFb,cAAe,CAGf,QAAS,CAPT,WAAY,CAGZ,oBAKJ,CAKA,uFAEI,wBAAyB,CADzB,UAEJ,CAEA,6BACI,WACJ,CC1BA,iCACI,YACJ,CAEA,0BAGI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T,UAAW,CAKX,YAAa,CAHb,SAAU,CADV,iBAAkB,CAGlB,WAKJ,CACA,wCAII,kBAAmB,CACnB,yCAAqB,CAFrB,qCAAwC,CAExC,kBAAqB,CAHrB,WAAa,CAIb,iBACJ,CACA,iCACI,YAAa,CAIb,cAAe,CAHf,eAAiB,CACjB,qBAAsB,CACtB,kBAEJ,CACA,wCACI,YAAa,CAEb,cAAe,CADf,qBAAsB,CAEtB,oBAAqB,CACrB,qBAEJ,CACA,iCACI,YAAa,CAGb,eAAiB,CAFjB,qBAAsB,CACtB,sBAEJ,CCvEA,2CAEI,kBAAmB,CAGnB,qBAAuB,CAJvB,YAAa,CAEb,QAAS,CACT,YAEJ,CACA,oDAQI,kBAAmB,CAFnB,QAAS,CADT,kBAAmB,CAInB,wEAAmF,CAEnF,UAAY,CADZ,cAAe,CARf,YAAa,CACb,YAAa,CAIb,gBAAiB,CAHjB,WAAY,CAHZ,UAWJ,CACA,kDAGI,eAAgB,CAGhB,QAAS,CAGT,kBAAmB,CAJnB,UAAW,CAEX,cAAe,CAHf,cAAe,CAFf,gBAAiB,CAMjB,cAAe,CAPf,SASJ,CACA,wDACI,kBACJ,CAEA,yDACI,kBACJ,CACA,2DACI,kBACJ","sources":["components/Dialogs/Dialogs.module.css","components/Dialogs/DialogItem/DialogItem.module.css","components/Dialogs/Messages/Messages.module.css","components/Dialogs/Messages/MyMessage/MyMessage.module.css","components/Dialogs/Messages/FriendMessage/FriendMessage.module.css","components/common/SenderContent/SenderContent.module.css"],"sourcesContent":[".dialogs {\r\n display: grid;\r\n grid-template-columns: 2fr 10fr;\r\n grid-gap: 20px;\r\n}\r\n.dialogsItems {\r\n padding: 20px;\r\n display: flex;\r\n flex-direction: column;\r\n gap: 50px;\r\n background-color: white;\r\n}\r\n.messages {\r\n padding: 10px;\r\n background-color: white;\r\n}\r\n.choose {\r\n height: 60vh;\r\n margin-top: 200px;\r\n text-align: center;\r\n}\r\n\r\n",".item {\r\n display: flex;\r\n flex-direction: column;\r\n gap: 20px;\r\n}\r\n.item a {\r\n padding: 5px;\r\n border-radius: 10px;\r\n cursor: pointer;\r\n text-decoration: none;\r\n font-size: 14px;\r\n color: black;\r\n display: flex;\r\n gap: 10px;\r\n}\r\n.item a:hover{\r\n color: white;\r\n background-color: #7d93bd;\r\n}\r\n.item a.activeLink{\r\n color: white;\r\n background-color: #7d93bd;\r\n}\r\n\r\n.dialogAva{\r\n height: 40px;\r\n}",".messagesWrapper{\r\n padding: 10px;\r\n}\r\n\r\n.messages {\r\n height: 60vh;\r\n overflow-y: auto;\r\n border-bottom: 5px solid #f4f2f2;\r\n padding-right: 10px;\r\n}\r\n/* Настройки скроллбара для браузеров на движке WebKit */\r\n.messages::-webkit-scrollbar {\r\n width: 10px;\r\n}\r\n\r\n.messages::-webkit-scrollbar-track {\r\n background-color: #f4f2f2;\r\n}\r\n\r\n.messages::-webkit-scrollbar-thumb {\r\n background-color: #ccc;\r\n border-radius: 5px;\r\n}\r\n\r\n.messages::-webkit-scrollbar-thumb:hover {\r\n background-color: #aaa;\r\n}",".myMessage {\r\n display: flex;\r\n max-width: 50%;\r\n flex-direction: column;\r\n flex-wrap: wrap;\r\n}\r\n.myImageAndText {\r\n display: flex;\r\n align-items: flex-end;\r\n}\r\n.myAvatar {\r\n height: 50px;\r\n z-index: 2;\r\n border-radius: 50%;\r\n}\r\n.myText {\r\n position: relative;\r\n z-index: 1;\r\n background: #7d93bd;\r\n color: #fff;\r\n -webkit-border-radius: 10px;\r\n -webkit-border-bottom-left-radius: 0;\r\n -moz-border-radius: 10px;\r\n -moz-border-radius-bottomleft: 0;\r\n border-radius: 10px;\r\n border-bottom-left-radius: 0;\r\n padding: 10px 15px;\r\n margin-left: 15px;\r\n\r\n}\r\n.myText::after,\r\n.myText::before {\r\n content: \"\";\r\n position: absolute;\r\n right: 100%;\r\n bottom: 0;\r\n width: 1.8em;\r\n height: 1.8em;\r\n border: 0.5em solid white;\r\n border-radius: 50%;\r\n background: white;\r\n}\r\n.myText::before {\r\n border-top: none;\r\n height: 0.9em;\r\n border-radius: 0 0 0 50% / 0 0 100% 100%;\r\n background: #7d93bd;\r\n border-color: #7d93bd;\r\n margin-right: -0.9em;\r\n}\r\n.myName {\r\n display: flex;\r\n font-weight: bold;\r\n margin-bottom: 10px;\r\n font-size: 18px;\r\n}\r\n.myMessageText {\r\n display: flex;\r\n font-size: 14px;\r\n white-space: pre-wrap;\r\n word-break: break-word;\r\n}\r\n.myTime {\r\n display: flex;\r\n padding: 3px 0 30px 5px;\r\n font-weight: bold;\r\n}\r\n\r\n\r\n",".friendMessage {\r\n display: flex;\r\n max-width: 50%;\r\n margin-left: auto;\r\n flex-direction: column;\r\n}\r\n.friendImageAndText {\r\n display: flex;\r\n align-items: flex-end;\r\n flex-direction: row-reverse;\r\n}\r\n.friendAvatar {\r\n height: 50px;\r\n z-index: 2;\r\n border-radius: 50%;\r\n}\r\n.friendText {\r\n position: relative;\r\n z-index: 1;\r\n background: #7d93bd;\r\n color: #fff;\r\n -webkit-border-radius: 10px;\r\n -webkit-border-bottom-right-radius: 0;\r\n -moz-border-radius: 10px;\r\n -moz-border-radius-bottomright: 0;\r\n border-radius: 10px;\r\n border-bottom-right-radius: 0;\r\n padding: 10px 15px;\r\n margin-right: 15px;\r\n\r\n}\r\n.friendText::after,\r\n.friendText::before {\r\n content: \"\";\r\n position: absolute;\r\n left: 100%;\r\n bottom: 0;\r\n width: 1.8em;\r\n height: 1.8em;\r\n border: 0.5em solid white;\r\n border-radius: 50%;\r\n background: white;\r\n}\r\n.friendText::before {\r\n border-top: none;\r\n height: 0.9em;\r\n border-radius: 0 0 50% 0 / 0 0 100% 100%;\r\n background: #7d93bd;\r\n border-color: #7d93bd;\r\n margin-left: -0.9em;\r\n}\r\n.friendName {\r\n display: flex;\r\n font-weight: bold;\r\n justify-content: right;\r\n margin-bottom: 10px;\r\n font-size: 18px;\r\n}\r\n.friendMessageText {\r\n display: flex;\r\n justify-content: right;\r\n font-size: 14px;\r\n white-space: pre-wrap;\r\n word-break: break-word;\r\n\r\n}\r\n.friendTime {\r\n display: flex;\r\n justify-content: right;\r\n padding: 3px 5px 30px 0;\r\n font-weight: bold;\r\n}\r\n\r\n",".addNewContentWrapper {\r\n display: flex;\r\n align-items: center;\r\n gap: 20px;\r\n padding: 20px;\r\n background-color: white;\r\n}\r\n.addNewContentWrapper textarea{\r\n width: 100%;\r\n height: 100px;\r\n outline: none;\r\n resize: none;\r\n border-radius: 20px;\r\n border: 0;\r\n padding: 5px 20px;\r\n background: #eff0f1;\r\n box-shadow: 0 1px 2px 0 rgba(29, 33, 38, 0.10), 0 5px 20px 0 rgba(29, 33, 38, 0.03);\r\n font-size: 19px;\r\n color: black;\r\n}\r\n.addNewContentWrapper button{\r\n width: 13%;\r\n margin-left: auto;\r\n background: #06C;\r\n font-size: 19px;\r\n color: #FFF;\r\n border: 0;\r\n cursor: pointer;\r\n padding: 15px 0;\r\n border-radius: 20px;\r\n}\r\n.addNewContentWrapper button:hover{\r\n background: #0080FF;\r\n}\r\n\r\n.addNewContentWrapper button:active{\r\n background: #0059B3;\r\n}\r\n.addNewContentWrapper button:disabled{\r\n background: #82add9;\r\n}\r\n\r\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/static/css/843.0cd5fdf7.chunk.css b/static/css/843.0cd5fdf7.chunk.css deleted file mode 100644 index 826416a..0000000 --- a/static/css/843.0cd5fdf7.chunk.css +++ /dev/null @@ -1,2 +0,0 @@ -.users_usersWrapper__rqt2O{background-color:#fff;padding:20px}.pagination_paginator__2iisT{margin:10px}.pagination_pageNumber__ILuj5{border:1px solid grey;padding:2px}.pagination_pageNumber__ILuj5.pagination_selectedPage__1hjIk{border-color:#000;font-weight:700}.user_usersPhoto__T2WEb{border-radius:50px;height:100px;width:100px} -/*# sourceMappingURL=843.0cd5fdf7.chunk.css.map*/ \ No newline at end of file diff --git a/static/css/843.0cd5fdf7.chunk.css.map b/static/css/843.0cd5fdf7.chunk.css.map deleted file mode 100644 index 0f22a10..0000000 --- a/static/css/843.0cd5fdf7.chunk.css.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/css/843.0cd5fdf7.chunk.css","mappings":"AAAA,2BAEI,qBAAuB,CADvB,YAEJ,CCHA,6BACI,WACJ,CACA,8BAEI,qBAAsB,CADtB,WAEJ,CAEA,6DAEI,iBAAmB,CADnB,eAEJ,CCXA,wBAGI,kBAAmB,CADnB,YAAa,CADb,WAGJ","sources":["components/Users/users.module.css","components/common/Pagination/pagination.module.css","components/Users/User/user.module.css"],"sourcesContent":[".usersWrapper{\r\n padding: 20px;\r\n background-color: white;\r\n}\r\n",".paginator {\r\n margin: 10px;\r\n}\r\n.pageNumber {\r\n padding: 2px;\r\n border: 1px solid grey;\r\n}\r\n\r\n.pageNumber.selectedPage {\r\n font-weight: bold;\r\n border-color: black;\r\n}",".usersPhoto{\r\n width: 100px;\r\n height: 100px;\r\n border-radius: 50px;\r\n}\r\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/static/css/851.61858800.chunk.css b/static/css/851.61858800.chunk.css deleted file mode 100644 index 4b43c6a..0000000 --- a/static/css/851.61858800.chunk.css +++ /dev/null @@ -1,2 +0,0 @@ -.Dialogs_dialogs__6Cege{background-color:#fff;display:grid;grid-template-columns:2fr 10fr}.Dialogs_dialogsItems__jftaY{padding:10px}.Dialogs_dialogsItems__jftaY .Dialogs_active__\+FIrF{color:gold}.Dialogs_messages__DGHNR{padding:10px}.Dialogs_messages__DGHNR .Dialogs_message__Ivjc6{color:#000}.FormsControls_formControl__4tOrb.FormsControls_error__Q4DIq input,.FormsControls_formControl__4tOrb.FormsControls_error__Q4DIq textarea{border:2px solid red}.FormsControls_formControl__4tOrb.FormsControls_error__Q4DIq span{color:red}.FormsControls_formSummaryError__u8JeD{border:1px solid red;color:red;padding:5px} -/*# sourceMappingURL=851.61858800.chunk.css.map*/ \ No newline at end of file diff --git a/static/css/851.61858800.chunk.css.map b/static/css/851.61858800.chunk.css.map deleted file mode 100644 index ebc413e..0000000 --- a/static/css/851.61858800.chunk.css.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/css/851.61858800.chunk.css","mappings":"AAAA,wBAGI,qBAAuB,CAFvB,YAAa,CACb,8BAEJ,CAEA,6BACI,YACJ,CAEA,qDACI,UACJ,CAEA,yBACI,YACJ,CAEA,iDACI,UACJ,CCfA,yIAEI,oBACJ,CAEA,kEACI,SACJ,CAEA,uCACI,oBAAqB,CAErB,SAAU,CADV,WAEJ","sources":["components/Dialogs/Dialogs.module.css","components/common/FormsControls/FormsControls.module.css"],"sourcesContent":[".dialogs {\r\n display: grid;\r\n grid-template-columns: 2fr 10fr;\r\n background-color: white;\r\n}\r\n\r\n.dialogsItems {\r\n padding: 10px;\r\n}\r\n\r\n.dialogsItems .active {\r\n color: gold;\r\n}\r\n\r\n.messages {\r\n padding: 10px;\r\n}\r\n\r\n.messages .message {\r\n color: black;\r\n}",".formControl{\r\n\r\n}\r\n\r\n\r\n.formControl.error input,\r\n.formControl.error textarea {\r\n border: 2px red solid;\r\n}\r\n\r\n.formControl.error span {\r\n color: red;\r\n}\r\n\r\n.formSummaryError{\r\n border: 1px red solid;\r\n padding: 5px;\r\n color: red;\r\n}"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/static/css/main.5b2c3a1d.css b/static/css/main.5b2c3a1d.css new file mode 100644 index 0000000..0c7137e --- /dev/null +++ b/static/css/main.5b2c3a1d.css @@ -0,0 +1,2 @@ +body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f1f1f1;box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.app-wrapper{grid-gap:20px;display:grid;grid-template-areas:"h h h" "n c s";grid-template-columns:2fr 10fr;grid-template-rows:70px 1fr;margin:0 auto;width:80vw}.app-wrapper-content{grid-area:c}.Navbar_nav__2irHt{background-color:#fff;display:flex;flex-direction:column;gap:20px;grid-area:n;padding:20px;width:160px}.Navbar_nav__2irHt a{border-radius:10px;color:#000;cursor:pointer;font-size:20px;padding:5px;text-decoration:none;transition:color .3s ease-in-out,background-color .3s ease-in-out}.Navbar_nav__2irHt a:hover{background-color:#7d93bd;color:#fff}.Navbar_lastLink__yWuSG{margin-top:40px}.Navbar_nav__2irHt a.Navbar_activeLink__Iu4mx{background-color:#7d93bd;color:#fff}.Navbar_icon__-noNZ{height:20px;margin-right:5px}.Header_header__VCMqF{align-items:center;background-color:#7d93bd;display:flex;grid-area:h;justify-content:space-between;padding:0 20px}.Header_header__VCMqF img{border-radius:36px;margin-left:5px;width:58px}.Header_imgLog__JywCw{cursor:pointer;height:40px}[data-theme="1"]{--color:#000;--background:#f4f2f2}[data-theme="2"]{--color:#000;--background:#def}[data-theme="3"]{--color:#fff;--background:#212a34}.Settings_select__E5s7h,body{background-color:var(--background);color:var(--color)}.Settings_select__E5s7h{font-size:14px;font-weight:400;height:36px;padding:2px 120px 2px 10px}.Settings_pStyle__h4Sk-{font-size:14px;font-weight:400;margin-bottom:6px}.SuperSelect_select__9LL03{border:1px solid #c2c2c2;border-radius:10px;cursor:pointer;font-size:14px;font-weight:400;line-height:17px;padding:2px 10px 5px}.SuperSelect_select__9LL03:focus{border-color:#6f9efa;box-shadow:0 0 3px #6f9efa;outline:none}.Preloader_preloader__gvtym{-webkit-animation:Preloader_loading-rotate__pPiVC 1s linear infinite;animation:Preloader_loading-rotate__pPiVC 1s linear infinite;border:4px solid rgba(0,0,0,.1);border-left-color:#7983ff;border-radius:50%;height:100px;margin:100px 250px;position:absolute;width:100px}.Sidebar_sidebarWrapper__Tfnx1{background-color:#fff;grid-area:s;padding:10px;width:240px}.Sidebar_title__HhsQE{background-color:#7d93bd;border-radius:10px;color:#fff;font-size:20px;margin-bottom:30px;padding:5px 0;text-align:center}.Sidebar_search__O54kT{border:2px solid #f4f2f2;font-family:inherit;font-size:inherit;font-weight:400;height:30px;margin-bottom:20px;width:100%}.Sidebar_contactElement__34xid{height:400px;overflow:auto}.Sidebar_contactElement__34xid::-webkit-scrollbar{width:10px}.Sidebar_contactElement__34xid::-webkit-scrollbar-track{background-color:#f4f2f2}.Sidebar_contactElement__34xid::-webkit-scrollbar-thumb{background-color:#ccc;border-radius:5px}.Sidebar_contactElement__34xid::-webkit-scrollbar-thumb:hover{background-color:#aaa}.Friend_contact__jmh66{color:#000;display:flex;justify-content:start;margin-bottom:20px}.Friend_contactInfo__M8ewJ{display:flex;flex-direction:column;justify-content:space-around;margin-left:10px}.Friend_name__VCwke{font-size:13px;font-weight:500}.Friend_name__VCwke a{color:inherit;text-decoration:none}.Friend_email__AB0-i{font-size:11px;font-style:italic;font-weight:400}.Friend_avatar__MpMvi img{border-radius:20px;height:45px;width:45px} +/*# sourceMappingURL=main.5b2c3a1d.css.map*/ \ No newline at end of file diff --git a/static/css/main.5b2c3a1d.css.map b/static/css/main.5b2c3a1d.css.map new file mode 100644 index 0000000..de560c3 --- /dev/null +++ b/static/css/main.5b2c3a1d.css.map @@ -0,0 +1 @@ +{"version":3,"file":"static/css/main.5b2c3a1d.css","mappings":"AAAA,KAKE,kCAAmC,CACnC,iCAAkC,CAClC,wBAAyB,CACzB,qBAAsB,CANtB,mIAEY,CAHZ,QAQF,CAEA,KACE,uEAEF,CCdA,aASI,aAAc,CARd,YAAa,CAKb,mCAEe,CAHf,8BAA+B,CAD/B,2BAA4B,CAD5B,aAAc,CADd,UAQJ,CACA,qBACI,WACJ,CCbA,mBAEI,qBAAyB,CAEzB,YAAa,CACb,qBAAsB,CACtB,QAAS,CALT,WAAY,CAEZ,YAAa,CAIb,WACJ,CACA,qBAEI,kBAAmB,CAInB,UAAY,CAHZ,cAAe,CAEf,cAAe,CAJf,WAAY,CAGZ,oBAAqB,CAGrB,iEACJ,CAEA,2BAEI,wBAAyB,CADzB,UAEJ,CAEA,wBACI,eACJ,CA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,qBAAsB,CACtB,4BAA6B,CAC7B,gBACJ,CAEA,oBACI,cAAe,CACf,eACJ,CAEA,sBAEI,aAAc,CADd,oBAEJ,CAEA,qBACI,cAAe,CAEf,iBAAkB,CADlB,eAEJ,CAEA,0BACI,kBAAmB,CAEnB,WAAY,CADZ,UAEJ","sources":["index.css","App.css","components/Navbar/Navbar.module.css","components/Header/Header.module.css","components/Settings/Settings.module.css","components/common/SuperSelect/SuperSelect.module.css","components/common/PreLoader/Preloader.module.css","components/SideBar/Sidebar.module.css","components/SideBar/Friend/Friend.module.css"],"sourcesContent":["body {\n margin: 0;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',\n 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',\n sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n background-color: #f1f1f1;\n box-sizing: border-box;\n}\n\ncode {\n font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',\n monospace;\n}\n",".app-wrapper {\n display: grid;\n width: 80vw;\n margin: 0 auto;\n grid-template-rows: 70px 1fr;\n grid-template-columns: 2fr 10fr;\n grid-template-areas:\n \"h h h\"\n \"n c s\";\n grid-gap: 20px;\n}\n.app-wrapper-content {\n grid-area: c;\n}\n\n\n\n\n",".nav {\r\n grid-area: n;\r\n background-color: #ffffff;\r\n padding: 20px;\r\n display: flex;\r\n flex-direction: column;\r\n gap: 20px;\r\n width: 160px;\r\n}\r\n.nav a {\r\n padding: 5px;\r\n border-radius: 10px;\r\n cursor: pointer;\r\n text-decoration: none;\r\n font-size: 20px;\r\n color: black;\r\n transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;\r\n}\r\n\r\n.nav a:hover{\r\n color: white;\r\n background-color: #7d93bd;\r\n}\r\n\r\n.lastLink{\r\n margin-top: 40px;\r\n}\r\n\r\n.nav a.activeLink{\r\n color: white;\r\n background-color: #7d93bd;\r\n}\r\n.icon{\r\n height: 20px;\r\n margin-right: 5px;\r\n}",".header {\r\n display: flex; /* Делаем блок .header flex-контейнером */\r\n align-items: center;\r\n grid-area: h;\r\n background-color: #7d93bd;\r\n justify-content: space-between;\r\n padding: 0 20px 0 20px;\r\n}\r\n.header img {\r\n width: 58px;\r\n border-radius: 36px;\r\n margin-left: 5px;\r\n}\r\n.imgLog{\r\n height: 40px;\r\n cursor: pointer;\r\n}\r\n","[data-theme='1'] {\r\n --color: #000000;\r\n --background: #f4f2f2;\r\n}\r\n\r\n[data-theme='2'] {\r\n --color: #000000;\r\n --background: #DDEEFF;\r\n}\r\n\r\n[data-theme='3'] {\r\n --color: #FFFFFF;\r\n --background: #212A34;\r\n}\r\n\r\n\r\nbody {\r\n background-color: var(--background);\r\n color: var(--color);\r\n}\r\n\r\n.select {\r\n padding: 2px 120px 2px 10px;\r\n height: 36px;\r\n font-weight: 400;\r\n font-size: 14px;\r\n background-color: var(--background);\r\n color: var(--color);\r\n}\r\n.pStyle {\r\n font-weight: 400;\r\n font-size: 14px;\r\n margin-bottom: 6px;\r\n}",".select {\r\n padding: 2px 10px 5px 10px;\r\n font-weight: 400;\r\n font-size: 14px;\r\n line-height: 17px;\r\n border: 1px solid #C2C2C2;\r\n cursor: pointer;\r\n border-radius: 10px;\r\n}\r\n\r\n.select:focus {\r\n outline: none;\r\n border-color: #6f9efa;\r\n box-shadow: 0 0 3px #6f9efa;\r\n}\r\n\r\n.option:hover {\r\n}\r\n",".preloader{\r\n border: 4px solid rgba(0, 0, 0, 0.1);\r\n border-left-color: #7983ff;\r\n border-radius: 50%;\r\n width: 100px;\r\n height: 100px;\r\n animation: loading-rotate 1s linear infinite;\r\n position: absolute;\r\n margin: 100px 250px;\r\n}",".sidebarWrapper{\r\n grid-area: s;\r\n width: 240px;\r\n background-color: white;\r\n padding: 10px;\r\n}\r\n\r\n.title {\r\n margin-bottom: 30px;\r\n color: white;\r\n padding: 5px 0;\r\n text-align: center;\r\n font-size: 20px;\r\n background-color: #7d93bd;\r\n border-radius: 10px;\r\n}\r\n\r\n.search {\r\n font-family: inherit;\r\n font-size: inherit;\r\n font-weight: 400;\r\n margin-bottom: 20px;\r\n height: 30px;\r\n width: 100%;\r\n border: 2px solid #F4F2F2;\r\n}\r\n\r\n.contactElement {\r\n height: 400px;\r\n overflow: auto;\r\n}\r\n\r\n/* Настройки скроллбара для браузеров на движке WebKit */\r\n.contactElement::-webkit-scrollbar {\r\n width: 10px;\r\n}\r\n.contactElement::-webkit-scrollbar-track {\r\n background-color: #f4f2f2;\r\n}\r\n.contactElement::-webkit-scrollbar-thumb {\r\n background-color: #ccc;\r\n border-radius: 5px;\r\n}\r\n.contactElement::-webkit-scrollbar-thumb:hover {\r\n background-color: #aaa;\r\n}\r\n",".contact {\r\n display: flex;\r\n justify-content: start;\r\n margin-bottom: 20px;\r\n color: black;\r\n}\r\n\r\n.contactInfo {\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: space-around;\r\n margin-left: 10px;\r\n}\r\n\r\n.name {\r\n font-size: 13px;\r\n font-weight: 500;\r\n}\r\n\r\n.name a {\r\n text-decoration: none;\r\n color: inherit;\r\n}\r\n\r\n.email {\r\n font-size: 11px;\r\n font-weight: 400;\r\n font-style: italic;\r\n}\r\n\r\n.avatar img {\r\n border-radius: 20px;\r\n width: 45px;\r\n height: 45px;\r\n}"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/static/css/main.d7aebd6a.css b/static/css/main.d7aebd6a.css deleted file mode 100644 index 10ef5e9..0000000 --- a/static/css/main.d7aebd6a.css +++ /dev/null @@ -1,2 +0,0 @@ -body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f4f2f2;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.app-wrapper{grid-gap:20px;display:grid;grid-template-areas:"h h" "n c";grid-template-columns:2fr 10fr;grid-template-rows:70px 1fr;margin:0 auto;width:1200px}.app-wrapper-content{grid-area:c}.Navbar_nav__2irHt{background-color:#4c4f4d;grid-area:n;padding:20px}.Navbar_item__61GYZ a{color:#fff;font-size:20px;text-decoration:none}.Navbar_item__61GYZ a.Navbar_activeLink__Iu4mx{color:gold}.Music_image__8du2p,.News_image__R7XUp,.Settings_image__MjJ\+e{height:600px;width:1000px}.Header_header__VCMqF{align-items:center;background-color:#7d93bd;display:flex;grid-area:h;justify-content:space-between;padding:0 20px}.Header_header__VCMqF img{border-radius:36px;margin-left:5px;width:58px}.Header_loginBlock__OoTUt{float:right}.Header_loginBlock__OoTUt a{color:#fff;font-size:24px;text-decoration:none} -/*# sourceMappingURL=main.d7aebd6a.css.map*/ \ No newline at end of file diff --git a/static/css/main.d7aebd6a.css.map b/static/css/main.d7aebd6a.css.map deleted file mode 100644 index f6f85b5..0000000 --- a/static/css/main.d7aebd6a.css.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/css/main.d7aebd6a.css","mappings":"AAAA,KAKE,kCAAmC,CACnC,iCAAkC,CAClC,wBAAyB,CALzB,mIAEY,CAHZ,QAOF,CAEA,KACE,uEAEF,CCbA,aASI,aAAc,CARd,YAAa,CAKb,+BAEa,CAHb,8BAA+B,CAD/B,2BAA4B,CAD5B,aAAc,CADd,YAQJ,CACA,qBACI,WACJ,CCbA,mBAEI,wBAAyB,CADzB,WAAY,CAEZ,YACJ,CACA,sBACI,UAAY,CAEZ,cAAe,CADf,oBAEJ,CACA,+CACI,UACJ,CCZA,+DAEI,YAAa,CADb,YAEJ,CCHA,sBAEI,kBAAmB,CAEnB,wBAAyB,CAHzB,YAAa,CAEb,WAAY,CAEZ,6BAA8B,CAC9B,cACJ,CACA,0BAEI,kBAAmB,CACnB,eAAgB,CAFhB,UAGJ,CAEA,0BACI,WAEJ,CACA,4BACI,UAAY,CACZ,cAAe,CACf,oBACJ","sources":["index.css","App.css","components/Navbar/Navbar.module.css","components/Settings/Settings.module.css","components/Header/Header.module.css"],"sourcesContent":["body {\n margin: 0;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',\n 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',\n sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n background-color: #f4f2f2;\n}\n\ncode {\n font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',\n monospace;\n}\n",".app-wrapper {\n display: grid;\n width: 1200px;\n margin: 0 auto;\n grid-template-rows: 70px 1fr;\n grid-template-columns: 2fr 10fr;\n grid-template-areas:\n \"h h\"\n \"n c\";\n grid-gap: 20px;\n}\n.app-wrapper-content {\n grid-area: c;\n}\n\n\n\n\n",".nav {\r\n grid-area: n;\r\n background-color: #4c4f4d;\r\n padding: 20px;\r\n}\r\n.item a {\r\n color: white;\r\n text-decoration: none;\r\n font-size: 20px;\r\n}\r\n.item a.activeLink {\r\n color: gold;\r\n}",".image{\r\n width: 1000px;\r\n height: 600px;\r\n}",".header {\r\n display: flex; /* Делаем блок .header flex-контейнером */\r\n align-items: center;\r\n grid-area: h;\r\n background-color: #7d93bd;\r\n justify-content: space-between;\r\n padding: 0 20px 0 20px;\r\n}\r\n.header img {\r\n width: 58px;\r\n border-radius: 36px;\r\n margin-left: 5px;\r\n}\r\n\r\n.loginBlock{\r\n float: right;\r\n\r\n}\r\n.loginBlock a {\r\n color: white;\r\n font-size: 24px;\r\n text-decoration: none;\r\n}"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/static/js/17.a0466584.chunk.js b/static/js/17.a0466584.chunk.js deleted file mode 100644 index a0ef72c..0000000 --- a/static/js/17.a0466584.chunk.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self.webpackChunksamurai_way=self.webpackChunksamurai_way||[]).push([[17],{9017:function(t,s,r){r.r(s),r.d(s,{default:function(){return Q}});var n=r(5671),e=r(3144),o=r(136),a=r(5716),i=r(2791),u="ProfileInfo_profileInfoWrapper__Vhv8t",c="ProfileInfo_descriptionBlock__mxMse",l="ProfileInfo_avatarAndStatusBlock__lknAX",d=r(6678),f="Description_descriptionWrapper__QlbNG",p="Description_description__dnouL",h=r(184),m=function(t){return(0,h.jsx)("div",{className:f,children:(0,h.jsxs)("div",{className:p,children:[(0,h.jsxs)("span",{children:[(0,h.jsx)("strong",{children:"Name: "}),t.profile.fullName]}),(0,h.jsxs)("span",{children:[(0,h.jsx)("strong",{children:"About me: "}),t.profile.aboutMe?t.profile.aboutMe:"\u043d\u0435\u0442\u0443 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438"]}),(0,h.jsxs)("span",{children:[(0,h.jsx)("strong",{children:"Job: "}),t.profile.lookingForAJob?t.profile.lookingForAJob:"\u0431\u0435\u0437 \u0440\u0430\u0431\u043e\u0442\u044b"]}),(0,h.jsxs)("span",{children:[(0,h.jsx)("strong",{children:"VK: "}),t.profile.contacts.vk?t.profile.contacts.vk:"vk.com"]}),(0,h.jsxs)("span",{children:[(0,h.jsx)("strong",{children:"Github: "}),t.profile.contacts.github?t.profile.contacts.github:"github.com"]}),(0,h.jsxs)("span",{children:[(0,h.jsx)("strong",{children:"Instagram: "}),t.profile.contacts.instagram?t.profile.contacts.instagram:"instagram.com"]}),(0,h.jsxs)("span",{children:[(0,h.jsx)("strong",{children:"Twitter: "}),t.profile.contacts.twitter?t.profile.contacts.twitter:"twitter.com"]}),(0,h.jsxs)("span",{children:[(0,h.jsx)("strong",{children:"Facebook: "}),t.profile.contacts.facebook?t.profile.contacts.facebook:"facebook.com"]}),(0,h.jsxs)("span",{children:[(0,h.jsx)("strong",{children:"Youtube: "}),t.profile.contacts.youtube?t.profile.contacts.youtube:"youtube.com"]})]})})},x="ProfileAvatar_imgAvatar__oXo49",v=function(t){return(0,h.jsx)("div",{children:t.avatar?(0,h.jsx)("img",{src:t.avatar,alt:"avatar",className:x}):(0,h.jsx)("img",{src:"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQh0tWNyZDN7-7a-G9uggn83aL_U-kbfne1sA&usqp=CAU",alt:"avatar",className:x})})},g=r(885),A=function(t){var s=(0,i.useState)(!1),r=(0,g.Z)(s,2),n=r[0],e=r[1],o=(0,i.useState)(t.status),a=(0,g.Z)(o,2),u=a[0],c=a[1];(0,i.useEffect)((function(){c(t.status)}),[t.status]);return n?(0,h.jsx)("input",{autoFocus:!0,onBlur:function(){t.updateStatus(u),e(!1)},value:u,onChange:function(t){c(t.currentTarget.value)}}):(0,h.jsx)("span",{onDoubleClick:function(){e(!0)},children:t.status||"no status"})},j=function(t){var s=t.profile,r=t.status,n=t.updateStatus;return s?(0,h.jsx)("div",{className:u,children:(0,h.jsxs)("div",{className:c,children:[(0,h.jsxs)("div",{className:l,children:[(0,h.jsx)(v,{avatar:s.photos.large}),(0,h.jsx)(A,{status:r,updateStatus:n})]}),(0,h.jsx)(m,{profile:s})]})}):(0,h.jsx)(d.p,{})},b=r(5344),k="MyPosts_postsBlock__qnyuF",M="MyPosts_addPostWrapper__PELVK",y="MyPosts_textarea__p4cM5",D="MyPosts_addPost__jfYwQ",N="MyPosts_posts__fuXeW",C="Post_item__qWWoo",P="Post_postMessage__5SPf6",Y="Post_message__r9x3b",W="Post_likes__-JOPo",V="Post_likeImg__y6Gyg",w=r(5565),L=r(3567);var S=r.p+"static/media/basket.2709b34781ea538989014b05505f5103.svg",Z=function(t){return(0,h.jsxs)("div",{className:C,children:[(0,h.jsxs)("div",{className:P,children:[t.photo?(0,h.jsx)("img",{src:t.photo,alt:"avatar"}):(0,h.jsx)("img",{src:w,alt:"avatar"}),(0,h.jsx)("span",{className:Y,children:t.message})]}),(0,h.jsxs)("div",{className:W,children:[(0,h.jsx)("img",{src:S,alt:"basket",className:V,onClick:function(){t.deletePost(t.id)}}),(0,h.jsx)("img",{src:L,alt:"like",className:V}),(0,h.jsx)("span",{children:t.likesCount})]})]})},q=r(6139),I=r(704),K=r(3079),G=r(1117),U=(0,K.D)(10),O=i.memo((function(t){var s=t.posts.map((function(s){return(0,h.jsx)(Z,{message:s.message,likesCount:s.likesCount,deletePost:t.deletePost,id:s.id,photo:t.photo},s.id)}));return(0,h.jsxs)("div",{className:k,children:[(0,h.jsx)(F,{onSubmit:function(s){t.addPost(s.newPostText)}}),(0,h.jsx)("div",{className:N,children:s})]})})),F=(0,I.Z)({form:"AddPostForm"})((function(t){return(0,h.jsxs)("form",{onSubmit:t.handleSubmit,className:M,children:[(0,h.jsx)(q.Z,{className:y,component:G.gx,name:"newPostText",placeholder:"Enter your post",validate:[K.C,U]}),(0,h.jsx)("button",{className:D,children:"Add"})]})})),B=r(364),T=(0,B.$j)((function(t){return{posts:t.profilePage.posts,photo:t.profilePage.profile.photos.large}}),(function(t){return{addPost:function(s){t((0,b.Wl)(s))},deletePost:function(s){t((0,b.TU)(s))}}}))(O),z="Profile_profileWrapper__E3h9f",R=function(t){return(0,h.jsxs)("div",{className:z,children:[(0,h.jsx)(j,{profile:t.profile,status:t.status,updateStatus:t.updateStatus}),(0,h.jsx)(T,{})]})},E=r(9271),J=r(7781),X=function(t){(0,o.Z)(r,t);var s=(0,a.Z)(r);function r(){return(0,n.Z)(this,r),s.apply(this,arguments)}return(0,e.Z)(r,[{key:"componentDidMount",value:function(){var t=this.props.match.params.userId;t||(null!==this.props.authorizedUserId?t=String(this.props.authorizedUserId):this.props.history.push("/login")),this.props.getUserProfile(t),this.props.getStatus(t)}},{key:"render",value:function(){return(0,h.jsx)("div",{children:(0,h.jsx)(R,{profile:this.props.profile,status:this.props.status,updateStatus:this.props.updateStatus})})}}]),r}(i.Component),Q=(0,J.qC)((0,B.$j)((function(t){return{profile:t.profilePage.profile,status:t.profilePage.status,authorizedUserId:t.auth.userId,isAuth:t.auth.isAuth}}),{getUserProfile:b.om,getStatus:b.xD,updateStatus:b.NN}),E.EN)(X)},1117:function(t,s,r){r.d(s,{II:function(){return d},gx:function(){return f},Gr:function(){return p}});var n=r(5987),e=r(1413),o=(r(2791),r(9234)),a=r(6139),i=r(184),u=["input","meta"],c=["input","meta"],l=function(t){t.input;var s=t.meta,r=s.touched,n=s.error,a=t.children,u=r&&n;return(0,i.jsxs)("div",(0,e.Z)((0,e.Z)({className:o.Z.formControl+" "+(u?o.Z.error:"")},t),{},{children:[(0,i.jsx)("div",{children:a}),u&&(0,i.jsx)("span",{children:n})]}))},d=function(t){var s=t.input,r=(t.meta,(0,n.Z)(t,u));return(0,i.jsx)(l,(0,e.Z)((0,e.Z)({},t),{},{children:(0,i.jsx)("input",(0,e.Z)((0,e.Z)({},s),r))}))},f=function(t){var s=t.input,r=(t.meta,(0,n.Z)(t,c));return(0,i.jsx)(l,(0,e.Z)((0,e.Z)({},t),{},{children:(0,i.jsx)("textarea",(0,e.Z)((0,e.Z)({},s),r))}))},p=function(t,s,r,n,o){var u=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"";return(0,i.jsxs)("div",{children:[(0,i.jsx)(a.Z,(0,e.Z)({placeholder:t,name:s,component:n,validate:r},o)),u]})}},3079:function(t,s,r){r.d(s,{C:function(){return n},D:function(){return e}});var n=function(t){if(!t)return"Field is required"},e=function(t){return function(s){if(s.length>t)return"Max length is ".concat(t," symbols")}}},9234:function(t,s){s.Z={formControl:"FormsControls_formControl__4tOrb",error:"FormsControls_error__Q4DIq",formSummaryError:"FormsControls_formSummaryError__u8JeD"}},3567:function(t,s,r){t.exports=r.p+"static/media/like.561119d972ddc61628c0.jpg"},5565:function(t){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAMAAAAJbSJIAAAAgVBMVEX///8uWaArV58mVJ4eUJwhUp0LSZkVTJoZTpsAR5gRS5onVZ7p7fQISJn19/r6+/1+lL/h5vCRo8jK0+R0jLu1wdmmtNKNoMZhfbNRcq06YqXj6PGcrM3P1+cxXKKGmsNJbKrY3utVdK7By9+rudRkf7R4j7yyv9hth7iYqcuhsdAmZ4xwAAAOiklEQV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raBZlIihIZ7nh0MYw50xt/3OHDRQh/zbLp0bN1JI/wKYeMD0QzK5AdGvsGBN+lARyDK9jENx6Y8cY7Pk2Azszb2kMRMeY639vOO1zVgxwaoosEkGrkd8/6V3BFpWMZxZidZVvnwr6cLA70Hcdw6WgW0q1BUsKw1zQY2PTqR4hF6yZoA+L5h0sPX3A0edZFdn9gfpXJCdXMGyB+J2Hh6JY1FqIvZlSHdywtDzRY534Gy53cHIFH+NTqwQe5HCZ9kVtgtg9fSsnNNwLZx/ZXj6R/qTNMveEU018Z9/tBXz5rr0rotEn/bxMWsudxfGExeRZvjv7dqXLcCQeKOMT6uXT4tNZRpvjIHOIuNMe2XT0zfO7IYhpw5yn6gudbLbeJQuBnIgWyeSQsybq6jCFN/2dnOy2eRiSj6vTdJ0sn40G0zKO43I6OG3TvuuxirjGLmjb2XYaCPqIzYDR9833vo+xTWrUIxHeDgBAmOLpL7DnC4o9ZRrG5lTksdOvFpeHxYmoDbKqyCOj4seKk54RJdPchc3NQZi5+SD5afKuCMaH1KMyZCLfpjQbjH9GdLZAUMRb1qdENN3sCbWo7bNt/FFz/iSCZDLIM+ZQdpOf9bHW/znLVUYdluWDSfJPEveAcLEqduX0MJvnaZpZWT3nZnaYlrtiteggaP4f0GXtaTLwMWYAAAAASUVORK5CYII="},885:function(t,s,r){r.d(s,{Z:function(){return e}});var n=r(181);function e(t,s){return function(t){if(Array.isArray(t))return t}(t)||function(t,s){var r=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,e,o=[],a=!0,i=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(o.push(n.value),!s||o.length!==s);a=!0);}catch(u){i=!0,e=u}finally{try{a||null==r.return||r.return()}finally{if(i)throw e}}return o}}(t,s)||(0,n.Z)(t,s)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}}}]); -//# sourceMappingURL=17.a0466584.chunk.js.map \ No newline at end of file diff --git a/static/js/17.a0466584.chunk.js.map b/static/js/17.a0466584.chunk.js.map deleted file mode 100644 index 11ae4ee..0000000 --- a/static/js/17.a0466584.chunk.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/js/17.a0466584.chunk.js","mappings":"gNACA,EAAqC,wCAArC,EAAgG,sCAAhG,EAA6J,0C,UCA7J,EAAqC,wCAArC,EAA2F,iC,SCO9EA,EAAc,SAACC,GACxB,OACI,gBAAKC,UAAWC,EAAhB,UACI,iBAAKD,UAAWC,EAAhB,WACI,6BAAM,uCAAwBF,EAAMG,QAAQC,aAC5C,6BAAM,2CAA4BJ,EAAMG,QAAQE,QAAUL,EAAMG,QAAQE,QAAU,4FAClF,6BAAM,sCAAuBL,EAAMG,QAAQG,eAAiBN,EAAMG,QAAQG,eAAiB,8DAC3F,6BAAM,qCAAsBN,EAAMG,QAAQI,SAASC,GAAKR,EAAMG,QAAQI,SAASC,GAAK,aACpF,6BAAM,yCAA0BR,EAAMG,QAAQI,SAASE,OAAST,EAAMG,QAAQI,SAASE,OAAS,iBAChG,6BAAM,4CAA6BT,EAAMG,QAAQI,SAASG,UAAYV,EAAMG,QAAQI,SAASG,UAAY,oBACzG,6BAAM,0CAA2BV,EAAMG,QAAQI,SAASI,QAAUX,EAAMG,QAAQI,SAASI,QAAU,kBACnG,6BAAM,2CAA4BX,EAAMG,QAAQI,SAASK,SAAWZ,EAAMG,QAAQI,SAASK,SAAW,mBACtG,6BAAM,0CAA2BZ,EAAMG,QAAQI,SAASM,QAAUb,EAAMG,QAAQI,SAASM,QAAU,uBCnBnH,EAA4B,iCCMfC,EAAgB,SAACd,GAC1B,OACI,yBACKA,EAAMe,QACD,gBAAKC,IAAKhB,EAAMe,OAAQE,IAAK,SAAUhB,UAAWC,KAClD,gBACEc,IAAK,sGACLC,IAAK,SAAUhB,UAAWC,O,SCPjCgB,EAAsD,SAAClB,GAEhE,OAAgCmB,EAAAA,EAAAA,WAAkB,GA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,IACE,IAAKP,EAAKA,EAAGQ,KAAKZ,KAAQU,GAAMH,EAAKH,EAAGS,QAAQC,QAC9CL,EAAKlC,KAAKgC,EAAGtF,QAETgF,GAAKQ,EAAKX,SAAWG,GAH4BS,GAAK,IAK5D,MAAOK,GACPJ,GAAK,EACLH,EAAKO,EACL,QACA,IACOL,GAAsB,MAAhBN,EAAW,QAAWA,EAAW,SAC5C,QACA,GAAIO,EAAI,MAAMH,GAIlB,OAAOC,GFtBuB,CAAqBT,EAAKC,KAAM,EAAAe,EAAA,GAA2BhB,EAAKC,IGLjF,WACb,MAAM,IAAIgB,UAAU,6IHIgF","sources":["webpack://samurai-way/./src/components/Profile/ProfileInfo/ProfileInfo.module.css?ead2","webpack://samurai-way/./src/components/Profile/ProfileInfo/ProfileDescription/Description.module.css?03ca","components/Profile/ProfileInfo/ProfileDescription/Description.tsx","webpack://samurai-way/./src/components/Profile/ProfileInfo/ProfileAvatar/ProfileAvatar.module.css?47f3","components/Profile/ProfileInfo/ProfileAvatar/ProfileAvatar.tsx","components/Profile/ProfileInfo/ProfileStatus/ProfileStatusWithHooks.tsx","components/Profile/ProfileInfo/ProfileInfo.tsx","webpack://samurai-way/./src/components/Profile/MyPosts/MyPosts.module.css?831b","webpack://samurai-way/./src/components/Profile/MyPosts/Post/Post.module.css?87e6","assets/images/basket.svg","components/Profile/MyPosts/Post/Post.tsx","components/Profile/MyPosts/MyPosts.tsx","components/Profile/MyPosts/MyPostsContainer.tsx","components/Profile/Profile.module.css","components/Profile/Profile.tsx","components/Profile/ProfileContainer.tsx","components/common/FormsControls/FormsControls.tsx","utils/validators/validators.ts","webpack://samurai-way/./src/components/common/FormsControls/FormsControls.module.css?eb50","../node_modules/@babel/runtime/helpers/esm/slicedToArray.js","../node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js","../node_modules/@babel/runtime/helpers/esm/nonIterableRest.js"],"sourcesContent":["// extracted by mini-css-extract-plugin\nexport default {\"profileInfoWrapper\":\"ProfileInfo_profileInfoWrapper__Vhv8t\",\"descriptionBlock\":\"ProfileInfo_descriptionBlock__mxMse\",\"avatarAndStatusBlock\":\"ProfileInfo_avatarAndStatusBlock__lknAX\"};","// extracted by mini-css-extract-plugin\nexport default {\"descriptionWrapper\":\"Description_descriptionWrapper__QlbNG\",\"description\":\"Description_description__dnouL\"};","import React from 'react';\r\nimport classes from './Description.module.css'\r\nimport {ProfileType} from '../../../../redux/profile-reducer';\r\n\r\ntype DescriptionPropsType = {\r\n profile: ProfileType\r\n}\r\n\r\nexport const Description = (props: DescriptionPropsType) => {\r\n return (\r\n
\r\n
\r\n Name: {props.profile.fullName}\r\n About me: {props.profile.aboutMe ? props.profile.aboutMe : 'нету информации'}\r\n Job: {props.profile.lookingForAJob ? props.profile.lookingForAJob : 'без работы'}\r\n VK: {props.profile.contacts.vk ? props.profile.contacts.vk : 'vk.com'}\r\n Github: {props.profile.contacts.github ? props.profile.contacts.github : 'github.com'}\r\n Instagram: {props.profile.contacts.instagram ? props.profile.contacts.instagram : 'instagram.com'}\r\n Twitter: {props.profile.contacts.twitter ? props.profile.contacts.twitter : 'twitter.com'}\r\n Facebook: {props.profile.contacts.facebook ? props.profile.contacts.facebook : 'facebook.com'}\r\n Youtube: {props.profile.contacts.youtube ? props.profile.contacts.youtube : 'youtube.com'}\r\n
\r\n
\r\n );\r\n};\r\n","// extracted by mini-css-extract-plugin\nexport default {\"imgAvatar\":\"ProfileAvatar_imgAvatar__oXo49\"};","import React from 'react';\r\nimport classes from './ProfileAvatar.module.css';\r\n\r\ntype ProfileAvatarPropsType = {\r\n avatar: string\r\n}\r\n\r\nexport const ProfileAvatar = (props: ProfileAvatarPropsType) => {\r\n return (\r\n
\r\n {props.avatar\r\n ? {'avatar'}\r\n : \r\n }\r\n
\r\n );\r\n};\r\n","import React, {ChangeEvent, useEffect, useState} from 'react';\r\n\r\ntype ProfileStatusType = {\r\n status: string\r\n updateStatus: (status: string) => void\r\n}\r\n\r\nexport const ProfileStatusWithHooks: React.FC = (props) => {\r\n\r\n const [editMode, setEditMode] = useState(false)\r\n const [title, setNewTitle] = useState(props.status)\r\n\r\n useEffect(()=>{\r\n setNewTitle(props.status)\r\n },[props.status ])\r\n\r\n\r\n const activateEditMode = () => {\r\n setEditMode(true)\r\n }\r\n const deactivateEditMode = () => {\r\n props.updateStatus(title)\r\n setEditMode(false)\r\n }\r\n const onStatusChange = (e: ChangeEvent) => {\r\n setNewTitle(e.currentTarget.value)\r\n }\r\n\r\n return (\r\n !editMode\r\n ? {props.status || 'no status'}\r\n\r\n : \r\n\r\n )\r\n}\r\n","import React from 'react';\r\nimport classes from './ProfileInfo.module.css';\r\nimport {ProfileType} from '../../../redux/profile-reducer';\r\nimport {Preloader} from '../../common/PreLoader/Preloader';\r\nimport {Description} from './ProfileDescription/Description';\r\nimport {ProfileAvatar} from './ProfileAvatar/ProfileAvatar';\r\nimport {ProfileStatusWithHooks} from './ProfileStatus/ProfileStatusWithHooks';\r\n\r\ntype ProfileInfoPropsType = {\r\n profile: ProfileType\r\n status: string\r\n updateStatus: (status: string) => void\r\n}\r\n\r\nconst ProfileInfo: React.FC = (props) => {\r\n\r\n const {profile, status, updateStatus} = props\r\n\r\n if (!profile) {\r\n return \r\n }\r\n\r\n return (\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n )\r\n}\r\nexport default ProfileInfo\r\n","// extracted by mini-css-extract-plugin\nexport default {\"postsBlock\":\"MyPosts_postsBlock__qnyuF\",\"addPostWrapper\":\"MyPosts_addPostWrapper__PELVK\",\"textarea\":\"MyPosts_textarea__p4cM5\",\"addPost\":\"MyPosts_addPost__jfYwQ\",\"posts\":\"MyPosts_posts__fuXeW\"};","// extracted by mini-css-extract-plugin\nexport default {\"item\":\"Post_item__qWWoo\",\"postMessage\":\"Post_postMessage__5SPf6\",\"message\":\"Post_message__r9x3b\",\"likes\":\"Post_likes__-JOPo\",\"likeImg\":\"Post_likeImg__y6Gyg\"};","var _metadata, _g;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgBasket(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1280.000000pt\",\n height: \"1014.000000pt\",\n viewBox: \"0 0 1280.000000 1014.000000\",\n preserveAspectRatio: \"xMidYMid meet\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _metadata || (_metadata = /*#__PURE__*/React.createElement(\"metadata\", null, \"\\nCreated by potrace 1.15, written by Peter Selinger 2001-2017\\n\")), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n transform: \"translate(0.000000,1014.000000) scale(0.100000,-0.100000)\",\n fill: \"#000000\",\n stroke: \"none\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M1190 10130 c-272 -4 -566 -8 -653 -9 l-158 -1 3 -374 c2 -206 6 -377 10 -381 3 -4 472 -1 1042 5 570 7 1043 9 1051 6 18 -7 64 -99 439 -882 l306 -641 0 -2471 0 -2472 4007 2 4007 3 57 175 c32 96 89 273 128 393 39 119 103 314 141 432 39 118 101 311 139 428 157 482 214 658 280 860 134 409 650 1994 730 2241 l81 248 0 278 0 278 -217 -4 c-120 -2 -1890 -8 -3933 -14 -2043 -5 -3947 -13 -4231 -16 l-515 -6 -61 129 c-207 437 -647 1350 -674 1400 -90 163 -184 260 -312 323 -144 71 -162 73 -697 75 -261 1 -698 -1 -970 -5z m10431 -2982 c-26 -79 -54 -164 -61 -190 l-14 -48 -796 0 -795 0 0 182 0 183 225 5 c124 3 509 7 857 8 l632 2 -48 -142z m-2621 -53 l0 -185 -475 0 -475 0 0 185 0 185 475 0 475 0 0 -185z m-3810 -5 l0 -180 -505 0 -505 0 0 175 0 175 328 3 c180 1 407 3 505 5 l177 2 0 -180z m1900 0 l0 -180 -470 0 -470 0 0 180 0 180 470 0 470 0 0 -180z m-1900 -1420 l0 -290 -505 0 -505 0 0 283 c0 156 3 287 7 290 3 4 231 7 505 7 l498 0 0 -290z m1900 0 l0 -290 -470 0 -470 0 0 290 0 290 470 0 470 0 0 -290z m1910 0 l0 -290 -475 0 -475 0 0 290 0 290 475 0 475 0 0 -290z m2230 284 c0 -4 -41 -134 -92 -290 l-92 -284 -543 0 -542 0 -3 286 c-2 157 -1 288 1 290 7 7 1271 5 1271 -2z m-6040 -1809 l0 -285 -505 0 -505 0 0 278 c0 153 3 282 7 285 3 4 231 7 505 7 l498 0 0 -285z m1900 0 l0 -285 -470 0 -470 0 0 285 0 285 470 0 470 0 0 -285z m1910 0 l0 -285 -475 0 -475 0 0 285 0 285 475 0 475 0 0 -285z m1730 274 c0 -7 -31 -107 -69 -223 -39 -116 -78 -238 -89 -271 l-19 -60 -296 -3 -297 -2 0 285 0 285 385 0 c281 0 385 -3 385 -11z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M5125 2433 c-411 -34 -745 -232 -960 -569 -188 -294 -236 -684 -126 -1021 117 -357 404 -652 752 -772 555 -192 1154 27 1457 533 123 204 181 464 161 719 -42 529 -445 984 -964 1085 -101 20 -247 32 -320 25z m235 -629 c199 -56 372 -230 425 -430 21 -77 21 -231 0 -309 -29 -108 -74 -184 -160 -270 -91 -92 -165 -136 -281 -165 -320 -82 -652 115 -734 435 -22 87 -26 196 -9 277 6 29 30 94 54 143 126 262 425 397 705 319z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M9225 2430 c-478 -43 -892 -371 -1045 -828 -141 -424 -35 -896 275 -1221 177 -186 388 -303 645 -358 117 -25 353 -25 470 0 324 69 598 252 776 518 139 208 204 425 204 680 0 202 -41 374 -131 551 -226 441 -700 703 -1194 658z m278 -627 c204 -59 370 -232 422 -438 19 -76 19 -212 0 -294 -51 -214 -243 -400 -460 -446 -209 -44 -404 14 -556 166 -130 129 -187 277 -176 462 7 120 35 208 98 301 63 95 133 156 234 207 135 67 299 83 438 42z\"\n }))));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgBasket);\nexport default __webpack_public_path__ + \"static/media/basket.2709b34781ea538989014b05505f5103.svg\";\nexport { ForwardRef as ReactComponent };","import React from 'react';\r\nimport classes from './Post.module.css';\r\nimport postImg from '../../../../assets/images/postImg.png'\r\nimport likeImg from '../../../../assets/images/like.jpg'\r\nimport basket from '../../../../assets/images/basket.svg'\r\n\r\nexport type PostType = {\r\n id: string\r\n message: string,\r\n likesCount: number\r\n}\r\ntype PropsType = PostType & {deletePost: (postId: string) => void, photo: string}\r\n\r\nconst Post = (props: PropsType) => {\r\n\r\n const deletePost = () => {\r\n props.deletePost(props.id)\r\n }\r\n\r\n return (\r\n
\r\n
\r\n {props.photo ? \"avatar\"/ : \"avatar\"/}\r\n {props.message}\r\n
\r\n
\r\n {'basket'}\r\n {'like'}\r\n {props.likesCount}\r\n
\r\n
\r\n )\r\n}\r\nexport default Post\r\n","import React from 'react';\r\nimport classes from './MyPosts.module.css';\r\nimport Post, {PostType} from './Post/Post';\r\nimport {Field, InjectedFormProps, reduxForm} from 'redux-form';\r\nimport {maxLengthCreator, required} from '../../../utils/validators/validators';\r\nimport {Textarea} from '../../common/FormsControls/FormsControls';\r\n\r\ntype MyPostsType = {\r\n posts: PostType[]\r\n addPost: (value: string) => void\r\n deletePost: (postId: string) => void\r\n photo: string\r\n}\r\ntype AddPostFormType = {\r\n newPostText: string\r\n}\r\n\r\nconst maxLength10 = maxLengthCreator(10)\r\n\r\nexport const MyPosts = React.memo((props: MyPostsType) => {\r\n\r\n let postsElements = props.posts.map((p) => )\r\n\r\n let addPostHandler = (value: AddPostFormType) => {\r\n props.addPost(value.newPostText)\r\n }\r\n\r\n\r\n return (\r\n
\r\n \r\n
\r\n {postsElements}\r\n
\r\n
\r\n )\r\n})\r\n\r\nexport const AddPostForm: React.FC> = (props) => {\r\n return (\r\n
\r\n \r\n \r\n \r\n )\r\n}\r\nconst AddMessageFormRedux = reduxForm({form: 'AddPostForm'})(AddPostForm)\r\n","import React from 'react';\r\nimport {addPostActionCreator, removePostActionCreator} from '../../../redux/profile-reducer';\r\nimport {MyPosts} from './MyPosts';\r\nimport {AppStateType} from '../../../redux/redux-store';\r\nimport {Dispatch} from 'redux';\r\nimport {connect} from 'react-redux';\r\nimport {PostType} from './Post/Post';\r\n\r\ntype MapStateToPropsType = {\r\n posts: PostType[]\r\n photo: string\r\n}\r\ntype MapDispatchToPropsType = {\r\n addPost: (value: string) => void\r\n deletePost: (postId: string) => void\r\n}\r\n\r\nlet mapStateToProps = (state: AppStateType): MapStateToPropsType => {\r\n return {\r\n posts: state.profilePage.posts,\r\n photo: state.profilePage.profile.photos.large\r\n }\r\n}\r\nlet mapDispatchToProps = (dispatch: Dispatch): MapDispatchToPropsType => {\r\n return {\r\n addPost: (value) => {\r\n dispatch(addPostActionCreator(value))\r\n },\r\n deletePost: (postId) => {\r\n dispatch(removePostActionCreator(postId))\r\n }\r\n }\r\n}\r\nconst MyPostsContainer = connect(mapStateToProps, mapDispatchToProps)(MyPosts)\r\n\r\nexport default MyPostsContainer\r\n","// extracted by mini-css-extract-plugin\nexport default {\"profileWrapper\":\"Profile_profileWrapper__E3h9f\"};","import React from 'react';\r\nimport ProfileInfo from './ProfileInfo/ProfileInfo';\r\nimport MyPostsContainer from './MyPosts/MyPostsContainer';\r\nimport {ProfileType} from '../../redux/profile-reducer';\r\nimport classes from './Profile.module.css';\r\n\r\ntype ProfilePropsType = {\r\n profile: ProfileType\r\n status: string\r\n updateStatus: (status: string) => void\r\n}\r\n\r\nconst Profile = (props: ProfilePropsType) => {\r\n return (\r\n
\r\n \r\n \r\n
\r\n )\r\n}\r\nexport default Profile\r\n","import React from 'react';\r\nimport Profile from './Profile';\r\nimport {connect} from 'react-redux';\r\nimport {AppStateType} from '../../redux/redux-store';\r\nimport {\r\n getStatusThunkCreator,\r\n getUserProfileThunkCreator,\r\n ProfileType,\r\n updateStatusThunkCreator\r\n} from '../../redux/profile-reducer';\r\nimport {RouteComponentProps, withRouter} from 'react-router-dom';\r\nimport {compose} from 'redux';\r\n\r\ntype PathParamsType = {\r\n userId: string\r\n}\r\ntype MapStateToPropsType = {\r\n profile: ProfileType\r\n status: string\r\n authorizedUserId: number | null\r\n isAuth: boolean\r\n}\r\ntype MapDispatchTopPropsType = {\r\n getUserProfile: (userId: string) => void\r\n getStatus: (userId: string) => void\r\n updateStatus: (status: string) => void\r\n}\r\ntype ProfileContainerPropsType = MapStateToPropsType & MapDispatchTopPropsType\r\ntype PropsType = RouteComponentProps & ProfileContainerPropsType\r\n\r\nclass ProfileContainerSecond extends React.Component {\r\n\r\n componentDidMount() {\r\n let userId = this.props.match.params.userId\r\n if (!userId) {\r\n if (this.props.authorizedUserId !== null) {\r\n userId = String(this.props.authorizedUserId)\r\n } else {\r\n this.props.history.push('/login')\r\n }\r\n }\r\n this.props.getUserProfile(userId)\r\n this.props.getStatus(userId)\r\n }\r\n\r\n render() {\r\n return (\r\n
\r\n \r\n
\r\n )\r\n }\r\n}\r\n\r\nlet mapStateToProps = (state: AppStateType): MapStateToPropsType => ({\r\n profile: state.profilePage.profile,\r\n status: state.profilePage.status,\r\n authorizedUserId: state.auth.userId,\r\n isAuth: state.auth.isAuth\r\n})\r\n\r\nconst ProfileContainer = compose(\r\n connect(mapStateToProps, {getUserProfile: getUserProfileThunkCreator, getStatus: getStatusThunkCreator, updateStatus:updateStatusThunkCreator}),\r\n withRouter\r\n)(ProfileContainerSecond)\r\n\r\nexport default ProfileContainer","import React from 'react';\r\nimport classes from './FormsControls.module.css'\r\nimport {Field} from 'redux-form';\r\n\r\ntype FormControlProps = {\r\n input: {\r\n name: string;\r\n };\r\n meta: {\r\n touched?: boolean;\r\n error?: string;\r\n }\r\n children: React.ReactNode\r\n};\r\n\r\nexport const FormControl: React.FC = (props) => {\r\n\r\n const {input, meta: {touched , error}, children} = props\r\n\r\n const hasError = touched && error;\r\n return (\r\n
\r\n
{children}
\r\n {hasError && {error}}\r\n
\r\n );\r\n};\r\n\r\nexport const Input: React.FC = (props) => {\r\n const {input, meta, ...restProps} = props;\r\n return (\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport const Textarea: React.FC = (props) => {\r\n const {input, meta, ...restProps} = props;\r\n return (\r\n \r\n