diff --git a/backend/app.js b/backend/app.js index ac8a467..a5a517a 100644 --- a/backend/app.js +++ b/backend/app.js @@ -7,6 +7,8 @@ const { loginValidation, createUserValidation } = require('./middlewares/validat const { requestLogger, errorLogger } = require('./middlewares/loggers'); +const NotFoundError = require('./errors/not-found-err'); + const userRoutes = require('./routes/users'); const cardRouter = require('./routes/cards'); @@ -27,10 +29,8 @@ mongoose.connect('mongodb://127.0.0.1:27017/mestodb', { app.use(express.json()); app.use(requestLogger); -app.use('/404', (req, res, next) => { - res.status(404).send({ message: 'Страница не найдена' }); - - next(); +app.use('*', (req, res, next) => { + next(new NotFoundError('Страница не найдена')); }); app.post('/signin', loginValidation, login); diff --git a/backend/package-lock.json b/backend/package-lock.json index e67615a..3b6cdf6 100644 --- a/backend/package-lock.json +++ b/backend/package-lock.json @@ -12,8 +12,6 @@ "bcrypt": "^5.1.1", "celebrate": "^15.0.1", "cors": "^2.8.5", - "crypto": "^1.0.1", - "dotenv": "^16.3.1", "express": "^4.18.2", "express-winston": "^4.2.0", "jsonwebtoken": "^9.0.2", @@ -878,12 +876,6 @@ "node": ">= 8" } }, - "node_modules/crypto": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/crypto/-/crypto-1.0.1.tgz", - "integrity": "sha512-VxBKmeNcqQdiUQUW2Tzq0t377b54N2bMtXO/qiLa+6eRRmmC4qT3D4OnTGoT/U6O9aklQ/jTwbOtRMTTY8G0Ig==", - "deprecated": "This package is no longer supported. It's now a built-in Node module. If you've depended on crypto, you should switch to the one that's built-in." - }, "node_modules/debug": { "version": "4.3.4", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", @@ -964,17 +956,6 @@ "node": ">=6.0.0" } }, - "node_modules/dotenv": { - "version": "16.3.1", - "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.3.1.tgz", - "integrity": "sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ==", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/motdotla/dotenv?sponsor=1" - } - }, "node_modules/ecdsa-sig-formatter": { "version": "1.0.11", "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", diff --git a/backend/package.json b/backend/package.json index f98d0d4..3f88ccf 100644 --- a/backend/package.json +++ b/backend/package.json @@ -23,8 +23,6 @@ "bcrypt": "^5.1.1", "celebrate": "^15.0.1", "cors": "^2.8.5", - "crypto": "^1.0.1", - "dotenv": "^16.3.1", "express": "^4.18.2", "express-winston": "^4.2.0", "jsonwebtoken": "^9.0.2", diff --git a/frontend/build/asset-manifest.json b/frontend/build/asset-manifest.json deleted file mode 100644 index 4efb4d9..0000000 --- a/frontend/build/asset-manifest.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "files": { - "main.css": "/static/css/main.a691e8d2.css", - "main.js": "/static/js/main.2f3c9ca9.js", - "static/media/Inter-Medium.woff": "/static/media/Inter-Medium.9053572c46aeb4b16caa.woff", - "static/media/Inter-Black.woff": "/static/media/Inter-Black.c6938660eec019fefd68.woff", - "static/media/Inter-Regular.woff": "/static/media/Inter-Regular.8c206db99195777c6769.woff", - "static/media/Inter-Medium.woff2": "/static/media/Inter-Medium.293fd13dbca5a3e450ef.woff2", - "static/media/Inter-Black.woff2": "/static/media/Inter-Black.15ca31c0a2a68f76d2d1.woff2", - "static/media/Inter-Regular.woff2": "/static/media/Inter-Regular.c8ba52b05a9ef10f4758.woff2", - "static/media/logo-white.svg": "/static/media/logo-white.ab0f4b930baa26c3efae5de416dea328.svg", - "static/media/cancel.svg": "/static/media/cancel.df8eddf661ff88f2d0efd3d570d14309.svg", - "static/media/like.svg": "/static/media/like.f9cbbc232f4ed178be38.svg", - "static/media/trash.svg": "/static/media/trash.823b0cf1b0b7e9cb7cad.svg", - "static/media/success.svg": "/static/media/success.1b6082f862eac35e2514460237d96ecc.svg", - "index.html": "/index.html", - "static/media/like_active.svg": "/static/media/like_active.d750ae7834bd9bfe5181.svg", - "static/media/profile-edit.svg": "/static/media/profile-edit.a086f758840ae814ecde.svg", - "static/media/close.svg": "/static/media/close.e7037ad5420e241f7a53.svg", - "static/media/edit.svg": "/static/media/edit.5f7df902c26d761a5259.svg", - "static/media/add.svg": "/static/media/add.9d4893b84ffe6c9d13b3.svg", - "main.a691e8d2.css.map": "/static/css/main.a691e8d2.css.map", - "main.2f3c9ca9.js.map": "/static/js/main.2f3c9ca9.js.map" - }, - "entrypoints": [ - "static/css/main.a691e8d2.css", - "static/js/main.2f3c9ca9.js" - ] -} \ No newline at end of file diff --git a/frontend/build/index.html b/frontend/build/index.html deleted file mode 100644 index 8f61dca..0000000 --- a/frontend/build/index.html +++ /dev/null @@ -1 +0,0 @@ -Mesto React
\ No newline at end of file diff --git a/frontend/build/static/css/main.a691e8d2.css b/frontend/build/static/css/main.a691e8d2.css deleted file mode 100644 index 3dc8cb5..0000000 --- a/frontend/build/static/css/main.a691e8d2.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-display:swap;font-family:Inter;font-style:normal;font-weight:400;src:url(/static/media/Inter-Regular.c8ba52b05a9ef10f4758.woff2) format("woff2"),url(/static/media/Inter-Regular.8c206db99195777c6769.woff) format("woff")}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:500;src:url(/static/media/Inter-Medium.293fd13dbca5a3e450ef.woff2) format("woff2"),url(/static/media/Inter-Medium.9053572c46aeb4b16caa.woff) format("woff")}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:900;src:url(/static/media/Inter-Black.15ca31c0a2a68f76d2d1.woff2) format("woff2"),url(/static/media/Inter-Black.c6938660eec019fefd68.woff) format("woff")}.page{background-color:#000;font-family:Inter,sans-serif;min-height:100vh;min-width:320px}.content{margin:0 auto;max-width:880px;padding:0 20px}.clickable{cursor:pointer;transition:opacity .2s linear}.clickable:hover{opacity:.6}#root{margin:0 auto;max-width:880px;min-height:100vh;padding-bottom:150px;position:relative}#root,.header{box-sizing:border-box}.header{border-bottom:1px solid rgba(84,84,84,.7);display:flex;justify-content:space-between;padding:45px 27px;width:100%}@media screen and (max-width:426px){.header{min-height:56px;padding-top:28px}}.header__link{display:block;max-width:142px}.header__logo{display:block}@media screen and (max-width:426px){.header__logo{width:103px}}.header__button-container{align-items:center;display:flex;gap:24px}.header__button{background-color:initial;border:0;color:#a9a9a9;font-family:inherit;padding:0}.header__route-link{color:#fff;font-size:18px;line-height:22px;text-decoration:none;transition:opacity .2s ease-in-out}.header__route-link:hover{opacity:.6}.header__email{color:#fff;font-size:18px;font-weight:500;line-height:22px;margin:0}.profile{align-items:center;display:flex;padding-top:40px}@media screen and (max-width:768px){.profile{flex-direction:column;text-align:center}}.profile__edit{align-items:baseline;display:flex;gap:20px}@media screen and (max-width:768px){.profile__edit{margin-bottom:14px}}@media screen and (max-width:426px){.profile__edit{gap:10px;margin-bottom:6px}}.profile__avatar-container{border-radius:50%;margin-right:30px;overflow:hidden;position:relative}@media screen and (max-width:768px){.profile__avatar-container{margin-bottom:27px}}.profile__avatar-edit{background-color:#000;background-image:url(/static/media/profile-edit.a086f758840ae814ecde.svg);background-position:50%;background-repeat:no-repeat;background-size:23px 23px;bottom:0;left:0;opacity:0;position:absolute;right:0;top:0;transition:opacity .2s ease-in-out}.profile__avatar-edit:hover{cursor:pointer;opacity:.8}.profile__avatar{display:block;height:120px;object-fit:cover;width:120px}@media screen and (max-width:768px){.profile__avatar{margin:0}}.profile__info{display:flex;flex:1 1;flex-direction:column}@media screen and (max-width:768px){.profile__info{align-items:center;margin-bottom:36px;width:100%}}@media screen and (max-width:426px){.profile__info{margin-bottom:29px}}.profile__name{color:#fff;font-size:42px;font-weight:500;line-height:1.14;margin:0;max-width:350px;overflow:hidden;position:relative;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:426px){.profile__name{font-size:27px;line-height:33px;margin-left:24px;max-width:200px}}.profile__description{color:#fff;font-size:18px;line-height:22px;margin:0;max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:425px){.profile__description{font-size:14px;max-width:282px}}.profile__edit-button{align-items:center;background-color:#000;background-image:url(/static/media/edit.5f7df902c26d761a5259.svg);background-position:50%;background-repeat:no-repeat;border:1px solid #fff;box-sizing:border-box;display:flex;height:24px;justify-content:center;width:24px}@media screen and (max-width:426px){.profile__edit-button{background-size:7.5px 7.5px;height:18px;width:18px}}.profile__add-button{align-items:center;background-color:#000;background-image:url(/static/media/add.9d4893b84ffe6c9d13b3.svg);background-position:50%;background-repeat:no-repeat;border:2px solid #fff;border-radius:2px;box-sizing:border-box;display:flex;height:50px;justify-content:center;margin-left:auto;padding:0;width:150px}@media screen and (max-width:768px){.profile__add-button{margin:0 auto;width:50%}}@media screen and (max-width:426px){.profile__add-button{background-size:16px 16px;width:100%}}.cards{padding-top:50px}@media screen and (max-width:426px){.cards{padding-top:36px}}.cards__list{grid-gap:20px 17px;display:grid;grid-template-columns:repeat(3,minmax(auto,282px));grid-template-rows:repeat(2,auto);list-style-type:none;margin:0;padding:0}@media screen and (max-width:768px){.cards__list{grid-template-columns:repeat(2,minmax(auto,282px));grid-template-rows:repeat(3,auto);justify-content:center}}@media screen and (max-width:426px){.cards__list{grid-template-columns:minmax(auto,282px)}}.card{background-color:#fff;border-radius:10px;box-sizing:border-box;min-height:361px;overflow:hidden;position:relative}.card__image{cursor:pointer;display:block;height:282px;object-fit:cover;width:100%}.card__info{align-items:center;box-sizing:border-box;display:flex;justify-content:space-between;padding:25px 20px}.card__trash-button{background-color:initial;background-image:url(/static/media/trash.823b0cf1b0b7e9cb7cad.svg);background-position:50%;background-repeat:no-repeat;background-size:contain;border:0;height:19px;outline:none;position:absolute;right:20px;top:20px;width:18px}.card__trash-button:hover{opacity:.6}.card__name{color:#000;font-size:24px;font-weight:900;line-height:29px;margin:0;max-width:195px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.card__like-wrapper{align-items:center;display:flex;flex-direction:column}.card__like{background-color:#fff;background-image:url(/static/media/like.f9cbbc232f4ed178be38.svg);background-position:50%;background-repeat:no-repeat;background-size:contain;border:0;cursor:pointer;min-height:19px;min-width:22px;padding:0;transition:opacity .2s linear}.card__like:hover{opacity:.5}.card__like-number{color:#000;font-size:13px;line-height:16px}.footer{bottom:0;padding:67px 20px 60px;position:absolute}@media screen and (max-width:426px){.footer{padding:48px 20px 36px}}.footer__copyright{color:#545454;font-size:18px;line-height:22px;margin:0}@media screen and (max-width:426px){.footer__copyright{font-size:14px;line-height:17px}}.login{flex:1 1;margin:0 auto;max-width:360px;padding-top:60px}.login__form{display:flex;flex-direction:column}.login__title{color:#fff;font-size:24px;font-weight:900;line-height:29px;margin-bottom:50px;text-align:center}.login__input{background-color:initial;border:0;border-bottom:2px solid #ccc;color:#fff;padding-bottom:13px}.login__input:focus{border-bottom:2px solid #fff;outline:0}.login__input::-webkit-input-placeholder{color:#ccc;font-size:14px;line-height:17px}.login__input::placeholder{color:#ccc;font-size:14px;line-height:17px}.login__input:not(:last-of-type){margin-bottom:30px}.login__input:last-of-type{margin-bottom:216px}.login__submit{border:0;border-radius:2px;cursor:pointer;font-family:inherit;font-size:18px;line-height:22px;padding:14px 0;transition:opacity .2s ease-in-out}.login__submit:hover{opacity:.85}.login__description{color:#fff;font-size:14px;line-height:17px;margin:15px auto 0;text-decoration:none}.login__description:hover{text-decoration:underline}.popup{align-items:center;background-color:rgba(0,0,0,.5);bottom:0;display:flex;height:100vh;justify-content:center;left:0;max-width:100%;opacity:0;position:fixed;right:0;top:0;transition:all .2s linear;z-index:-1}.popup__container{background-color:#fff;border-radius:10px;box-sizing:border-box;display:block;margin:0 auto;min-height:330px;min-width:430px;padding:34px 36px 37px;position:relative}@media screen and (max-width:426px){.popup__container{min-height:322px;min-width:282px;padding:21px 22px}}.popup__title{font-size:24px;font-weight:900;line-height:29px;margin:0 0 50px}@media screen and (max-width:426px){.popup__title{font-size:18px;margin-bottom:70px}}.popup__form{display:flex;flex-direction:column;max-width:358px}@media screen and (max-width:426px){.popup__form{max-width:238px}}.popup__submit{background-color:#000;border:0;border-radius:2px;box-sizing:border-box;color:#fff;cursor:pointer;font-size:18px;height:50px;line-height:22px;margin:0;max-width:358px;padding:0;text-align:center;transition:all .2s linear}.popup__submit:hover{opacity:.8}@media screen and (max-width:426px){.popup__submit{font-size:14px;height:46px;line-height:17px}}.popup__input{border:0;border-bottom:1px solid rgba(0,0,0,.2);font-family:inherit;font-size:14px;outline:none;padding-bottom:8px}.popup__input,.popup__input:first-child,.popup__input:nth-child(2){margin-bottom:5px}@media screen and (max-width:426px){.popup__input:first-child,.popup__input:nth-child(2){margin-bottom:5px}}.popup__input_type_error{border-bottom:1px solid red}.profile-name-error{max-width:100%}.profile-email-error,.profile-name-error{color:red;font-family:Inter;font-size:12px;line-height:15px;margin-bottom:13px;min-height:3em;opacity:0;text-align:left}.profile-email-error{max-width:234px}.card-name-error{color:red;font-family:Inter;font-size:12px;line-height:15px;max-width:100%;min-height:3em;opacity:0;text-align:left}.avatar-link-error,.card-url-error{color:red;font-family:Inter;font-size:12px;line-height:15px;margin-bottom:13px;max-width:234px;min-height:3em;opacity:0;text-align:left}.profile-name-error_active{opacity:1}.popup__submit_inactive{background-color:initial;border:1px solid #000;color:#000;cursor:not-allowed;opacity:.2}.popup__submit_inactive:hover{opacity:.2}.popup__close-button{background-color:initial;background-image:url(/static/media/close.e7037ad5420e241f7a53.svg);background-position:50%;background-repeat:no-repeat;background-size:contain;border:0;height:32px;outline:none;position:absolute;right:-40px;top:-40px;width:32px}@media screen and (max-width:768px){.popup__close-button{height:20px;right:0;top:-38px;width:20px}}.popup-delete__container{min-height:180px}.popup-delete__text{font-size:24px;font-weight:900;line-height:29px;margin:0 0 38px}.popup-delete__submit{align-items:center;background-color:#000;border:0;color:#fff;display:flex;font-family:inherit;font-size:18px;justify-content:center;line-height:22px;min-height:50px;width:100%}.popup-edit-avatar__container{min-height:272px}.popup-image{align-items:center;background-color:rgba(0,0,0,.9);bottom:0;display:flex;height:100vh;justify-content:center;left:0;opacity:0;position:fixed;right:0;top:0;transition:all .2s linear;width:100%;z-index:-1}.popup-image__container{background-color:initial;box-sizing:border-box;display:block;min-height:330px;min-width:430px;padding:0;position:relative}@media screen and (max-width:426px){.popup-image__container{min-height:322px;min-width:282px;padding:21px 22px}}.popup-image__close-button{background-color:initial;background-image:url(/static/media/close.e7037ad5420e241f7a53.svg);background-position:50%;background-repeat:no-repeat;background-size:contain;border:0;height:32px;outline:none;position:absolute;right:-40px;top:-40px;width:32px}@media screen and (max-width:768px){.popup-image__close-button{height:20px;right:0;top:-38px;width:20px}}.popup-image__close-button-inactive{display:none}.popup-image__image{box-sizing:border-box;display:block;margin:0 auto;max-height:75vh;max-width:75vw;object-fit:cover;overflow:visible}.popup-image__picture-set{margin:0}.popup-image__caption{color:#fff;font-family:inherit;font-size:12px;line-height:15px;padding-top:10px}.popup-image_opened{opacity:1;z-index:1}.popup-info__container{padding:60px 36px}.popup-info__image{display:block;height:auto;margin:0 auto 32px;max-width:120px}.popup-info__title{font-size:24px;font-weight:900;line-height:29px;margin:0 auto;max-width:358px;text-align:center}.like_active{background-image:url(/static/media/like_active.d750ae7834bd9bfe5181.svg)}.popup_opened{opacity:1;z-index:1} -/*# sourceMappingURL=main.a691e8d2.css.map*/ \ No newline at end of file diff --git a/frontend/build/static/css/main.a691e8d2.css.map b/frontend/build/static/css/main.a691e8d2.css.map deleted file mode 100644 index d28be9d..0000000 --- a/frontend/build/static/css/main.a691e8d2.css.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/css/main.a691e8d2.css","mappings":"AAAA,2EAA2E,CAU1E,KAEG,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,CA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AIF,CCRA,0BACE,QACF,CCFA,sBAEE,UAAW,CADX,mBAAoB,CAEpB,cAAe,CACf,gBAAiB,CACjB,gBACF,CCNA,oBACE,SAAU,CACV,SACF,CCHA,uBACE,iBACF,CCFA,mBACE,aAAc,CAEd,WAAY,CAEZ,kBAAmB,CAHnB,eAIF,CCNA,mBACE,cAAe,CACf,eAAgB,CAChB,gBAAiB,CAEjB,aAAc,CAEd,eAAgB,CAHhB,iBAIF,CCRA,aACE,wEACF,CCFA,cACI,SAAU,CACV,SACF","sources":["vendor/normalize.css","vendor/fonts.css","blocks/page/page.css","blocks/content/content.css","blocks/clickable/clickable.css","blocks/root/root.css","blocks/header/header.css","blocks/header/__link/header__link.css","blocks/header/__logo/header__logo.css","blocks/header/__button-container/header__button-container.css","blocks/header/__button/header__button.css","blocks/header/__route-link/header__route-link.css","blocks/header/__email/header__email.css","blocks/profile/profile.css","blocks/profile/__edit/profile__edit.css","blocks/profile/__avatar-container/profile__avatar-container.css","blocks/profile/__avatar-edit/profile__avatar-edit.css","blocks/profile/__avatar/profile__avatar.css","blocks/profile/__info/profile__info.css","blocks/profile/__name/profile__name.css","blocks/profile/__description/profile__description.css","blocks/profile/__edit-button/profile__edit-button.css","blocks/profile/__add-button/profile__add-button.css","blocks/cards/cards.css","blocks/cards/__list/cards__list.css","blocks/card/card.css","blocks/card/__image/card__image.css","blocks/card/__info/card__info.css","blocks/card/__trash-button/card__trash-button.css","blocks/card/__name/card__name.css","blocks/card/__like-wrapper/card__like-wrapper.css","blocks/card/__like/card__like.css","blocks/card/__like-number/card__like-number.css","blocks/footer/footer.css","blocks/footer/__copyright/footer__copyright.css","blocks/login/login.css","blocks/login/__form/login__form.css","blocks/login/__title/login__title.css","blocks/login/__input/login__input.css","blocks/login/__submit/login__submit.css","blocks/login/__description/login__description.css","blocks/popup/popup.css","blocks/popup/__container/popup__container.css","blocks/popup/__title/popup__title.css","blocks/popup/__form/popup__form.css","blocks/popup/__submit/popup__submit.css","blocks/popup/__input/popup__input.css","blocks/popup/__input/_type_error/popup__input_type_error.css","blocks/profile-name-error/profile-name-error.css","blocks/profile-email-error/profile-email-error.css","blocks/card-name-error/card-name-error.css","blocks/avatar-link-error/avatar-link-error.css","blocks/card-url-error/card-url-error.css","blocks/profile-name-error/_active/profile-name-error_active.css","blocks/popup/__submit/_inactive/popup__submit_inactive.css","blocks/popup/__close-button/popup__close-button.css","blocks/popup-delete/__container/popup-delete__container.css","blocks/popup-delete/__text/popup-delete__text.css","blocks/popup-delete/__submit/popup-delete__submit.css","blocks/popup-edit-avatar/__container/popup-edit-avatar__container.css","blocks/popup-image/popup-image.css","blocks/popup-image/__container/popup-image__container.css","blocks/popup-image/__close-button/popup-image__close-button.css","blocks/popup-image/__close-button/_inactive/popup-image__close-button-inactive.css","blocks/popup-image/__image/popup-image__image.css","blocks/popup-image/__picture-set/popup-image__picture-set.css","blocks/popup-image/__caption/popup-image__caption.css","blocks/popup-image/_opened/popup-image_opened.css","blocks/popup-info/__container/popup-info__container.css","blocks/popup-info/__image/popup-info__image.css","blocks/popup-info/__title/popup-info__title.css","blocks/card/__like/_ative/like_active.css","blocks/popup/_opened/popup_opened.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\n html {\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 \n body {\n margin: 0;\n }\n \n /**\n * Render the `main` element consistently in IE.\n */\n \n main {\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 \n h1 {\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 \n hr {\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 \n pre {\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 \n a {\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 \n abbr[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 \n b,\n strong {\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 \n code,\n kbd,\n samp {\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 \n small {\n font-size: 80%;\n }\n \n /**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\n \n sub,\n sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n \n sub {\n bottom: -0.25em;\n }\n \n sup {\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 \n img {\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 \n button,\n input,\n optgroup,\n select,\n textarea {\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 \n button,\n input { /* 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 \n button,\n select { /* 1 */\n text-transform: none;\n }\n \n /**\n * Correct the inability to style clickable types in iOS and Safari.\n */\n \n button,\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 \n button::-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 \n button:-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 \n fieldset {\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 \n legend {\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 \n progress {\n vertical-align: baseline;\n }\n \n /**\n * Remove the default vertical scrollbar in IE 10+.\n */\n \n textarea {\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 \n details {\n display: block;\n }\n \n /*\n * Add the correct display in all browsers.\n */\n \n summary {\n display: list-item;\n }\n \n /* Misc\n ========================================================================== */\n \n /**\n * Add the correct display in IE 10+.\n */\n \n template {\n display: none;\n }\n \n /**\n * Add the correct display in IE 10.\n */\n \n [hidden] {\n display: none;\n }","@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url('./fonts/Inter-Regular.woff2') format('woff2'),\n url('./fonts/Inter-Regular.woff') format('woff');\n}\n \n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url('./fonts/Inter-Medium.woff2') format('woff2'),\n url('./fonts/Inter-Medium.woff') format('woff');\n}\n \n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 900;\n font-display: swap;\n src: url('./fonts/Inter-Black.woff2') format('woff2'),\n url('./fonts/Inter-Black.woff') format('woff');\n}",".page {\n font-family: 'Inter', sans-serif;\n background-color: #000;\n min-width: 320px;\n\n min-height: 100vh; \n}",".content {\n max-width: 880px; \n padding: 0 20px;\n margin: 0 auto; \n}",".clickable {\n cursor: pointer;\n transition: opacity .2s linear;\n}\n\n.clickable:hover {\n opacity: .6;\n}","#root {\n position: relative;\n max-width: 880px;\n margin: 0 auto;\n min-height: 100vh;\n box-sizing: border-box;\n\n padding-bottom: 150px;\n}",".header {\n box-sizing: border-box;\n display: flex;\n justify-content: space-between;\n width: 100%;\n padding: 45px 27px;\n padding-top: 45px;\n border-bottom: rgba(84, 84, 84, .7) 1px solid;\n}\n\n@media screen and (max-width: 426px) {\n .header {\n padding-top: 28px;\n min-height: 56px;\n } \n}",".header__link {\n display: block;\n max-width: 142px;\n}",".header__logo {\n display: block;\n}\n\n@media screen and (max-width: 426px) {\n .header__logo {\n width: 103px;\n }\n}",".header__button-container {\n display: flex;\n align-items: center;\n gap: 24px;\n}",".header__button {\n background-color: transparent;\n border: 0;\n color: #a9a9a9;\n font-family: inherit;\n padding: 0;\n}",".header__route-link {\n text-decoration: none;\n color: #fff;\n font-size: 18px;\n line-height: 22px;\n\n transition: opacity 0.2s ease-in-out;\n}\n\n.header__route-link:hover {\n opacity: 0.6;\n}",".header__email {\n color: #fff;\n margin: 0;\n font-size: 18px;\n line-height: 22px;\n font-weight: 500;\n}",".profile {\n display: flex;\n align-items: center;\n padding-top: 40px;\n}\n\n@media screen and (max-width: 768px) {\n .profile {\n flex-direction: column;\n text-align: center;\n }\n}",".profile__edit {\n display: flex;\n align-items: baseline;\n gap: 20px;\n}\n\n@media screen and (max-width: 768px) {\n .profile__edit {\n margin-bottom: 14px;\n }\n}\n\n@media screen and (max-width: 426px) {\n .profile__edit {\n margin-bottom: 6px;\n gap: 10px;\n }\n}",".profile__avatar-container {\n position: relative;\n border-radius: 50%;\n overflow: hidden;\n margin-right: 30px;\n}\n\n@media screen and (max-width: 768px) {\n .profile__avatar-container {\n margin-bottom: 27px;\n }\n}",".profile__avatar-edit {\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n left: 0;\n background-color: #000;\n opacity: 0;\n background-image: url(../../../images/svg/profile-edit.svg);\n background-repeat: no-repeat;\n background-position: center;\n background-size: 23px 23px;\n transition: opacity .2s ease-in-out;\n}\n\n.profile__avatar-edit:hover {\n cursor: pointer;\n opacity: .8;\n}",".profile__avatar {\n display: block;\n width: 120px;\n height: 120px;\n object-fit: cover;\n}\n\n@media screen and (max-width: 768px) {\n .profile__avatar {\n margin: 0;\n }\n}",".profile__info {\n display: flex;\n flex: 1;\n flex-direction: column;\n}\n\n@media screen and (max-width: 768px) {\n .profile__info {\n width: 100%;\n align-items: center;\n margin-bottom: 36px;\n }\n}\n\n@media screen and (max-width: 426px) {\n .profile__info {\n margin-bottom: 29px;\n }\n}",".profile__name {\n position: relative;\n font-weight: 500;\n font-size: 42px;\n line-height: 1.14;\n text-overflow: ellipsis;\n max-width: 350px;\n overflow: hidden;\n white-space: nowrap;\n color: #fff;\n margin: 0;\n}\n\n@media screen and (max-width: 426px) {\n .profile__name {\n max-width: 200px;\n font-size: 27px;\n line-height: 33px;\n margin-left: 24px;\n }\n}",".profile__description {\n font-size: 18px;\n line-height: 22px;\n text-overflow: ellipsis;\n max-width: 300px;\n overflow: hidden;\n white-space: nowrap;\n color: #fff;\n margin: 0;\n}\n\n@media screen and (max-width: 425px) {\n .profile__description {\n max-width: 282px;\n font-size: 14px;\n }\n}",".profile__edit-button {\n box-sizing: border-box;\n width: 24px;\n height: 24px;\n display: flex;\n justify-content: center;\n align-items: center;\n border: 1px solid #fff;\n background-image: url(../../../images/svg/edit.svg);\n background-repeat: no-repeat;\n background-position: center;\n background-color: #000;\n}\n\n@media screen and (max-width: 426px) {\n .profile__edit-button {\n width: 18px;\n height: 18px;\n background-size: 7.5px 7.5px;\n } \n}",".profile__add-button {\n display: flex;\n justify-content: center;\n align-items: center;\n box-sizing: border-box;\n width: 150px;\n height: 50px;\n background-image: url(../../../images/svg/add.svg);\n background-repeat: no-repeat;\n background-position: center;\n background-color: #000;\n border: 2px solid #fff;\n border-radius: 2px;\n margin-left: auto;\n padding: 0;\n}\n\n@media screen and (max-width: 768px) {\n .profile__add-button {\n margin: 0 auto;\n width: 50%;\n }\n}\n\n@media screen and (max-width: 426px) {\n .profile__add-button {\n width: 100%;\n background-size: 16px 16px;\n }\n}",".cards {\n padding-top: 50px;\n}\n\n@media screen and (max-width: 426px) {\n .cards{\n padding-top: 36px;\n }\n}",".cards__list {\n display: grid;\n grid-template-columns: repeat(3, minmax(auto, 282px));\n grid-template-rows: repeat(2, auto);\n grid-gap: 20px 17px;\n margin: 0;\n padding: 0;\n list-style-type: none;\n}\n\n@media screen and (max-width: 768px) {\n .cards__list {\n grid-template-columns: repeat(2, minmax(auto, 282px));\n grid-template-rows: repeat(3, auto);\n justify-content: center;\n }\n}\n\n@media screen and (max-width: 426px) {\n .cards__list {\n grid-template-columns: minmax(auto, 282px);\n }\n}",".card {\n position: relative;\n box-sizing: border-box;\n border-radius: 10px;\n overflow: hidden;\n min-height: 361px;\n background-color: #fff;\n}",".card__image {\n width: 100%;\n display: block;\n object-fit: cover;\n height: 282px;\n cursor: pointer;\n}",".card__info {\n display: flex;\n box-sizing: border-box;\n padding: 25px 20px 25px 20px;\n justify-content: space-between;\n align-items: center;\n}",".card__trash-button {\n background-image: url(../../../images/svg/trash.svg);\n position: absolute;\n top: 20px;\n right: 20px;\n background-size: contain;\n background-repeat: no-repeat;\n background-position: center;\n background-color: transparent;\n border: 0;\n outline: none;\n width: 18px;\n height: 19px;\n}\n\n.card__trash-button:hover {\n opacity: .6;\n}",".card__name {\n margin: 0;\n max-width: 195px;\n font-weight: 900;\n font-size: 24px;\n line-height: 29px;\n color: #000;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n}",".card__like-wrapper {\n display: flex;\n flex-direction: column;\n align-items: center;\n}",".card__like {\n background-image: url(../../../images/svg/like.svg);\n background-repeat: no-repeat;\n background-position: center;\n background-size: contain;\n min-width: 22px;\n min-height: 19px;\n background-color: #fff;\n border: 0;\n padding: 0;\n cursor: pointer;\n transition: opacity .2s linear;\n}\n\n.card__like:hover {\n opacity: .5;\n}",".card__like-number {\n font-size: 13px;\n line-height: 16px;\n color: #000;\n}",".footer {\n position: absolute;\n padding: 67px 20px 60px 20px;\n bottom: 0;\n}\n\n@media screen and (max-width: 426px) {\n .footer {\n padding: 48px 20px 36px 20px;\n }\n}",".footer__copyright {\n margin: 0;\n font-size: 18px;\n line-height: 22px;\n color: #545454;\n}\n\n\n@media screen and (max-width: 426px) {\n .footer__copyright {\n font-size: 14px;\n line-height: 17px;\n }\n}\n",".login {\n max-width: 360px;\n margin: 0 auto;\n padding-top: 60px;\n flex: 1; \n}",".login__form {\n display: flex;\n flex-direction: column;\n}",".login__title {\n color: #fff;\n text-align: center;\n font-size: 24px;\n font-weight: 900;\n line-height: 29px;\n margin-bottom: 50px;\n}",".login__input {\n background-color: transparent;\n padding-bottom: 13px;\n border: 0;\n border-bottom: 2px solid #ccc;\n\n color: #fff;\n}\n\n.login__input:focus {\n outline: 0;\n border-bottom: 2px solid #fff;\n}\n\n.login__input::placeholder {\n color: #ccc;\n font-size: 14px;\n line-height: 17px;\n}\n\n.login__input:not(:last-of-type) {\n margin-bottom: 30px;\n}\n\n.login__input:last-of-type {\n margin-bottom: 216px;\n}",".login__submit {\n border: 0;\n font-family: inherit;\n font-size: 18px;\n line-height: 22px;\n padding: 14px 0;\n border-radius: 2px;\n cursor: pointer;\n\n transition: opacity 0.2s ease-in-out;\n}\n\n.login__submit:hover {\n opacity: 0.85;\n}",".login__description {\n margin: 0 auto;\n margin-top: 15px;\n color: #fff;\n font-size: 14px;\n line-height: 17px;\n text-decoration: none;\n}\n\n.login__description:hover {\n text-decoration: underline;\n}",".popup {\n position: fixed;\n display: flex;\n justify-content: center;\n align-items: center;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n max-width: 100%;\n height: 100vh;\n background-color: rgba(0, 0, 0, .5);\n opacity: 0;\n z-index: -1;\n\n transition: all 0.2s linear;\n}\n\n\n",".popup__container {\n position: relative;\n display: block;\n box-sizing: border-box;\n min-width: 430px;\n min-height: 330px;\n margin: 0 auto;\n border-radius: 10px;\n background-color: #fff;\n padding: 34px 36px 37px 36px;\n}\n\n@media screen and (max-width: 426px) {\n .popup__container {\n min-width: 282px;\n min-height: 322px;\n padding: 21px 22px;\n }\n}",".popup__title {\n margin: 0;\n font-weight: 900;\n font-size: 24px;\n line-height: 29px;\n margin-bottom: 50px;\n}\n\n@media screen and (max-width: 426px) {\n .popup__title {\n font-size: 18px;\n margin-bottom: 70px;\n }\n}",".popup__form {\n display: flex;\n flex-direction: column;\n max-width: 358px;\n}\n\n@media screen and (max-width: 426px) {\n .popup__form {\n max-width: 238px;\n }\n}",".popup__submit {\n box-sizing: border-box;\n max-width: 358px;\n height: 50px;\n background-color: #000;\n border: 0;\n border-radius: 2px;\n color: #fff;\n padding: 0;\n margin: 0;\n font-size: 18px;\n line-height: 22px;\n cursor: pointer;\n text-align: center;\n transition: all .2s linear;\n}\n\n.popup__submit:hover {\n opacity: .8;\n}\n\n@media screen and (max-width: 426px) {\n .popup__submit {\n height: 46px;\n font-size: 14px;\n line-height: 17px;\n }\n}",".popup__input {\n border: 0;\n border-bottom: 1px solid rgba(0, 0, 0, 0.2);\n padding-bottom: 8px;\n outline: none;\n font-family: inherit;\n font-size: 14px;\n margin-bottom: 5px;\n}\n\n.popup__input:first-child {\n margin-bottom: 5px;\n}\n\n.popup__input:nth-child(2) {\n margin-bottom: 5px;\n}\n\n@media screen and (max-width: 426px) {\n .popup__input:first-child {\n margin-bottom: 5px;\n }\n}\n\n@media screen and (max-width: 426px) {\n .popup__input:nth-child(2) {\n margin-bottom: 5px;\n }\n}",".popup__input_type_error {\n border-bottom: 1px solid red;\n \n}",".profile-name-error {\n color: #FF0000;\n font-family: Inter;\n font-size: 12px;\n line-height: 15px;\n text-align: left;\n opacity: 0;\n margin-bottom: 13px;\n max-width: 100%;\n min-height: 3em;\n}",".profile-email-error {\n color: #FF0000;\n font-family: Inter;\n font-size: 12px;\n line-height: 15px;\n text-align: left;\n opacity: 0;\n margin-bottom: 13px;\n max-width: 234px;\n min-height: 3em;\n}",".card-name-error {\n color: #FF0000;\n font-family: Inter;\n font-size: 12px;\n line-height: 15px;\n text-align: left;\n opacity: 0;\n max-width: 100%;\n min-height: 3em;\n}",".avatar-link-error {\n color: #FF0000;\n font-family: Inter;\n font-size: 12px;\n line-height: 15px;\n text-align: left;\n opacity: 0;\n margin-bottom: 13px;\n max-width: 234px;\n min-height: 3em;\n}",".card-url-error {\n color: #FF0000;\n font-family: Inter;\n font-size: 12px;\n line-height: 15px;\n text-align: left;\n opacity: 0;\n margin-bottom: 13px;\n max-width: 234px;\n min-height: 3em;\n}",".profile-name-error_active {\n opacity: 1;\n}",".popup__submit_inactive {\n background-color: transparent;\n border: 1px #000 solid;\n color: #000;\n opacity: .2;\n cursor: not-allowed;\n}\n\n.popup__submit_inactive:hover {\n opacity: .2;\n}",".popup__close-button {\n position: absolute;\n background-image: url(../../../images/svg/close.svg);\n background-size: contain;\n background-repeat: no-repeat;\n background-position: center;\n background-color: transparent;\n border: 0;\n outline: none;\n width: 32px;\n height: 32px;\n top: -40px;\n right: -40px;\n}\n\n@media screen and (max-width: 768px) {\n .popup__close-button {\n width: 20px;\n height: 20px;\n top: -38px;\n right: 0;\n }\n}",".popup-delete__container {\n min-height: 180px;\n}",".popup-delete__text {\n font-weight: 900;\n font-size: 24px;\n line-height: 29px;\n margin: 0;\n margin-bottom: 38px;\n}",".popup-delete__submit {\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: center;\n border: 0;\n background-color: #000;\n color: #fff;\n font-family: inherit;\n font-size: 18px;\n line-height: 22px;\n min-height: 50px;\n}",".popup-edit-avatar__container {\n min-height: 272px;\n}",".popup-image {\n position: fixed;\n display: flex;\n justify-content: center;\n align-items: center;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 100vh;\n background-color: rgba(0, 0, 0, .9);\n opacity: 0;\n z-index: -1;\n \n transition: all 0.2s linear;\n }",".popup-image__container {\n position: relative;\n display: block;\n box-sizing: border-box;\n min-width: 430px;\n min-height: 330px;\n background-color: transparent;\n padding: 0;\n }\n\n\n @media screen and (max-width: 426px) {\n .popup-image__container {\n min-width: 282px;\n min-height: 322px;\n padding: 21px 22px;\n }\n }",".popup-image__close-button {\n position: absolute;\n background-image: url(../../../images/svg/close.svg);\n background-size: contain;\n background-repeat: no-repeat;\n background-position: center;\n background-color: transparent;\n border: 0;\n outline: none;\n width: 32px;\n height: 32px;\n top: -40px;\n right: -40px;\n }\n \n @media screen and (max-width: 768px) {\n .popup-image__close-button {\n width: 20px;\n height: 20px;\n top: -38px;\n right: 0;\n }\n }",".popup-image__close-button-inactive {\n display: none;\n}",".popup-image__image {\n display: block;\n box-sizing: border-box;\n object-fit: cover;\n overflow: visible;\n max-width: 75vw;\n margin: 0 auto;\n max-height: 75vh;\n}",".popup-image__picture-set {\n margin: 0;\n}",".popup-image__caption {\n font-family: inherit;\n color: #fff;\n font-size: 12px;\n line-height: 15px;\n padding-top: 10px;\n}",".popup-image_opened {\n opacity: 1;\n z-index: 1;\n}",".popup-info__container {\n padding: 60px 36px;\n}",".popup-info__image {\n display: block;\n max-width: 120px;\n height: auto;\n margin: 0 auto;\n margin-bottom: 32px;\n}",".popup-info__title {\n font-size: 24px;\n font-weight: 900;\n line-height: 29px;\n text-align: center;\n margin: 0 auto;\n\n max-width: 358px;\n}",".like_active {\n background-image: url(../../../../images/svg/like_active.svg);\n}",".popup_opened {\n opacity: 1;\n z-index: 1;\n }"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/frontend/build/static/js/main.2f3c9ca9.js b/frontend/build/static/js/main.2f3c9ca9.js deleted file mode 100644 index af88872..0000000 --- a/frontend/build/static/js/main.2f3c9ca9.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see main.2f3c9ca9.js.LICENSE.txt */ -!function(){"use strict";var e={463:function(e,t,n){var r=n(791),a=n(296);function l(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n