diff --git a/frontend/NovelPlus-frontend b/frontend/NovelPlus-frontend index 4a6867b..9859620 160000 --- a/frontend/NovelPlus-frontend +++ b/frontend/NovelPlus-frontend @@ -1 +1 @@ -Subproject commit 4a6867b2dd75cff5320ed1273e01b7169708b081 +Subproject commit 98596203bf6fe6497ac3369a40716173edfdbc5b diff --git a/frontend/static/frontend/css/main.1e200d07.css b/frontend/static/frontend/css/main.bc62eaf9.css similarity index 95% rename from frontend/static/frontend/css/main.1e200d07.css rename to frontend/static/frontend/css/main.bc62eaf9.css index db7851d..0800ce8 100644 --- a/frontend/static/frontend/css/main.1e200d07.css +++ b/frontend/static/frontend/css/main.bc62eaf9.css @@ -1,2 +1,2 @@ -@import url(https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;800&display=swap);:root{--color-header-background:#feb198;--color-base-background:#ffe0ce;--color-base-primary:#000;--color-base-secondary:#edc881;--color-base-tertiary:#7d5555;--color-footer-primary:#fff;--color-error-text:red}.error{color:red;color:var(--color-error-text)}body{background-color:var(--color-base-background);margin:0;padding:0}h1,h2{margin:0;text-transform:uppercase}h1{font-size:30px}h2{font-size:20px}#root,.App,.page,body,html{height:100%}.page{display:table}@media (min-width:1200px){h1{font-size:80px}h2{font-size:40px}}.body-text{font-size:16px}@media (min-width:1200px){.body-text{font-size:26px}}.primary{background:var(--color-base-secondary);border:1px solid var(--color-base-tertiary);border-radius:40px;box-sizing:border-box;color:var(--color-base-tertiary);cursor:pointer;font-family:Montserrat,sans-serif;text-align:center;text-decoration:none;text-transform:uppercase;width:fit-content}.primary:hover{color:var(--color-base-primary)}.primary.selected,.primary:hover{border-color:var(--color-base-primary)}.primary.selected{background:var(--color-base-tertiary);color:var(--color-base-secondary)}.primary.large{font-size:40px;font-weight:600;padding:6px 35px}.primary.medium{font-size:20px;font-weight:500;padding:10px 40px}.primary.small{font-size:12px;font-weight:500;padding:7px 20px}@media (min-width:1200px){.primary.large{font-size:80px;font-weight:600;padding:6px 54px}.primary.medium{font-size:40px;font-weight:500;padding:14px 54px}.primary.small{font-size:26px;font-weight:500;padding:10px 29px}}.content-box{margin-left:auto;margin-right:auto;width:300px}.fill-width{width:100%}.align-center,.align-end,.align-start,.horizontal-box,.stretched-box,.vertical-box{display:flex}.stretched-box{flex-direction:row;justify-content:space-between}.vertical-box{flex-direction:column}.horizontal-box{flex-direction:row}.align-end{align-items:flex-end}.align-center{align-items:center}.align-start{align-items:flex-start}.align-left{margin-right:auto}@media (min-width:640px){.content-box{margin-left:auto;margin-right:auto;width:620px}}@media (min-width:1200px){.content-box{margin-left:auto;margin-right:auto;width:1100px}}@media (min-width:1600px){.content-box{margin-left:auto;margin-right:auto;width:1550px}}@media (min-width:1900px){.content-box{margin-left:auto;margin-right:auto;width:1880px}}.header .icon{width:80%}.header .avatar{border-radius:60px;height:60px;width:60px}.header .navigation .primary.small{width:100%}.header .phone-menu{display:table}.header .phone-menu>div{display:table-cell;padding:3px;width:50%}.header{background-color:var(--color-header-background);padding-top:40px}.header,.header .bottom-menu,.header .upper-menu{padding-bottom:20px}.header .upper-menu{gap:60px;padding-top:20px}.header .bottom-menu{border-top:1px solid var(--color-base-primary);padding-top:40px}.header .navigation{gap:20px}.header .menu-button>.avatar{align-items:center;background-color:#fcfcfa}.header .dropdown-menu{position:relative}.header .menu-button{background:none;border:none;cursor:pointer}.header .menu-content{background-color:#333;border:1px solid #fcfcfa;border-radius:5px;display:flex;flex-direction:column;padding:10px;width:max-content}.header .menu-content a,.header .menu-content button{background:none;border:2px outset buttonborder;border-image:none;border-image:initial;color:#fcfcfa;padding:10px 20px;text-decoration:none}.header .menu-content a:hover,.header .menu-content button:hover{background-color:#444}.header .menu-click-area{position:absolute;right:0;top:0}.header .menu-click-area>div{gap:10px}.header .vk-login{padding-top:20px}@media (min-width:1200px){.header .icon,.header .navigation .primary.small{width:auto}.header .avatar{border-radius:100px;height:100px;width:100px}}.login-from-menu{color:#fff}.footer{background-color:var(--color-base-tertiary);padding:30px 20px}.footer,.footer a{color:var(--color-footer-primary)}.footer a{font-family:Montserrat,sans-serif;font-size:20px;font-weight:500}.footer a:hover{color:var(--color-base-secondary)}@media (min-width:1200px){.footer{padding:130px 150px}.footer a{font-size:40px}}section{display:table-row;height:100%;margin:30px 0}.section{margin:0 auto;padding:30px 0}.about .button-list{gap:20px}.about .button-list a.primary.medium{width:100%}@media (min-width:640px){.about .button-list a.primary.medium{width:fit-content}}.card{background-size:cover;color:#fff;display:flex;margin-left:auto;margin-right:auto;text-decoration:none}.card,.card>div{height:175px;width:250px}.card>div{background:linear-gradient(180deg,#2d0c0c00 68.5%,#2d0c0c)}.card>div:hover{background:linear-gradient(180deg,#2d0c0c00 30.5%,#2d0c0c)}.card>div>div{color:var(--color-base-secondary);height:33px;margin-left:auto;margin-right:auto;text-align:center;width:225px}@media (min-width:640px){.card{margin-left:0;margin-right:0}}@media (min-width:1200px){.card{height:350px;width:500px}.card>div>div{height:66px;width:450px;width:500px}.card>div{background:linear-gradient(180deg,#2d0c0c00 68.5%,#2d0c0c);height:350px;width:500px}}.store{display:flex;flex-direction:column;gap:10px}@media (min-width:640px){.store{grid-gap:39px;display:grid;gap:39px;grid-template-columns:min-content min-content;width:min-content}}@media (min-width:1600px){.store{grid-template-columns:min-content min-content min-content}}.vacancy{gap:56px}.mini-card{color:#000;gap:12px;text-decoration:none}.mini-card:hover{background-color:var(--color-header-background)}.mini-card .preview{height:100px;object-fit:cover;width:175px}@media (min-width:1200px){.mini-card .preview{height:200px;object-fit:cover;width:350px}}.section.item .preview{gap:39px}.section.item .preview>img{max-height:350px;object-fit:cover;width:100%}@media (min-width:1200px){.section.item .preview>img{max-height:400px;width:500px}} -/*# sourceMappingURL=main.1e200d07.css.map*/ \ No newline at end of file +@import url(https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;800&display=swap);:root{--color-header-background:#feb198;--color-base-background:#ffe0ce;--color-base-primary:#000;--color-base-secondary:#edc881;--color-base-tertiary:#7d5555;--color-footer-primary:#fff;--color-error-text:red}.error{color:red;color:var(--color-error-text)}body{background-color:var(--color-base-background);margin:0;padding:0}h1,h2{margin:0;text-transform:uppercase}h1{font-size:30px}h2{font-size:20px}#root,.App,.page,body,html{height:100%}.page{display:table}@media (min-width:1200px){h1{font-size:80px}h2{font-size:40px}}.body-text{font-size:16px}@media (min-width:1200px){.body-text{font-size:26px}}.primary{background:var(--color-base-secondary);border:1px solid var(--color-base-tertiary);border-radius:40px;box-sizing:border-box;color:var(--color-base-tertiary);cursor:pointer;font-family:Montserrat,sans-serif;text-align:center;text-decoration:none;text-transform:uppercase;width:fit-content}.primary:hover{color:var(--color-base-primary)}.primary.selected,.primary:hover{border-color:var(--color-base-primary)}.primary.selected{background:var(--color-base-tertiary);color:var(--color-base-secondary)}.primary.large{font-size:40px;font-weight:600;padding:6px 35px}.primary.medium{font-size:20px;font-weight:500;padding:10px 40px}.primary.small{font-size:12px;font-weight:500;padding:7px 20px}@media (min-width:1200px){.primary.large{font-size:80px;font-weight:600;padding:6px 54px}.primary.medium{font-size:40px;font-weight:500;padding:14px 54px}.primary.small{font-size:26px;font-weight:500;padding:10px 29px}}.content-box{margin-left:auto;margin-right:auto;width:300px}.fill-width{width:100%}.align-center,.align-end,.align-start,.horizontal-box,.stretched-box,.vertical-box{display:flex}.stretched-box{flex-direction:row;justify-content:space-between}.vertical-box{flex-direction:column}.horizontal-box{flex-direction:row}.align-end{align-items:flex-end}.align-center{align-items:center}.align-start{align-items:flex-start}.align-left{margin-right:auto}@media (min-width:640px){.content-box{margin-left:auto;margin-right:auto;width:620px}}@media (min-width:1200px){.content-box{margin-left:auto;margin-right:auto;width:1100px}}@media (min-width:1600px){.content-box{margin-left:auto;margin-right:auto;width:1550px}}@media (min-width:1900px){.content-box{margin-left:auto;margin-right:auto;width:1880px}}.header .icon{width:80%}.header .avatar{border-radius:60px;height:60px;width:60px}.header .navigation .primary.small{width:100%}.header .phone-menu{display:table}.header .phone-menu>div{display:table-cell;padding:3px;width:50%}.header{background-color:var(--color-header-background);padding-top:40px}.header,.header .bottom-menu,.header .upper-menu{padding-bottom:20px}.header .upper-menu{gap:60px;padding-top:20px}.header .bottom-menu{border-top:1px solid var(--color-base-primary);padding-top:40px}.header .navigation{gap:20px}.header .menu-button>.avatar{align-items:center;background-color:#fcfcfa}.header .dropdown-menu{position:relative}.header .menu-button{background:none;border:none;cursor:pointer}.header .menu-content{background-color:#333;border:1px solid #fcfcfa;border-radius:5px;display:flex;flex-direction:column;padding:10px;width:max-content}.header .menu-content a,.header .menu-content button{background:none;border:2px outset buttonborder;border-image:none;border-image:initial;color:#fcfcfa;padding:10px 20px;text-decoration:none}.header .menu-content a:hover,.header .menu-content button:hover{background-color:#444}.header .menu-click-area{position:absolute;right:0;top:0}.header .menu-click-area>div{gap:10px}.header .vk-login{padding-top:20px}@media (min-width:1200px){.header .icon,.header .navigation .primary.small{width:auto}.header .avatar{border-radius:100px;height:100px;width:100px}}.login-from-menu{color:#fff}.footer{background-color:var(--color-base-tertiary);padding:30px 20px}.footer,.footer a{color:var(--color-footer-primary)}.footer a{font-family:Montserrat,sans-serif;font-size:20px;font-weight:500}.footer a:hover{color:var(--color-base-secondary)}@media (min-width:1200px){.footer{padding:130px 150px}.footer a{font-size:40px}}section{display:table-row;height:100%;margin:30px 0}.section{margin:0 auto;padding:30px 0}.about .button-list{gap:20px}.about .button-list a.primary.medium{width:100%}@media (min-width:640px){.about .button-list a.primary.medium{width:fit-content}}.card{background-size:cover;color:#fff;display:flex;margin-left:auto;margin-right:auto;text-decoration:none}.card,.card>div{height:175px;width:250px}.card>div{background:linear-gradient(180deg,#2d0c0c00 68.5%,#2d0c0c)}.card>div:hover{background:linear-gradient(180deg,#2d0c0c00 30.5%,#2d0c0c)}.card>div>div{color:var(--color-base-secondary);height:33px;margin-left:auto;margin-right:auto;text-align:center;width:225px}@media (min-width:640px){.card{margin-left:0;margin-right:0}}@media (min-width:1200px){.card{height:350px;width:500px}.card>div>div{height:66px;width:450px;width:500px}.card>div{background:linear-gradient(180deg,#2d0c0c00 68.5%,#2d0c0c);height:350px;width:500px}}.store{display:flex;flex-direction:column;gap:10px}@media (min-width:640px){.store{grid-gap:39px;display:grid;gap:39px;grid-template-columns:min-content min-content;width:min-content}}@media (min-width:1600px){.store{grid-template-columns:min-content min-content min-content}}.vacancy{gap:56px}.mini-card{color:#000;gap:12px;text-decoration:none}.mini-card:hover{background-color:var(--color-header-background)}.mini-card .preview{height:100px;object-fit:cover;width:175px}@media (min-width:1200px){.mini-card .preview{height:200px;object-fit:cover;width:350px}}.section.item .preview{gap:39px}.section.item .preview>img{max-height:350px;object-fit:cover;width:100%}@media (min-width:1200px){.section.item .preview>img{max-height:400px;width:500px}}.user-profile>div{gap:25px}.user-profile .avatar{background-color:var(--color-base-tertiary);height:300px;width:300px}.user-profile .username{color:var(--color-base-tertiary)} +/*# sourceMappingURL=main.bc62eaf9.css.map*/ \ No newline at end of file diff --git a/frontend/static/frontend/js/main.26bf2160.js b/frontend/static/frontend/js/main.26bf2160.js new file mode 100644 index 0000000..5e56a0b --- /dev/null +++ b/frontend/static/frontend/js/main.26bf2160.js @@ -0,0 +1,3 @@ +/*! For license information please see main.26bf2160.js.LICENSE.txt */ +(()=>{var e={488:function(e,t,n){e.exports=function(){var e=e||function(e,t){var r;if("undefined"!==typeof window&&window.crypto&&(r=window.crypto),"undefined"!==typeof self&&self.crypto&&(r=self.crypto),"undefined"!==typeof globalThis&&globalThis.crypto&&(r=globalThis.crypto),!r&&"undefined"!==typeof window&&window.msCrypto&&(r=window.msCrypto),!r&&"undefined"!==typeof n.g&&n.g.crypto&&(r=n.g.crypto),!r)try{r=n(477)}catch(g){}var o=function(){if(r){if("function"===typeof r.getRandomValues)try{return r.getRandomValues(new Uint32Array(1))[0]}catch(g){}if("function"===typeof r.randomBytes)try{return r.randomBytes(4).readInt32LE()}catch(g){}}throw new Error("Native crypto module could not be used to get secure random number.")},i=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),a={},l=a.lib={},s=l.Base={extend:function(e){var t=i(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},u=l.WordArray=s.extend({init:function(e,n){e=this.words=e||[],this.sigBytes=n!=t?n:4*e.length},toString:function(e){return(e||d).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,o=e.sigBytes;if(this.clamp(),r%4)for(var i=0;i>>2]>>>24-i%4*8&255;t[r+i>>>2]|=a<<24-(r+i)%4*8}else for(var l=0;l>>2]=n[l>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=s.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n>>2]>>>24-o%4*8&255;r.push((i>>>4).toString(16)),r.push((15&i).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new u.init(n,t/2)}},f=c.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o>>2]>>>24-o%4*8&255;r.push(String.fromCharCode(i))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new u.init(n,t)}},p=c.Utf8={stringify:function(e){try{return decodeURIComponent(escape(f.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return f.parse(unescape(encodeURIComponent(e)))}},h=l.BufferedBlockAlgorithm=s.extend({reset:function(){this._data=new u.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=p.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,r=this._data,o=r.words,i=r.sigBytes,a=this.blockSize,l=i/(4*a),s=(l=t?e.ceil(l):e.max((0|l)-this._minBufferSize,0))*a,c=e.min(4*s,i);if(s){for(var d=0;d>>6-a%4*2;o[i>>>2]|=l<<24-i%4*8,i++}return n.create(o,i)}e.enc.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,r=this._map;e.clamp();for(var o=[],i=0;i>>2]>>>24-i%4*8&255)<<16|(t[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|t[i+2>>>2]>>>24-(i+2)%4*8&255,l=0;l<4&&i+.75*l>>6*(3-l)&63));var s=r.charAt(64);if(s)for(;o.length%4;)o.push(s);return o.join("")},parse:function(e){var t=e.length,n=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var i=0;i>>7)^(h<<14|h>>>18)^h>>>3,g=u[p-2],v=(g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10;u[p]=m+u[p-7]+v+u[p-16]}var y=r&o^r&i^o&i,b=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),k=f+((l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25))+(l&c^~l&d)+s[p]+u[p];f=d,d=c,c=l,l=a+k|0,a=i,i=o,o=r,r=k+(b+y)|0}n[0]=n[0]+r|0,n[1]=n[1]+o|0,n[2]=n[2]+i|0,n[3]=n[3]+a|0,n[4]=n[4]+l|0,n[5]=n[5]+c|0,n[6]=n[6]+d|0,n[7]=n[7]+f|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,o=8*t.sigBytes;return n[o>>>5]|=128<<24-o%32,n[14+(o+64>>>9<<4)]=e.floor(r/4294967296),n[15+(o+64>>>9<<4)]=r,t.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});n.SHA256=i._createHelper(c),n.HmacSHA256=i._createHmacHelper(c)}(Math),t.SHA256)}()},240:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=function(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},a=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,o=t.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)return!1;for(r in e);return"undefined"===typeof r||t.call(e,r)},l=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},s=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(o)return o(e,n).value}return e[n]};e.exports=function e(){var t,n,r,o,u,c,d=arguments[0],f=1,p=arguments.length,h=!1;for("boolean"===typeof d&&(h=d,d=arguments[1]||{},f=2),(null==d||"object"!==typeof d&&"function"!==typeof d)&&(d={});f{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,s=/^\s+|\s+$/g,u="";function c(e){return e?e.replace(s,u):u}e.exports=function(e,s){if("string"!==typeof e)throw new TypeError("First argument must be a string");if(!e)return[];s=s||{};var d=1,f=1;function p(e){var t=e.match(n);t&&(d+=t.length);var r=e.lastIndexOf("\n");f=~r?e.length-r:f+e.length}function h(){var e={line:d,column:f};return function(t){return t.position=new m(e),b(),t}}function m(e){this.start=e,this.end={line:d,column:f},this.source=s.source}m.prototype.content=e;var g=[];function v(t){var n=new Error(s.source+":"+d+":"+f+": "+t);if(n.reason=t,n.filename=s.source,n.line=d,n.column=f,n.source=e,!s.silent)throw n;g.push(n)}function y(t){var n=t.exec(e);if(n){var r=n[0];return p(r),e=e.slice(r.length),n}}function b(){y(r)}function k(e){var t;for(e=e||[];t=w();)!1!==t&&e.push(t);return e}function w(){var t=h();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;u!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,u===e.charAt(n-1))return v("End of comment missing");var r=e.slice(2,n-2);return f+=2,p(r),e=e.slice(n),f+=2,t({type:"comment",comment:r})}}function S(){var e=h(),n=y(o);if(n){if(w(),!y(i))return v("property missing ':'");var r=y(a),s=e({type:"declaration",property:c(n[0].replace(t,u)),value:r?c(r[0].replace(t,u)):u});return y(l),s}}return b(),function(){var e,t=[];for(k(t);e=S();)!1!==e&&(t.push(e),k(t));return t}()}},730:(e,t,n)=>{"use strict";var r=n(43),o=n(853);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n