From ba7b4021a345b45e61afa0b62579aa7c70207b34 Mon Sep 17 00:00:00 2001 From: Julia Khabibova Date: Sun, 29 Oct 2023 01:54:37 +0500 Subject: [PATCH] final --- .gitignore | 2 +- backend/.editorconfig | 9 +++ backend/app.js | 2 - backend/middlewares/auth.js | 2 - backend/middlewares/logger.js | 2 +- frontend/build/.DS_Store | Bin 6148 -> 0 bytes frontend/build/asset-manifest.json | 28 -------- frontend/build/index.html | 1 - frontend/build/static/css/main.1ff13f9f.css | 2 - .../build/static/css/main.1ff13f9f.css.map | 1 - frontend/build/static/js/main.b5fa101b.js | 3 - .../static/js/main.b5fa101b.js.LICENSE.txt | 61 ------------------ frontend/build/static/js/main.b5fa101b.js.map | 1 - .../Inter-Black.15ca31c0a2a68f76d2d1.woff2 | Bin 102868 -> 0 bytes .../Inter-Medium.293fd13dbca5a3e450ef.woff2 | Bin 105924 -> 0 bytes .../Inter-Medium.9053572c46aeb4b16caa.woff | Bin 142552 -> 0 bytes .../Inter-Regular.8c206db99195777c6769.woff | Bin 133844 -> 0 bytes .../Inter-Regular.c8ba52b05a9ef10f4758.woff2 | Bin 98868 -> 0 bytes .../media/add-button.d86bb2edc2f6eadb96b7.svg | 3 - .../media/close.2ceb783afbab75916ddc.svg | 3 - .../edit-avatar.a086f758840ae814ecde.svg | 3 - .../media/edit.8667ac4a523e8fc42e59.svg | 3 - ...ister.df8eddf661ff88f2d0efd3d570d14309.svg | 3 - .../like-active.fe17a515669479b1e649.svg | 3 - .../media/like.87ed371465c7a6a1cd01.svg | 3 - .../media/logo.03b78ada3425e9132ff3.svg | 13 ---- ...ister.1b6082f862eac35e2514460237d96ecc.svg | 3 - .../media/trash.823b0cf1b0b7e9cb7cad.svg | 4 -- frontend/src/components/Header.jsx | 1 - 29 files changed, 11 insertions(+), 145 deletions(-) delete mode 100644 frontend/build/.DS_Store delete mode 100644 frontend/build/asset-manifest.json delete mode 100644 frontend/build/index.html delete mode 100644 frontend/build/static/css/main.1ff13f9f.css delete mode 100644 frontend/build/static/css/main.1ff13f9f.css.map delete mode 100644 frontend/build/static/js/main.b5fa101b.js delete mode 100644 frontend/build/static/js/main.b5fa101b.js.LICENSE.txt delete mode 100644 frontend/build/static/js/main.b5fa101b.js.map delete mode 100644 frontend/build/static/media/Inter-Black.15ca31c0a2a68f76d2d1.woff2 delete mode 100644 frontend/build/static/media/Inter-Medium.293fd13dbca5a3e450ef.woff2 delete mode 100644 frontend/build/static/media/Inter-Medium.9053572c46aeb4b16caa.woff delete mode 100644 frontend/build/static/media/Inter-Regular.8c206db99195777c6769.woff delete mode 100644 frontend/build/static/media/Inter-Regular.c8ba52b05a9ef10f4758.woff2 delete mode 100644 frontend/build/static/media/add-button.d86bb2edc2f6eadb96b7.svg delete mode 100644 frontend/build/static/media/close.2ceb783afbab75916ddc.svg delete mode 100644 frontend/build/static/media/edit-avatar.a086f758840ae814ecde.svg delete mode 100644 frontend/build/static/media/edit.8667ac4a523e8fc42e59.svg delete mode 100644 frontend/build/static/media/error-register.df8eddf661ff88f2d0efd3d570d14309.svg delete mode 100644 frontend/build/static/media/like-active.fe17a515669479b1e649.svg delete mode 100644 frontend/build/static/media/like.87ed371465c7a6a1cd01.svg delete mode 100644 frontend/build/static/media/logo.03b78ada3425e9132ff3.svg delete mode 100644 frontend/build/static/media/success-register.1b6082f862eac35e2514460237d96ecc.svg delete mode 100644 frontend/build/static/media/trash.823b0cf1b0b7e9cb7cad.svg diff --git a/.gitignore b/.gitignore index 95dfbff36..eea4b8096 100644 --- a/.gitignore +++ b/.gitignore @@ -19,7 +19,7 @@ node_modules /coverage # production -/build +build # misc .env diff --git a/backend/.editorconfig b/backend/.editorconfig index e69de29bb..af603278c 100644 --- a/backend/.editorconfig +++ b/backend/.editorconfig @@ -0,0 +1,9 @@ +root = true + +[*] +indent_style = space +indent_size = 2 +end_of_line = crlf +charset = utf-8 +trim_trailing_whitespace = false +insert_final_newline = false \ No newline at end of file diff --git a/backend/app.js b/backend/app.js index cce7cc8c3..2f5f547b6 100644 --- a/backend/app.js +++ b/backend/app.js @@ -10,8 +10,6 @@ const errorHandler = require('./middlewares/error-handler'); const { PORT = 3000, DB_URL = 'mongodb://127.0.0.1:27017/mestodb' } = process.env; -console.log(process.env) - const app = express(); app.use(cors()); diff --git a/backend/middlewares/auth.js b/backend/middlewares/auth.js index d92e3df13..d22f60523 100644 --- a/backend/middlewares/auth.js +++ b/backend/middlewares/auth.js @@ -2,8 +2,6 @@ const jwt = require('jsonwebtoken'); const { SECRET_KEY = 'mesto-test' } = process.env; const UnautorizedError = require('../errors/UnauthorizedError'); -console.log(SECRET_KEY) - module.exports = (req, res, next) => { const { authorization } = req.headers; diff --git a/backend/middlewares/logger.js b/backend/middlewares/logger.js index 72626e7d7..43de6da3e 100644 --- a/backend/middlewares/logger.js +++ b/backend/middlewares/logger.js @@ -18,4 +18,4 @@ const errorLogger = expressWinston.errorLogger({ module.exports = { requestLogger, errorLogger, -}; \ No newline at end of file +}; diff --git a/frontend/build/.DS_Store b/frontend/build/.DS_Store deleted file mode 100644 index c6b5e91f91762b96e10f07f628aa2b27984778ec..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeHK%Sr=55Ukc9K`#L>UWEAp1OCAn;=!{&U>-^$o83bcJnkR)iCWz~io5Pj5RvXM zQ@t}?^C-y7Gys`BuP=cKfH8}rs54;NJlJ(mf)9yeV?5ykJ1kIRJ222+Y|^!#a>aZ8 z?(uc~5B%PBTIur;6LV-^O^n6Gxin(CxXh#PtO96-@ zHk;Ac$FXu!!CbI)WDiZ8N_47}6hoZO_Eh3>!Pe2~kdk~znfW7m5u2UkCkuyU$EZVr zP@t=T=DxIv-v8J9%M2#@77|q`5DNTP1!Oe8ozJ+ta<_ilr{1-R<&H&7<63oS^gE9L ie&{)JW}V)j)Ms2S*gEPc+HQ1WJOoUTs6v5XP~aT`hd1^B diff --git a/frontend/build/asset-manifest.json b/frontend/build/asset-manifest.json deleted file mode 100644 index 956a8f20e..000000000 --- a/frontend/build/asset-manifest.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "files": { - "main.css": "/react-mesto-auth/static/css/main.1ff13f9f.css", - "main.js": "/react-mesto-auth/static/js/main.b5fa101b.js", - "static/media/Inter-Medium.woff": "/react-mesto-auth/static/media/Inter-Medium.9053572c46aeb4b16caa.woff", - "static/media/Inter-Regular.woff": "/react-mesto-auth/static/media/Inter-Regular.8c206db99195777c6769.woff", - "static/media/Inter-Medium.woff2": "/react-mesto-auth/static/media/Inter-Medium.293fd13dbca5a3e450ef.woff2", - "static/media/Inter-Black.woff2": "/react-mesto-auth/static/media/Inter-Black.15ca31c0a2a68f76d2d1.woff2", - "static/media/Inter-Regular.woff2": "/react-mesto-auth/static/media/Inter-Regular.c8ba52b05a9ef10f4758.woff2", - "static/media/logo.svg": "/react-mesto-auth/static/media/logo.03b78ada3425e9132ff3.svg", - "static/media/like.svg": "/react-mesto-auth/static/media/like.87ed371465c7a6a1cd01.svg", - "static/media/error-register.svg": "/react-mesto-auth/static/media/error-register.df8eddf661ff88f2d0efd3d570d14309.svg", - "static/media/trash.svg": "/react-mesto-auth/static/media/trash.823b0cf1b0b7e9cb7cad.svg", - "static/media/success-register.svg": "/react-mesto-auth/static/media/success-register.1b6082f862eac35e2514460237d96ecc.svg", - "index.html": "/react-mesto-auth/index.html", - "static/media/like-active.svg": "/react-mesto-auth/static/media/like-active.fe17a515669479b1e649.svg", - "static/media/edit.svg": "/react-mesto-auth/static/media/edit.8667ac4a523e8fc42e59.svg", - "static/media/edit-avatar.svg": "/react-mesto-auth/static/media/edit-avatar.a086f758840ae814ecde.svg", - "static/media/close.svg": "/react-mesto-auth/static/media/close.2ceb783afbab75916ddc.svg", - "static/media/add-button.svg": "/react-mesto-auth/static/media/add-button.d86bb2edc2f6eadb96b7.svg", - "main.1ff13f9f.css.map": "/react-mesto-auth/static/css/main.1ff13f9f.css.map", - "main.b5fa101b.js.map": "/react-mesto-auth/static/js/main.b5fa101b.js.map" - }, - "entrypoints": [ - "static/css/main.1ff13f9f.css", - "static/js/main.b5fa101b.js" - ] -} \ No newline at end of file diff --git a/frontend/build/index.html b/frontend/build/index.html deleted file mode 100644 index 4ce67edc6..000000000 --- a/frontend/build/index.html +++ /dev/null @@ -1 +0,0 @@ -React App Mesto
\ No newline at end of file diff --git a/frontend/build/static/css/main.1ff13f9f.css b/frontend/build/static/css/main.1ff13f9f.css deleted file mode 100644 index 94a55b4f9..000000000 --- a/frontend/build/static/css/main.1ff13f9f.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{-webkit-text-size-adjust:100%;line-height:1.15}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:initial;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:initial}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:initial}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}@font-face{font-family:Inter;font-style:normal;font-weight:900;src:url(/react-mesto-auth/static/media/Inter-Black.15ca31c0a2a68f76d2d1.woff2) format("woff2"),url(/react-mesto-auth/static/media/Inter-Black.15ca31c0a2a68f76d2d1.woff2) format("woff")}@font-face{font-family:Inter;font-style:normal;font-weight:500;src:url(/react-mesto-auth/static/media/Inter-Medium.293fd13dbca5a3e450ef.woff2) format("woff2"),url(/react-mesto-auth/static/media/Inter-Medium.9053572c46aeb4b16caa.woff) format("woff")}@font-face{font-family:Inter;font-style:normal;font-weight:400;src:url(/react-mesto-auth/static/media/Inter-Regular.c8ba52b05a9ef10f4758.woff2) format("woff2"),url(/react-mesto-auth/static/media/Inter-Regular.8c206db99195777c6769.woff) format("woff")}.page{background-color:#000;box-sizing:border-box;color:#fff;font-family:Inter,Arial,sans-serif;margin:0 auto;max-width:1280px;min-width:320px;text-rendering:optimizeLegibility}.header{border-bottom:1px solid rgba(84,84,84,.7);display:flex;justify-content:space-between;margin:0 auto;width:calc(100% - 400px)}@media (min-width:1024px) and (max-width:1279px){.header{width:880px}}@media (min-width:768px) and (max-width:1023px){.header{width:calc(100% - 200px)}}@media screen and (max-width:767px){.header{width:100%}}.header__logo{background-image:url(/react-mesto-auth/static/media/logo.03b78ada3425e9132ff3.svg);margin:45px 0 41px;min-height:33px;width:142px}@media screen and (max-width:767px){.header__logo{background-size:cover;margin:20px 0 31px 27px;max-width:104px;min-height:24px}}.header__links{align-items:start;display:flex;margin:0;padding:0}.header__link{background-color:initial;border:none;color:#fff;cursor:pointer;font-size:18px;line-height:1.2;margin:0;padding:50px 10px 0 24px;text-decoration:none;transition:opacity .3s}.header__link:hover{opacity:.6}@media screen and (max-width:767px){.header__link{font-size:14px;padding:30px 30px 0 10px}}.header__email{font-size:18px;font-weight:500;line-height:1.2;margin:50px 0 0;padding:0}@media screen and (max-width:767px){.header__email{margin:25px 0 0}}.profile{display:flex;margin:0 auto;width:calc(100% - 400px)}@media (min-width:1024px) and (max-width:1279px){.profile{width:880px}}@media (min-width:768px) and (max-width:1023px){.profile{width:calc(100% - 200px)}}@media screen and (max-width:767px){.profile{flex-direction:column;width:calc(100% - 38px)}}.profile__avatar{border-radius:50%;height:120px;margin:0;width:120px}@media (min-width:768px) and (max-width:1279px){.profile__avatar{margin-right:auto 0}}@media screen and (max-width:767px){.profile__avatar{align-items:center;margin:o auto;object-position:center center}}.profile__info{align-items:flex-start;box-sizing:border-box;display:flex;flex-direction:column;margin:62px 200px 0 0;padding:0}@media (min-width:768px) and (max-width:1023px){.profile__info{margin:62px auto 0 0}}@media screen and (max-width:767px){.profile__info{margin:0 auto}}.profile__add-button{background-color:#000;background-image:url(/react-mesto-auth/static/media/add-button.d86bb2edc2f6eadb96b7.svg);background-position:50%;background-repeat:no-repeat;border:2px solid #fff;border-radius:2px;height:50px;margin-top:70px;padding:0;width:150px}.profile__add-button:hover{cursor:pointer;opacity:.6;transition:opacity .2s linear}@media screen and (max-width:767px){.profile__add-button{background-size:16px;margin-top:30px;width:100%}}.profile__edit-button{background-color:#000;background-image:url(/react-mesto-auth/static/media/edit.8667ac4a523e8fc42e59.svg);background-position:50%;background-repeat:no-repeat;border:1px solid #fff;height:24px;margin-bottom:12px;width:24px}.profile__edit-button:hover{cursor:pointer;opacity:.8;transition:opacity .2s linear}@media screen and (max-width:767px){.profile__edit-button{height:18px;margin-bottom:5px;width:18px}}.profile__title{font-size:42px;font-style:normal;font-weight:500;line-height:48px;margin:0;max-width:294px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (min-width:768px) and (max-width:1023px){.profile__title{font-size:32px}}@media screen and (max-width:767px){.profile__title{font-size:27px;line-height:33px;max-width:189px;text-align:center}}.profile__subtitle{font-size:18px;font-style:normal;font-weight:400;line-height:22px;margin:5px 0 0;min-width:336px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (min-width:768px) and (max-width:1023px){.profile__subtitle{font-size:15px}}@media screen and (max-width:767px){.profile__subtitle{font-size:14px;line-height:17px;margin:14px auto 0;min-width:289px;text-align:center}}.profile__name{align-items:flex-end;display:flex;flex-direction:row;gap:18px;margin-right:45px}@media screen and (max-width:767px){.profile__name{gap:10px;margin:0 auto}}.profile__avatar-overlay{background-color:initial;background-size:26px 26px;border:none;border-radius:50%;display:flex;height:120px;margin:36px 30px 0 0;overflow:hidden;padding:0;position:relative;width:120px}.profile__avatar-overlay:before{background-color:rgba(0,0,0,.8);background-image:url(/react-mesto-auth/static/media/edit-avatar.a086f758840ae814ecde.svg);background-position:50%;background-repeat:no-repeat;background-size:26px 26px;content:"";height:100%;left:0;opacity:0;position:absolute;top:0;width:100%;z-index:1}.profile__avatar-overlay:hover:before{cursor:pointer;opacity:1;transition:opasity .3s linear}@media screen and (max-width:767px){.profile__avatar-overlay{margin:36px 79px 20px}}.cards{grid-gap:20px 17px;display:grid;gap:20px 17px;grid-template-columns:repeat(auto-fit,282px);margin:52px auto 67px;max-width:880px;padding:0}@media screen and (max-width:1023px){.cards{justify-content:center}}@media screen and (max-width:767px){.cards{margin:36px auto 48px;max-width:282px}}.cards__item{background:#fff;border-radius:10px;position:relative;width:282px}.cards__image{border-radius:10px 10px 0 0;height:282px;object-fit:cover;width:282px}.cards__image:hover{cursor:pointer}.cards__title{color:#000;font-size:24px;font-style:normal;font-weight:900;line-height:29px;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cards__description{align-items:center;box-sizing:border-box;display:flex;justify-content:space-between;margin:22px 20px 25px 21px;padding:0;width:241px}.cards__like{background-color:#fff;background-image:url(/react-mesto-auth/static/media/like.87ed371465c7a6a1cd01.svg);background-position:50%;background-repeat:no-repeat;border:none;height:19px;padding:15px;width:22px}.cards__like:hover{cursor:pointer;opacity:.5;transition:opacity .2s linear}.cards__like_active{background-image:url(/react-mesto-auth/static/media/like-active.fe17a515669479b1e649.svg)}.cards__trash{background-color:initial;background-image:url(/react-mesto-auth/static/media/trash.823b0cf1b0b7e9cb7cad.svg);background-position:50%;background-repeat:no-repeat;border:none;height:18px;margin:0;padding:0;position:absolute;right:20px;top:20px;width:19px}.cards__trash:hover{cursor:pointer;opacity:.8;transition:opacity .2s linear}.cards__like-container{display:flex;flex-direction:column}.cards__like-counter{color:#000;font-size:.81em;font-weight:400;line-height:1.23;margin:0;padding-top:3px;text-align:center}.footer{margin:0 auto 60px;width:calc(100% - 400px)}@media (min-width:768px) and (max-width:1023px){.footer{width:calc(100% - 200px)}}@media screen and (max-width:767px){.footer{margin-bottom:36px;width:calc(100% - 32px)}}.footer__copyright{color:#545454;font-size:18px;font-style:normal;font-weight:400;line-height:22px;margin:0;max-width:318px}@media screen and (max-width:767px){.footer__copyright{font-size:14px;line-height:17px}}.popup{align-items:center;background:rgba(0,0,0,.3);box-sizing:border-box;display:flex;flex-direction:column;height:100%;justify-content:center;left:0;opacity:0;position:fixed;top:0;transition:visibility .5s,opacity .5s linear;visibility:hidden;width:100%}.popup__close{background:transparent;background-image:url(/react-mesto-auth/static/media/close.2ceb783afbab75916ddc.svg);background-repeat:no-repeat;border:none;height:32px;position:absolute;right:-40px;top:-40px;width:32px}@media screen and (max-width:767px){.popup__close{background-repeat:no-repeat;background-size:contain;height:20px;right:0;top:-36px;width:20px}}.popup__close:hover{cursor:pointer;opacity:.8;transition:opacity .2s linear}.popup__content{background:#fff;border-radius:10px;box-sizing:border-box;display:flex;flex-direction:column;padding:34px 36px 37px;position:relative;width:430px}@media screen and (max-width:767px){.popup__content{padding:25px 22px;width:282px}}.popup__field{margin:0;outline:none;padding:0;width:100%}.popup__submit{background-color:#000;border:none;color:#fff;font-size:18px;font-weight:400;height:50px;line-height:22px;margin-top:18px;text-align:center;width:100%}.popup__submit:hover{cursor:pointer;opacity:.8;transition:opacity .2s linear}@media screen and (max-width:767px){.popup__submit{font-size:14px;height:46px;line-height:17px;margin-top:15px}}.popup__title{color:#000;font-size:24px;font-style:normal;font-weight:900;line-height:29px;margin:0 0 40px}@media screen and (max-width:767px){.popup__title{font-size:18px;line-height:22px;margin-bottom:60px;width:238px}}.popup__visible{opacity:1;visibility:visible}.popup__input{border:0;border-bottom:1px solid rgba(0,0,0,.2);font-size:14px;font-weight:400;line-height:17px;margin-bottom:5px;outline:none;padding:0 0 13px;width:100%}.popup__figure{display:flex;flex-direction:column;margin:0}.popup__description{font-size:12px;font-style:normal;font-weight:400;line-height:15px;margin:0;padding-top:10px}.popup__img{max-height:75vh;max-width:75vw}.popup__content-img{position:relative}.popup_img{background:rgba(0,0,0,.9)}.popup__error{color:red;font-size:12px;font-weight:400;line-height:15px;min-height:30px;padding:0;transition:.3s}.popup__error_visible{opacity:1}.popup__submit_disabled{background-color:#fff;border:1px solid rgba(0,0,0,.15);border-radius:2px;color:rgba(0,0,0,.15);pointer-events:none}.popup__input_type_error{border-bottom:1px solid red}.popup__tooltip-title{all:unset;color:#000;font-size:24px;font-style:normal;font-weight:900;line-height:normal;margin:0 auto 60px;max-width:358px;text-align:center}.popup__tooltip-img{all:unset;height:120px;margin:60px auto 32px;width:120px}.auth__title{color:#fff;font-size:24px;font-weight:900;line-height:1.21;margin:0 0 10px;text-align:center}@media screen and (max-width:425px){.auth__title{font-size:20px;line-height:1.2}}.auth__form{margin:0;text-align:center}.auth__form,.auth__input{color:#fff;font-size:14px;font-weight:400;line-height:1.21}.auth__input{background-color:#000;border:none;border-bottom:1px solid #fff;height:27px;margin-top:30px;outline:none;width:100%}@media screen and (max-width:425px){.auth__input{margin-top:25px;width:80%}}.auth__input_valid_error{border-bottom:1px solid red}.auth__button{background-color:#000;background-color:#fff;border:none;border-radius:2px;cursor:pointer;font-size:18px;font-weight:400;line-height:1.21;margin-top:210px;min-height:50px;transition:opacity .6s;width:100%}.auth__button:hover{opacity:.8}@media screen and (max-width:425px){.auth__button{font-size:16px;margin-top:175px;width:80%}}.auth__button_disabled{color:rgba(0,0,0,.15)}.auth__signin{color:#fff;font-size:14px;font-weight:400;line-height:1.21;text-align:center}.auth__link{color:#fff;text-decoration:none;transition:opacity .6s}.auth__link:hover{opacity:.6}.auth__error{all:unset;color:red;font-size:.75em;font-weight:400;justify-content:left;line-height:1.15;min-height:30px;opacity:0;transition:.3s}.auth__error_visible{opacity:1}.auth{font-family:Inter,Arial,sans-serif;margin:auto;max-width:358px;padding:100px 0}@media screen and (max-width:425px){.auth{padding:70px 0}}@media @import url(./blocks/auth/__button/_disabled/auth__button_disabled.css){.auth__button{background-color:#000;background-color:#fff;border:none;border-radius:2px;cursor:pointer;font-size:18px;font-weight:400;line-height:1.21;margin-top:210px;min-height:50px;transition:opacity .6s;width:100%}.auth__button:hover{opacity:.8}@media screen and (max-width:425px){.auth__button{font-size:16px;margin-top:175px;width:80%}}} -/*# sourceMappingURL=main.1ff13f9f.css.map*/ \ No newline at end of file diff --git a/frontend/build/static/css/main.1ff13f9f.css.map b/frontend/build/static/css/main.1ff13f9f.css.map deleted file mode 100644 index a8368e6c6..000000000 --- a/frontend/build/static/css/main.1ff13f9f.css.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/css/main.1ff13f9f.css","mappings":"AAAA,2EAA2E,CAU3E,KAEE,6BAA8B,CAD9B,gBAEF,CASA,KACE,QACF,CAMA,KACE,aACF,CAOA,GACE,aAAc,CACd,cACF,CAUA,GACE,kBAAuB,CACvB,QAAS,CACT,gBACF,CAOA,IACE,+BAAiC,CACjC,aACF,CASA,EACE,wBACF,CAOA,YACE,kBAAmB,CACnB,yBAA0B,CAC1B,wCAAiC,CAAjC,gCACF,CAMA,SAEE,kBACF,CAOA,cAGE,+BAAiC,CACjC,aACF,CAMA,MACE,aACF,CAOA,QAEE,aAAc,CACd,aAAc,CACd,iBAAkB,CAClB,sBACF,CAEA,IACE,aACF,CAEA,IACE,SACF,CASA,IACE,iBACF,CAUA,sCAKE,mBAAoB,CACpB,cAAe,CACf,gBAAiB,CACjB,QACF,CAOA,aAEE,gBACF,CAOA,cAEE,mBACF,CAMA,gDAI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ADlB,cAAe,CAGf,cAAe,CADf,eAAgB,CAEhB,gBAAiB,CAPjB,gBAAiB,CADjB,eAAgB,CAShB,sBAAwB,CAVxB,UAYF,CAEA,oBACE,UACF,CAEA,oCACE,cAEE,cAAe,CACf,gBAAiB,CAFjB,SAGF,CACF,C","sources":["vendor/normalize.css","vendor/fonts/fonts.css","blocks/page/page.css","blocks/header/header.css","blocks/header/__logo/header__logo.css","blocks/header/__links/header__links.css","blocks/header/__link/header__link.css","blocks/header/__email/header__email.css","blocks/profile/profile.css","blocks/profile/__avatar/profile__avatar.css","blocks/profile/__info/profile__info.css","blocks/profile/__add-button/profile__add-button.css","blocks/profile/__edit-button/profile__edit-button.css","blocks/profile/__title/profile__title.css","blocks/profile/__subtitle/profile__subtitle.css","blocks/profile/__name/profile__name.css","blocks/profile/__avatar-overlay/profile__avatar-overlay.css","blocks/cards/cards.css","blocks/cards/__item/cards__item.css","blocks/cards/__image/cards__image.css","blocks/cards/__title/cards__title.css","blocks/cards/__description/cards__description.css","blocks/cards/__like/cards__like.css","blocks/cards/__trash/cards__trash.css","blocks/cards/__like-container/cards__like-container.css","blocks/cards/__like-counter/cards__like-counter.css","blocks/footer/footer.css","blocks/footer/__copyright/footer__copyright.css","blocks/popup/popup.css","blocks/popup/__close/popup__close.css","blocks/popup/__content/popup__content.css","blocks/popup/__field/popup__field.css","blocks/popup/__submit/popup__submit.css","blocks/popup/__title/popup__title.css","blocks/popup/__visible/popup__visible.css","blocks/popup/__input/popup__input.css","blocks/popup/__figure/popup__figure.css","blocks/popup/__description/popup__description.css","blocks/popup/__img/popup__img.css","blocks/popup/__content-img/popup__content-img.css","blocks/popup/_img/popup_img.css","blocks/popup/__error/popup__error.css","blocks/popup/__error/_visible/popup__error-visible.css","blocks/popup/__submit/_disabled/popup__submit_disabled.css","blocks/popup/__input/_valid_error/popup__input_type_error.css","blocks/popup/__tooltip-title/popup__tooltip-title.css","blocks/popup/__tooltip-img/popup__tooltip-img.css","blocks/auth/__title/auth__title.css","blocks/auth/__form/auth__form.css","blocks/auth/__input/auth__input.css","blocks/auth/__input/_valid_error/auth__input_valid_error.css","blocks/auth/__button/auth__button.css","blocks/auth/__button/_disabled/auth__button_disabled.css","blocks/auth/__signin/auth__signin.css","blocks/auth/__link/auth__link.css","blocks/auth/__error/auth__error.css","blocks/auth/__error/_visible/auth__error_visible.css","blocks/auth/auth.css"],"sourcesContent":["/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n\n/* Document\n ========================================================================== */\n\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n\n/**\n * Remove the margin in all browsers.\n */\n\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\n\nmain {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\n\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n ========================================================================== */\n\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\n\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n\n/**\n * Remove the gray background on active links in IE 10.\n */\n\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\n\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n\n/**\n * Remove the border on images inside links in IE 10.\n */\n\nimg {\n border-style: none;\n}\n\n/* Forms\n ========================================================================== */\n\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\nbutton,\ninput { /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\nbutton,\nselect { /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\n\nbutton,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\n\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\n\nbutton:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n\n[type=\"checkbox\"],\n[type=\"radio\"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n[type=\"search\"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\n\ndetails {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\n\nsummary {\n display: list-item;\n}\n\n/* Misc\n ========================================================================== */\n\n/**\n * Add the correct display in IE 10+.\n */\n\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n\n[hidden] {\n display: none;\n}\n","@font-face {\n src:\n url(./Inter-Black.woff2) format('woff2'),\n url(./Inter-Black.woff2) format('woff');\n font-family: 'Inter';\n font-weight: 900;\n font-style: normal;\n }\n\n @font-face {\n src:\n url(./Inter-Medium.woff2) format('woff2'),\n url(./Inter-Medium.woff) format('woff');\n font-family: 'Inter';\n font-weight: 500;\n font-style: normal;\n }\n\n @font-face {\n src:\n url(./Inter-Regular.woff2) format('woff2'),\n url(./Inter-Regular.woff) format('woff');\n font-family: 'Inter';\n font-weight: 400;\n font-style: normal;\n }\n\n\n",".page {\n min-width: 320px;\n max-width: 1280px;\n margin: 0 auto;\n font-family: 'Inter', Arial, sans-serif;\n background-color: #000000;\n color: #FFFFFF;\n box-sizing: border-box;\n text-rendering: optimizeLegibility;\n}\n",".header {\n width: calc(100% - 2 * 200px);\n margin: 0 auto;\n border-bottom: 1px solid rgb(84, 84, 84, 0.7);\n display: flex;\n justify-content: space-between;\n}\n\n@media (min-width: 1024px) and (max-width: 1279px) {\n .header {\n width: 880px;\n }\n}\n\n@media (min-width: 768px) and (max-width: 1023px) {\n .header {\n width: calc(100% - 2 * 100px);\n }\n}\n\n@media screen and (max-width: 767px) {\n .header {\n width: 100%;\n }\n}\n ",".header__logo {\n width: 142px;\n min-height: 33px;\n margin: 45px 0 41px;\n background-image: url(../../../images/logo.svg);\n}\n\n@media screen and (max-width: 767px) {\n .header__logo {\n max-width: 104px;\n min-height: 24px;\n margin: 20px 0 31px 27px;\n background-size: cover;\n }\n}\n \n\n",".header__links {\n display: flex;\n align-items: start;\n margin: 0;\n padding: 0;\n}",".header__link {\n margin: 0;\n padding: 50px 10px 0 24px;\n color: #fff;\n text-decoration: none;\n font-size: 18px;\n line-height: 1.2;\n transition: opacity 0.3s;\n background-color: transparent;\n border: none;\n cursor: pointer;\n}\n\n.header__link:hover {\n opacity: 0.6;\n}\n\n@media screen and (max-width: 767px) {\n .header__link {\n padding: 30px 30px 0 10px;\n font-size: 14px;\n }\n}",".header__email {\n margin: 50px 0 0 0;\n padding: 0;\n font-weight: 500;\n font-size: 18px;\n line-height: 1.2;\n}\n\n@media screen and (max-width: 767px) {\n .header__email {\n margin: 25px 0 0 0;\n }\n}",".profile {\n width: calc(100% - 2 * 200px);\n margin: 0 auto;\n display: flex;\n}\n\n\n@media (min-width: 1024px) and (max-width: 1279px) {\n .profile {\n width: 880px;\n }\n}\n\n\n@media (min-width: 768px) and (max-width: 1023px) {\n .profile {\n width: calc(100% - 2 * 100px);\n }\n}\n\n\n@media screen and (max-width: 767px) {\n .profile {\n width: calc(100% - 2 * 19px);\n flex-direction: column;\n }\n}\n ",".profile__avatar {\n width: 120px;\n height: 120px;\n border-radius: 50%;\n margin: 0;\n}\n\n@media (min-width: 768px) and (max-width: 1279px) {\n .profile__avatar {\n margin-right: auto 0;\n }\n}\n\n@media screen and (max-width: 767px) {\n .profile__avatar {\n margin: o auto;\n align-items: center;\n object-position: center center;\n }\n}",".profile__info {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n box-sizing: border-box;\n margin: 62px 200px 0 0;\n padding: 0;\n}\n\n\n@media (min-width: 768px) and (max-width: 1023px) {\n .profile__info {\n margin: 62px auto 0 0;\n }\n}\n\n\n@media screen and (max-width: 767px) {\n .profile__info {\n margin: 0 auto;\n }\n}\n ",".profile__add-button {\n width: 150px;\n height: 50px;\n border: 2px solid #FFFFFF;\n border-radius: 2px;\n background-image: url(../../../images/add-button.svg);\n background-position: 50%;\n background-repeat: no-repeat;\n background-color: black;\n margin-top: 70px;\n padding: 0;\n}\n\n.profile__add-button:hover {\n opacity: 0.6;\n transition: opacity 0.2s linear;\n cursor: pointer;\n}\n \n@media screen and (max-width: 767px) {\n .profile__add-button {\n width: 100%;\n margin-top: 30px;\n background-size: 16px;\n }\n}\n ",".profile__edit-button {\n width: 24px;\n height: 24px;\n border: 1px solid #FFFFFF;\n background-image: url(../../../images/edit.svg);\n background-position: 50%;\n background-repeat: no-repeat;\n background-color: #000;\n margin-bottom: 12px;\n}\n\n.profile__edit-button:hover {\n opacity: 0.8;\n transition: opacity 0.2s linear;\n cursor: pointer;\n}\n \n@media screen and (max-width: 767px) {\n .profile__edit-button {\n width: 18px;\n height: 18px;\n margin-bottom: 5px;\n }\n}\n ",".profile__title {\n font-style: normal;\n font-weight: 500;\n font-size: 42px;\n line-height: 48px;\n margin: 0;\n max-width: 294px;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n}\n\n@media (min-width: 768px) and (max-width: 1023px) {\n .profile__title {\n font-size: 32px;\n }\n}\n\n\n@media screen and (max-width: 767px) {\n .profile__title {\n font-size: 27px;\n line-height: 33px;\n text-align: center;\n max-width: 189px;\n }\n}",".profile__subtitle {\n font-style: normal;\n font-weight: 400;\n font-size: 18px;\n line-height: 22px;\n margin: 5px 0 0 0;\n min-width: 336px;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n}\n\n\n@media (min-width: 768px) and (max-width: 1023px) {\n .profile__subtitle {\n font-size: 15px;\n }\n}\n\n@media screen and (max-width: 767px) {\n .profile__subtitle {\n font-size: 14px;\n line-height: 17px;\n text-align: center;\n margin: 14px auto 0;\n min-width: 289px;\n }\n}",".profile__name {\n display: flex;\n flex-direction: row;\n gap: 18px;\n align-items: flex-end;\n margin-right: 45px;\n}\n\n@media screen and (max-width: 767px) {\n .profile__name {\n gap: 10px;\n margin: 0 auto;\n }\n}\n ",".profile__avatar-overlay {\n display: flex;\n position: relative;\n width: 120px;\n height: 120px;\n border-radius: 50%;\n margin: 36px 30px 0 0;\n overflow: hidden;\n background-color: transparent;\n padding: 0;\n border: none;\n background-size: 26px 26px;\n}\n\n.profile__avatar-overlay::before {\n content: '';\n position: absolute;\n z-index: 1;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgba(0,0,0, .8);\n background-image: url(../../../images/edit-avatar.svg);\n background-size: 26px 26px;\n background-repeat: no-repeat;\n background-position: center;\n opacity: 0;\n}\n\n\n.profile__avatar-overlay:hover::before {\n opacity: 1;\n transition: opasity .3s linear;\n cursor: pointer;\n}\n\n@media screen and (max-width: 767px) {\n .profile__avatar-overlay {\n margin: 36px 79px 20px;\n }\n}",".cards {\n margin: 52px auto 67px;\n display: grid;\n grid-template-columns: repeat(auto-fit, 282px);\n max-width: 880px;\n gap: 20px 17px;\n padding: 0;\n}\n\n@media screen and (max-width: 1023px) {\n .cards {\n justify-content: center;\n }\n}\n\n@media screen and (max-width: 767px) {\n .cards {\n margin: 36px auto 48px;\n max-width: 282px;\n }\n}\n ",".cards__item {\n width: 282px;\n background: #FFFFFF;\n border-radius: 10px;\n position: relative;\n}",".cards__image {\n width: 282px;\n height: 282px;\n object-fit: cover;\n border-radius: 10px 10px 0 0;\n}\n\n.cards__image:hover {\n cursor: pointer;\n}",".cards__title {\n color: #000000;\n font-style: normal;\n font-weight: 900;\n font-size: 24px;\n line-height: 29px;\n margin: 0;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n}",".cards__description {\n align-items: center;\n box-sizing: border-box;\n display: flex;\n justify-content: space-between;\n padding: 0;\n margin: 22px 20px 25px 21px;\n width: 241px;\n}",".cards__like {\n height: 19px;\n width: 22px;\n background-image: url(../../../images/like.svg);\n background-position: 50%;\n background-repeat: no-repeat;\n background-color: white;\n border: none;\n padding: 15px;\n}\n\n.cards__like:hover {\n opacity: 0.5;\n transition: opacity 0.2s linear;\n cursor: pointer;\n}\n\n.cards__like_active {\n background-image: url(../../../images/like-active.svg);\n} \n\n",".cards__trash {\n background-image: url(../../../images/trash.svg);\n background-position: 50%;\n background-color: transparent;\n background-repeat: no-repeat;\n border: none;\n height: 18px;\n width: 19px;\n position: absolute;\n right: 20px;\n top: 20px;\n padding: 0;\n margin: 0;\n}\n\n.cards__trash:hover {\n opacity: 0.8;\n transition: opacity 0.2s linear;\n cursor: pointer;\n }",".cards__like-container {\n display: flex;\n flex-direction: column;\n}",".cards__like-counter {\n font-size: .81em;\n font-weight: 400;\n line-height: 1.23;\n margin: 0;\n padding-top: 3px;\n text-align: center;\n color: black;\n}",".footer {\n width: calc(100% - 2 * 200px);\n margin: 0 auto 60px;\n}\n\n@media (min-width: 768px) and (max-width: 1023px) {\n .footer {\n width: calc(100% - 2 * 100px);\n }\n}\n\n@media screen and (max-width: 767px) {\n .footer {\n width: calc(100% - 2 * 16px);\n margin-bottom: 36px;\n }\n}\n ",".footer__copyright {\n color: #545454;\n font-style: normal;\n font-weight: 400;\n font-size: 18px;\n line-height: 22px;\n max-width: 318px;\n margin: 0;\n}\n\n@media screen and (max-width: 767px) {\n .footer__copyright {\n font-size: 14px;\n line-height: 17px;\n }\n}\n \n",".popup {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: rgba(0, 0, 0, .3);\n opacity: 0;\n transition: visibility .5s,opacity .5s linear;\n visibility: hidden;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n}\n",".popup__close {\n position: absolute;\n right: -40px;\n top: -40px;\n border: none;\n background: transparent;\n background-image: url(../../../images/close.svg);\n width: 32px;\n height: 32px;\n background-repeat: no-repeat;\n}\n\n@media screen and (max-width: 767px) {\n .popup__close {\n width: 20px;\n height: 20px;\n right: 0;\n top: -36px;\n background-size: contain;\n background-repeat: no-repeat;\n }\n}\n\n.popup__close:hover {\n opacity: 0.8;\n transition: opacity 0.2s linear;\n cursor: pointer;\n}",".popup__content {\n background: white;\n width: 430px;\n border-radius: 10px;\n padding: 34px 36px 37px;\n position: relative;\n display: flex;\n flex-direction: column;\n box-sizing: border-box;\n}\n\n@media screen and (max-width: 767px) {\n .popup__content {\n width: 282px;\n padding: 25px 22px;\n }\n}",".popup__field {\n width: 100%;\n outline: none;\n margin: 0;\n padding: 0;\n}",".popup__submit {\n background-color: #000000;\n width: 100%;\n height: 50px;\n color: white;\n font-weight: 400;\n font-size: 18px;\n line-height: 22px;\n text-align: center;\n border: none;\n margin-top: 18px;\n}\n\n.popup__submit:hover {\n opacity: 0.8;\n transition: opacity 0.2s linear;\n cursor: pointer;\n}\n\n@media screen and (max-width: 767px) {\n .popup__submit {\n height: 46px;\n font-size: 14px;\n line-height: 17px;\n margin-top: 15px;\n }\n}",".popup__title {\n font-style: normal;\n font-weight: 900;\n font-size: 24px;\n line-height: 29px;\n color: #000000;\n margin: 0 0 40px;\n}\n\n@media screen and (max-width: 767px) {\n .popup__title {\n font-size: 18px;\n width: 238px;\n line-height: 22px;\n margin-bottom: 60px;\n }\n}",".popup__visible {\n opacity: 1;\n visibility: visible;\n}",".popup__input {\n outline: none;\n border: 0;\n width: 100%;\n margin-bottom: 5px;\n padding: 0;\n font-weight: 400;\n font-size: 14px;\n line-height: 17px;\n border-bottom: 1px solid rgba(0, 0, 0, .2);\n padding-bottom: 13px;\n}",".popup__figure {\n display: flex;\n flex-direction: column;\n margin: 0;\n}",".popup__description {\n font-style: normal;\n font-weight: 400;\n font-size: 12px;\n line-height: 15px;\n margin: 0;\n padding-top: 10px;\n}",".popup__img {\n max-height: 75vh;\n max-width: 75vw;\n}",".popup__content-img {\n position: relative;\n}",".popup_img {\n background:rgba(0,0,0,.9);\n}",".popup__error {\n font-weight: 400;\n font-size: 12px;\n line-height: 15px;\n color: #f00;\n transition: .3s;\n min-height: 30px;\n padding: 0;\n}",".popup__error_visible {\n opacity: 1;\n}",".popup__submit_disabled {\n background-color: white;\n color: rgba(0, 0, 0, 0.15);\n border: 1px solid rgba(0, 0, 0, 0.15);\n border-radius: 2px;\n pointer-events: none;\n}",".popup__input_type_error {\n border-bottom: 1px solid rgba(255, 0, 0, 1);\n }",".popup__tooltip-title {\n all: unset;\n color: #000;\n text-align: center;\n font-size: 24px;\n font-style: normal;\n font-weight: 900;\n line-height: normal;\n max-width: 358px;\n margin: 0 auto 60px;\n}",".popup__tooltip-img {\n all: unset;\n width: 120px;\n height: 120px;\n margin: 60px auto 32px;\n}",".auth__title {\n margin: 0 0 10px;\n font-weight: 900;\n font-size: 24px;\n line-height: 1.21;\n color: #fff;\n text-align: center;\n}\n\n@media screen and (max-width: 425px) {\n .auth__title {\n font-size: 20px;\n line-height: 1.2;\n }\n}",".auth__form {\n margin: 0;\n font-weight: 400;\n font-size: 14px;\n line-height: 1.21;\n text-align: center;\n color: #fff;\n}",".auth__input {\n width: 100%;\n height: 27px;\n margin-top: 30px;\n border: none;\n border-bottom: 1px solid #fff;\n outline: none;\n font-weight: 400;\n font-size: 14px;\n line-height: 1.21;\n background-color: #000;\n color: #fff;\n}\n\n@media screen and (max-width: 425px) {\n .auth__input {\n width: 80%;\n margin-top: 25px;\n }\n}",".auth__input_valid_error {\n border-bottom: 1px solid rgba(255, 0, 0, 1);\n}",".auth__button {\n width: 100%;\n min-height: 50px;\n margin-top: 210px;\n border: none;\n background-color: #000;\n cursor: pointer;\n border-radius: 2px;\n font-weight: 400;\n font-size: 18px;\n line-height: 1.21;\n transition: opacity 0.6s;\n background-color: #fff;\n}\n\n.auth__button:hover {\n opacity: 0.8;\n}\n\n@media screen and (max-width: 425px) {\n .auth__button {\n width: 80%;\n font-size: 16px;\n margin-top: 175px;\n }\n}",".auth__button_disabled {\n color: rgba(0, 0, 0, 0.15);\n}",".auth__signin {\n font-weight: 400;\n font-size: 14px;\n line-height: 1.21;\n text-align: center;\n color: #fff;\n}",".auth__link {\n text-decoration: none;\n transition: opacity 0.6s;\n color: #fff;\n}\n\n.auth__link:hover {\n opacity: 0.6;\n}",".auth__error {\n all: unset;\n font-weight: 400;\n font-size: .75em;\n line-height: 1.15;\n color: #f00;\n opacity: 0;\n transition: .3s;\n min-height: 30px;\n justify-content: left;\n}",".auth__error_visible {\n opacity: 1;\n}",".auth {\n font-family: \"Inter\", \"Arial\", sans-serif;\n margin: auto;\n max-width: 358px;\n padding: 100px 0;\n}\n\n@media screen and (max-width: 425px) {\n .auth {\n padding: 70px 0;\n }\n}"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/frontend/build/static/js/main.b5fa101b.js b/frontend/build/static/js/main.b5fa101b.js deleted file mode 100644 index 04c2fb64e..000000000 --- a/frontend/build/static/js/main.b5fa101b.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see main.b5fa101b.js.LICENSE.txt */ -!function(){"use strict";var e={463:function(e,n,t){var r=t(791),a=t(296);function l(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t