diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 000000000..a4ddc484c --- /dev/null +++ b/package-lock.json @@ -0,0 +1,1197 @@ +{ + "name": "pleasurable-ui", + "version": "1.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "pleasurable-ui", + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "express": "^5.1.0", + "liquidjs": "^10.21.0" + }, + "devDependencies": { + "nodemon": "^3.1.10" + } + }, + "node_modules/accepts": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-2.0.0.tgz", + "integrity": "sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==", + "license": "MIT", + "dependencies": { + "mime-types": "^3.0.0", + "negotiator": "^1.0.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/anymatch": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", + "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", + "dev": true, + "license": "ISC", + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true, + "license": "MIT" + }, + "node_modules/binary-extensions": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", + "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/body-parser": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.2.0.tgz", + "integrity": "sha512-02qvAaxv8tp7fBa/mw1ga98OGm+eCbqzJOKoRt70sLmfEEi+jyBYVTDGfCL/k06/4EMk/z01gCe7HoCH/f2LTg==", + "license": "MIT", + "dependencies": { + "bytes": "^3.1.2", + "content-type": "^1.0.5", + "debug": "^4.4.0", + "http-errors": "^2.0.0", + "iconv-lite": "^0.6.3", + "on-finished": "^2.4.1", + "qs": "^6.14.0", + "raw-body": "^3.0.0", + "type-is": "^2.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/braces": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", + "dev": true, + "license": "MIT", + "dependencies": { + "fill-range": "^7.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/bytes": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/call-bind-apply-helpers": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", + "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/call-bound": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.4.tgz", + "integrity": "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==", + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "get-intrinsic": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/chokidar": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", + "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", + "dev": true, + "license": "MIT", + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/commander": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-10.0.1.tgz", + "integrity": "sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==", + "license": "MIT", + "engines": { + "node": ">=14" + } + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "dev": true, + "license": "MIT" + }, + "node_modules/content-disposition": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-1.0.0.tgz", + "integrity": "sha512-Au9nRL8VNUut/XSzbQA38+M78dzP4D+eqg3gfJHMIHHYa3bg067xj1KxMUWj+VULbiZMowKngFFbKczUrNJ1mg==", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/content-type": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", + "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz", + "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie-signature": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.2.2.tgz", + "integrity": "sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg==", + "license": "MIT", + "engines": { + "node": ">=6.6.0" + } + }, + "node_modules/debug": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.1.tgz", + "integrity": "sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==", + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/depd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/dunder-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", + "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "es-errors": "^1.3.0", + "gopd": "^1.2.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==", + "license": "MIT" + }, + "node_modules/encodeurl": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", + "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/es-define-property": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", + "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-object-atoms": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz", + "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==", + "license": "MIT" + }, + "node_modules/etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/express": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/express/-/express-5.1.0.tgz", + "integrity": "sha512-DT9ck5YIRU+8GYzzU5kT3eHGA5iL+1Zd0EutOmTE9Dtk+Tvuzd23VBU+ec7HPNSTxXYO55gPV/hq4pSBJDjFpA==", + "license": "MIT", + "dependencies": { + "accepts": "^2.0.0", + "body-parser": "^2.2.0", + "content-disposition": "^1.0.0", + "content-type": "^1.0.5", + "cookie": "^0.7.1", + "cookie-signature": "^1.2.1", + "debug": "^4.4.0", + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "etag": "^1.8.1", + "finalhandler": "^2.1.0", + "fresh": "^2.0.0", + "http-errors": "^2.0.0", + "merge-descriptors": "^2.0.0", + "mime-types": "^3.0.0", + "on-finished": "^2.4.1", + "once": "^1.4.0", + "parseurl": "^1.3.3", + "proxy-addr": "^2.0.7", + "qs": "^6.14.0", + "range-parser": "^1.2.1", + "router": "^2.2.0", + "send": "^1.1.0", + "serve-static": "^2.2.0", + "statuses": "^2.0.1", + "type-is": "^2.0.1", + "vary": "^1.1.2" + }, + "engines": { + "node": ">= 18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/fill-range": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", + "dev": true, + "license": "MIT", + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/finalhandler": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-2.1.0.tgz", + "integrity": "sha512-/t88Ty3d5JWQbWYgaOGCCYfXRwV1+be02WqYYlL6h0lEiUAMPM8o8qKGO01YIkOHzka2up08wvgYD0mDiI+q3Q==", + "license": "MIT", + "dependencies": { + "debug": "^4.4.0", + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "on-finished": "^2.4.1", + "parseurl": "^1.3.3", + "statuses": "^2.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/forwarded": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", + "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/fresh": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-2.0.0.tgz", + "integrity": "sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-intrinsic": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", + "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==", + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "es-define-property": "^1.0.1", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.1.1", + "function-bind": "^1.1.2", + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "math-intrinsics": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", + "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", + "license": "MIT", + "dependencies": { + "dunder-proto": "^1.0.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/gopd": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", + "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/has-symbols": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", + "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/hasown": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/http-errors": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", + "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "license": "MIT", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ignore-by-default": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-1.0.1.tgz", + "integrity": "sha512-Ius2VYcGNk7T90CppJqcIkS5ooHUZyIQK+ClZfMfMNFEF9VSE73Fq+906u/CWu92x4gzZMWOwfFYckPObzdEbA==", + "dev": true, + "license": "ISC" + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "license": "ISC" + }, + "node_modules/ipaddr.js": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dev": true, + "license": "MIT", + "dependencies": { + "binary-extensions": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/is-promise": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz", + "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==", + "license": "MIT" + }, + "node_modules/liquidjs": { + "version": "10.21.0", + "resolved": "https://registry.npmjs.org/liquidjs/-/liquidjs-10.21.0.tgz", + "integrity": "sha512-DouqxNU2jfoZzb1LinVjOc/f6ssitGIxiDJT+kEKyYqPSSSd+WmGOAhtWbVm1/n75svu4aQ+FyQ3ctd3wh1bbw==", + "license": "MIT", + "dependencies": { + "commander": "^10.0.0" + }, + "bin": { + "liquid": "bin/liquid.js", + "liquidjs": "bin/liquid.js" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/liquidjs" + } + }, + "node_modules/math-intrinsics": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", + "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/media-typer": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-1.1.0.tgz", + "integrity": "sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/merge-descriptors": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-2.0.0.tgz", + "integrity": "sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/mime-db": { + "version": "1.54.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz", + "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.1.tgz", + "integrity": "sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA==", + "license": "MIT", + "dependencies": { + "mime-db": "^1.54.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "license": "MIT" + }, + "node_modules/negotiator": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-1.0.0.tgz", + "integrity": "sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/nodemon": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-3.1.10.tgz", + "integrity": "sha512-WDjw3pJ0/0jMFmyNDp3gvY2YizjLmmOUQo6DEBY+JgdvW/yQ9mEeSw6H5ythl5Ny2ytb7f9C2nIbjSxMNzbJXw==", + "dev": true, + "license": "MIT", + "dependencies": { + "chokidar": "^3.5.2", + "debug": "^4", + "ignore-by-default": "^1.0.1", + "minimatch": "^3.1.2", + "pstree.remy": "^1.1.8", + "semver": "^7.5.3", + "simple-update-notifier": "^2.0.0", + "supports-color": "^5.5.0", + "touch": "^3.1.0", + "undefsafe": "^2.0.5" + }, + "bin": { + "nodemon": "bin/nodemon.js" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/nodemon" + } + }, + "node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-inspect": { + "version": "1.13.4", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz", + "integrity": "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/on-finished": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", + "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "license": "ISC", + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/path-to-regexp": { + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.2.0.tgz", + "integrity": "sha512-TdrF7fW9Rphjq4RjrW0Kp2AW0Ahwu9sRGTkS6bvDi0SCwZlEZYmcfDbEsTz8RVk0EHIS/Vd1bv3JhG+1xZuAyQ==", + "license": "MIT", + "engines": { + "node": ">=16" + } + }, + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/proxy-addr": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", + "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/pstree.remy": { + "version": "1.1.8", + "resolved": "https://registry.npmjs.org/pstree.remy/-/pstree.remy-1.1.8.tgz", + "integrity": "sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==", + "dev": true, + "license": "MIT" + }, + "node_modules/qs": { + "version": "6.14.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.14.0.tgz", + "integrity": "sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w==", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.1.0" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/range-parser": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", + "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/raw-body": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-3.0.0.tgz", + "integrity": "sha512-RmkhL8CAyCRPXCE28MMH0z2PNWQBNk2Q09ZdxM9IOOXwxwZbN+qbWaatPkdkWIKL2ZVDImrN/pK5HTRz2PcS4g==", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.6.3", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dev": true, + "license": "MIT", + "dependencies": { + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/router": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/router/-/router-2.2.0.tgz", + "integrity": "sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ==", + "license": "MIT", + "dependencies": { + "debug": "^4.4.0", + "depd": "^2.0.0", + "is-promise": "^4.0.0", + "parseurl": "^1.3.3", + "path-to-regexp": "^8.0.0" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "license": "MIT" + }, + "node_modules/semver": { + "version": "7.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", + "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/send": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/send/-/send-1.2.0.tgz", + "integrity": "sha512-uaW0WwXKpL9blXE2o0bRhoL2EGXIrZxQ2ZQ4mgcfoBxdFmQold+qWsD2jLrfZ0trjKL6vOw0j//eAwcALFjKSw==", + "license": "MIT", + "dependencies": { + "debug": "^4.3.5", + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "etag": "^1.8.1", + "fresh": "^2.0.0", + "http-errors": "^2.0.0", + "mime-types": "^3.0.1", + "ms": "^2.1.3", + "on-finished": "^2.4.1", + "range-parser": "^1.2.1", + "statuses": "^2.0.1" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/serve-static": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-2.2.0.tgz", + "integrity": "sha512-61g9pCh0Vnh7IutZjtLGGpTA355+OPn2TyDv/6ivP2h/AdAVX9azsoxmg2/M6nZeQZNYBEwIcsne1mJd9oQItQ==", + "license": "MIT", + "dependencies": { + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "parseurl": "^1.3.3", + "send": "^1.2.0" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/setprototypeof": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==", + "license": "ISC" + }, + "node_modules/side-channel": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz", + "integrity": "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.3", + "side-channel-list": "^1.0.0", + "side-channel-map": "^1.0.1", + "side-channel-weakmap": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-list": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.0.tgz", + "integrity": "sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-map": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz", + "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==", + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-weakmap": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz", + "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==", + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3", + "side-channel-map": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/simple-update-notifier": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/simple-update-notifier/-/simple-update-notifier-2.0.0.tgz", + "integrity": "sha512-a2B9Y0KlNXl9u/vsW6sTIu9vGEpfKu2wRV6l1H3XEas/0gUIzGzBoP/IouTcUQbm9JWZLH3COxyn03TYlFax6w==", + "dev": true, + "license": "MIT", + "dependencies": { + "semver": "^7.5.3" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/statuses": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", + "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/toidentifier": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "node_modules/touch": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/touch/-/touch-3.1.1.tgz", + "integrity": "sha512-r0eojU4bI8MnHr8c5bNo7lJDdI2qXlWWJk6a9EAFG7vbhTjElYhBVS3/miuE0uOuoLdb8Mc/rVfsmm6eo5o9GA==", + "dev": true, + "license": "ISC", + "bin": { + "nodetouch": "bin/nodetouch.js" + } + }, + "node_modules/type-is": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-2.0.1.tgz", + "integrity": "sha512-OZs6gsjF4vMp32qrCbiVSkrFmXtG/AZhY3t0iAMrMBiAZyV9oALtXO8hsrHbMXF9x6L3grlFuwW2oAz7cav+Gw==", + "license": "MIT", + "dependencies": { + "content-type": "^1.0.5", + "media-typer": "^1.1.0", + "mime-types": "^3.0.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/undefsafe": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/undefsafe/-/undefsafe-2.0.5.tgz", + "integrity": "sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA==", + "dev": true, + "license": "MIT" + }, + "node_modules/unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", + "license": "ISC" + } + } +} diff --git a/package.json b/package.json index 7131fd008..f6caaf35f 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,8 @@ "doc": "docs" }, "scripts": { - "start": "node server.js" + "start": "node server.js", + "dev": "nodemon server.js" }, "repository": { "type": "git", @@ -26,7 +27,10 @@ }, "homepage": "https://github.com/fdnd-task/pleasurable-ui#readme", "dependencies": { - "express": "^5.0.1", + "express": "^5.1.0", "liquidjs": "^10.21.0" + }, + "devDependencies": { + "nodemon": "^3.1.10" } } diff --git a/public/animal.png b/public/animal.png new file mode 100644 index 000000000..393a29a0f Binary files /dev/null and b/public/animal.png differ diff --git a/public/assets/profielfoto.avif b/public/assets/profielfoto.avif new file mode 100644 index 000000000..9a8e6ec7f Binary files /dev/null and b/public/assets/profielfoto.avif differ diff --git a/public/assets/svg/pijl-boven.svg b/public/assets/svg/pijl-boven.svg new file mode 100644 index 000000000..b9b5657dd --- /dev/null +++ b/public/assets/svg/pijl-boven.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/assets/svg/play-icon.svg b/public/assets/svg/play-icon.svg new file mode 100644 index 000000000..b40ac5cc2 --- /dev/null +++ b/public/assets/svg/play-icon.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/grafiek.png b/public/grafiek.png new file mode 100644 index 000000000..36479d32c Binary files /dev/null and b/public/grafiek.png differ diff --git a/public/index.html b/public/index.html new file mode 100644 index 000000000..7fc5d01cd --- /dev/null +++ b/public/index.html @@ -0,0 +1,105 @@ + + + + + + Tumi mundo styleguide + + + + +
+

Tumi mundo styleguide

+

Dit is de styleguide voor de Tumi Mundo project.

+

Gebruik de volgende gedeelde stylesheet binnen je eigen project: + <link rel="stylesheet" href="https://github.com/SuleymanHG/pleasurable-ui/blob/main/public/styles/sprint-11.css"> +

+
+ + + + + +
+ +

Typografie

+ +

Kop 1

+

Kop 2

+

Kop 3

+ + +

Simpele alinea's

+

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod + tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, + quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo + consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse + cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non + proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

+ + + +
    +
  1. Geordende lijsten met items
  2. +
  3. Met nog meer items
  4. +
  5. En nog een item
  6. +
+
+ +
+ + + + + + +
+ + +
+ +
+ + + + \ No newline at end of file diff --git a/public/scripts/navigation.js b/public/scripts/navigation.js new file mode 100644 index 000000000..2eb4a274f --- /dev/null +++ b/public/scripts/navigation.js @@ -0,0 +1,8 @@ +let navigationMenu = document.querySelector('header'); +let hamburgerButton = document.querySelector('#hamburger-button'); +let hamburgerNav = document.querySelector('nav') + +hamburgerButton.addEventListener('click', function(){ + navigationMenu.classList.toggle('navigation-menu-open'); + hamburgerNav.classList.toggle('hamburger-open'); +}); \ No newline at end of file diff --git a/public/sprint-11.css b/public/sprint-11.css index e69de29bb..900b1972f 100644 --- a/public/sprint-11.css +++ b/public/sprint-11.css @@ -0,0 +1,377 @@ +:root { + /* Kleuren */ + + /* Home Background */ + --van-kleur-home: #3F93B7; + --naar-kleur-home: #1C5872; + + /* Story nightmode */ + --van-kleur-story-nightmode: #040404; + --naar-kleur-story-nightmode: #471871; + + /* Menu lay-over */ + --menu-lay-over-kleur: #292929; + --menu-lay-over-opacity: 95%; + + /* Menu knoppen */ + --button-color-one: #3F92B6; + --hover-button-color-one: #3D7A95; + + --button-color-two: #599AE7; + --hover-button-color-two: #4D7EB7; + + --button-color-three: #954BE2; + --hover-button-color-three: #451ACF; + + --button-color-four: #06A192; + --hover-button-color-four: #078377; + + --button-color-five: #FD8C73; + --hover-button-color-five: #EA775E; + + /* Methode kleuren*/ + --methode-background-color: ; + --methode-color-one: #1CB854; + --methode-color-two: #37C6AB; + --methode-color-three: #059CC0; + --methode-color-four: #FF8C59; + --methode-color-five: #FFA02E; + + /* Statistics */ + --van-kleur-statistics: #219B9B; + --naar-kleur-statistics: #1B7070; + + /* Testing */ + --van-kleur-testing: #21599B; + --naar-kleur-testing: #1B3D70; + + /* Profile */ + --van-kleur-profile: #F0775D; + --naar-kleur-profile: ##B45751; + + /* Method */ + --van-kleur-method: #471871; + --naar-kleur-method: #142151; + + /* Typografie */ + --font-text: 'Poppins', sans-serif; + + /* Font-sizes*/ + --font-size-h1: 1.8rem; + --font-size-h2: 1.25rem; + --font-size-h3: 0.75rem; + --font-size-story-title: 0.75rem; + --font-size-story-description: 0.5rem; + + /* Font-weights */ + --font-weight-h1: 600; + --font-weight-h2: 600; + --font-weight-h3: 400; + --font-weight-story-title: 600; + --font-weight-story-description: 400; + + /* Line-heights */ + --line-height-h1: 3rem; + --line-height-h2: 1.375rem; + --line-height-h3: 1.3125rem; + --line-height-story-title: 0.938rem; + --line-height-story-description: 0.75rem; + + /* Formulier elementen */ + } + + body{ + background-color: var(--van-kleur-method); + font-family: var(--font-text), Arial, Helvetica, sans-serif; + display: flex; + align-content: center; + justify-content: center; + text-align: center; + + h1{ + font-size: var(--font-size-h1); + font-weight: var(--font-weight-h1); + line-height: var(--line-height-h1); + color: white; + } + + h2{ + font-size: var(--font-size-h2); + font-weight: var(--font-weight-h2); + line-height: var(--line-height-h2); + color: white; + } + + h3{ + font-size: var(--font-size-h3); + font-weight: var(--font-weight-h3); + line-height: var(--line-height-h3); + } + + p{ + font-size: var(--font-size-story-title); + font-weight: var(--font-weight-story-title); + line-height: var(--line-height-story-title); + } + } + + #stories{ + background-color: white; + min-height:clamp(24rem, 64vw, 40rem); + padding:1rem; + + display:grid; + place-items:end start; + } + + #stories input::after{ + background-color: var(--button-color-three); + } + + #stories input:checked::after{ + background-color: var(--button-color-three); + } +/* Sidney zijn gedeelte */ +.button-menu{ + height: 15rem; + width: 37rem; + gap: 1rem; + background-color: var(--menu-lay-over-kleur); + + display: flex; + + button{ + height: 6.25rem; + width: 6.25rem; + } + + h2{ + color: white; + text-align: center; + } +} + +.iconen-menu{ +width: 3rem; +filter: invert(1); +} + +.testing{ +background-color: var(--button-color-two); +transition: 0.3s; +} + +.testing:hover{ +background-color: var(--hover-button-color-two); +height: 7rem; +width: 7rem; +} + +.lessons{ +background-color: var(--button-color-three); +transition: 0.3s; +} + +.lessons:hover{ +background-color: var(--hover-button-color-three); +height: 7rem; +width: 7rem; +} + +.home{ +background-color: var(--button-color-one); +transition: 0.3s; +} + +.home:hover{ +background-color: var(--hover-button-color-one); +height: 7rem; +width: 7rem; +} + +.statistics{ +background-color: var(--button-color-four); +transition: 0.3s; +} + +.statistics:hover{ +background-color: var(--hover-button-color-four); +height: 7rem; +width: 7rem; +} + +.profile{ +background-color: var(--button-color-five); +transition: 0.3s; +} + +.profile:hover{ +background-color: var(--hover-button-color-five); +height: 7rem; +width: 7rem; +} + +/* HIer wil ik proberen om de grafiek zelf te animeren om het interactief te maken */ +.knop{ +text-align: center; +width: 6.25rem; +height: 6.25rem; +} + +.stat-knop:hover{ +text-align: center; +width: 6.25rem; +height: 6.25rem; + +background-color: #21599B; +} + +.grafiek{ +height: 6.25rem; +width: 6.25rem; +background-color: var(--button-color-four); + +display: flex; +gap: 0.2rem; +align-items: center; +justify-content: center; +} + +.eerste-bar{ +background-color: white; +width: 1rem; +height: 2rem; + +position: relative; +top: 0.5rem; +} + +.tweede-bar{ +background-color: white; +width: 1rem; +height: 3rem; + +position: relative; +top: 0rem; +} + +.derde-bar{ +background-color: white;; +width: 1rem; +height: 1.5rem; + +position: relative; +top: 0.75rem; + +transition: 0.3s; +} + +.horizontale-bar{ +background-color: white; +width: 0.3rem; +height: 3.53rem; +rotate: 90deg; + +position: relative; +top: -2.9rem; +left: 2.9rem; +} + +.verticale-bar{ +background-color: red; +width: 0.3rem; +height: 3.53rem; + +position: relative; +top: -2.9rem; +left: 2.9rem; +} + +/* Hier komt het puzzelstukje */ +.puzzelstuk{ +height: 6.25rem; +width: 6.25rem; + +background-color: var(--button-color-two); + +display: flex; +align-items: center; +justify-content: center; +} + +.vierkant{ +width: 2.5rem; +height: 2.5rem; + +background-image: + +linear-gradient( + white 0 0 +); +} +/* +.cirkel-boven{ +width: 1rem; +height: 1rem; +border-radius: 100%; + +background-color: white; + +position: relative; +top: -1.65rem; +left: -0.3rem; +} + +.cirkel-rechts{ +width: 1rem; +height: 1rem; +border-radius: 100%; + +background-color: white; + +position: relative; +left: 0.2rem; +} + +.cirkel-onder{ +width: 1rem; +height: 1rem; +border-radius: 100%; + +background-color: var(--button-color-two); + +position: relative; +left: -2.3rem; +top: 0.89rem; +} + +/* hier komt het boek */ +.boek{ +height: 6.25rem; +width: 6.25rem; + +background-color: var(--button-color-three); + +display: flex; +align-items: center; +justify-content: center; +} + +.kaft{ +width: 3.125rem; +height: 2.5rem; + +background-color: white; + +position: relative; +} + +.pagina-links{ +height: 2.7rem; +width: 1.45rem; + +background-color: white; +box-shadow: 0rem 0rem 0rem 0.06rem red; + +border-radius: 1rem 0rem 0.8rem 0rem; +} \ No newline at end of file diff --git a/public/styles/navigation.css b/public/styles/navigation.css new file mode 100644 index 000000000..f6d07711f --- /dev/null +++ b/public/styles/navigation.css @@ -0,0 +1,139 @@ +nav { + position: fixed; + display: flex; + justify-content: center; + align-items: center; + right: 0.8em; + bottom: 0.8em; + width: 56px; + height: 56px; + background-color: #1C1C1C; + border-radius: 16px; + opacity: 0.8; + z-index: 2; + + button { + background: none; + border: none; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + gap: 4.81px; + + + span { + display: block; + background-color: white; + height: 4px; + width: 25.33px; + border-radius: 8px; + transition: all 1s ease; + } + } +} + +header { + display: none; + transform: scale(0); + opacity: 0; + transform-origin: center; +} + +/*na klikken navigatie menu */ +.navigation-menu-open { + position: fixed; + top: 0; + left: 0; + z-index: 1; + opacity: 0.98; + background-color: #292929; + height: 100vh; + width: 100%; + display: flex; + justify-content: center; + align-items: center; + transform: scale(1); + animation: pop-in 0.5s ease forwards; + + ul { + display: grid; + grid-template-columns: 1fr 1fr; + column-gap: 40px; + row-gap: 30px; + + li { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + + a { + display: flex; + justify-content: center; + align-items: center; + width: 100px; + height: 100px; + border-radius: 16px; + } + + p { + font-size: 17px; + color: white; + } + } + + li:nth-of-type(1) a { + background-color: #3F92B6; + } + li:nth-of-type(2) a { + background-color: #599AE7; + } + li:nth-of-type(3) a { + background-color: #954BE2; + } + li:nth-of-type(4) a { + background-color: #06A192; + } + li:nth-of-type(5) a { + background-color: #FD8C73; + } + } +} + +/* animatie vd header */ +@keyframes pop-in { + 0% { + transform: scale(0); + opacity: 0; + } + 60% { + transform: scale(1.1); + opacity: 1; + } + 100% { + transform: scale(1); + } +} + +/*button als na klikken*/ +.hamburger-open { + background-color: white; + + span { + background-color: black; + margin-right: 0.5em; + } + + span:nth-child(1) { + transform-origin: right; + transform: rotateZ(-45deg); + } + span:nth-child(2) { + opacity: 0; + } + span:nth-child(3) { + transform-origin: right; + transform: rotateZ(45deg) + } +} \ No newline at end of file diff --git a/public/styles/profilepagina.css b/public/styles/profilepagina.css new file mode 100644 index 000000000..2e478ff64 --- /dev/null +++ b/public/styles/profilepagina.css @@ -0,0 +1,104 @@ +.profiel-pagina { + display: flex; + flex-direction: column; + height: 100vh; + justify-content: center; + + + .heading{ + display: flex; + justify-content: center; + } + h3{ + font-size: var(--font-size-h2); + font-weight: 700; + } + + h4{ + font-weight: 500; + margin: 0; + } + + ul{ + display: flex; + flex-direction: column; + gap: 25px; + padding:0; + + + li{ + display: flex; + justify-content:flex-start; + align-items: flex-end; + gap: 10px; + color:var(--main-ligth-text-color); + border-bottom: 1px rgba(255, 255, 255, 0.6) solid; + padding:0 0 10px 0; + + svg:last-child{ + margin-left:auto; + } + } + } + + .profiel-foto-section{ + display: flex; + align-items: center; + gap: 10px; + + img{ + width: 40px; + height: 40px; + } + + button{ + background-color:rgba(255, 255, 255, 0.2); + border-radius: 8px; + padding: 6.66px 9px; + margin-left: auto; + } + } + + + .account-knoppen{ + display: flex; + flex-direction: column; + align-items: center; + gap: 20px; + + button{ + display: inline-block; + width: auto; + max-width: max-content; + color: var(--main-ligth-text-color); + filter: drop-shadow(0px 2px 4px #00000022); + } + + .switch-account{ + border-radius: 8px; + padding: 8px 25px; + background-color: var(--button-color-five); + font-size: 15px; + + &:hover{ + background-color: var(--hover-button-color-five); + } + } + + .sign-out{ + border-radius:8px; + padding: 8px 15px; + background-color: var(--button-color-six); + font-size: 14px; + + &:hover{ + background-color: var(--hover-button-color-six); + } + + } + } + +} + + + diff --git a/public/styles/statistics.css b/public/styles/statistics.css new file mode 100644 index 000000000..c406ce293 --- /dev/null +++ b/public/styles/statistics.css @@ -0,0 +1,301 @@ +.todays-activities { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + + span { + display: flex; + flex-direction: column; + text-align: center; + top: 0; + left: 0; + width: 323px; + height: 150px; + border: 8px solid #70CFAD; + border-bottom: none; + border-radius: 200px 200px 0 0; + + + p { + margin: 0.5em; + } + + p:nth-of-type(1) { + padding-top: 1.3em; + font-size: 20px; + font-weight: 500; + } + p:nth-of-type(2) { + font-size: 44px; + font-weight: 400; + } + p:nth-of-type(3) { + font-size: 12px; + font-weight: 500; + } + } + + .button-container { + display: flex; + gap: 2em; + padding-top: 1.2em; + + a { + display: flex; + justify-content: center; + align-items: center; + height: 37px; + width: 124px; + text-decoration: none; + border-radius: 8px; + color: white; + } + + a:nth-of-type(1) { + background-color: #27B16F; + } + a:nth-of-type(2) { + background-color: #9264F4; + } + } +} + +.total-activities { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + padding-top: 2.2em; + + img { + height: 175px; + width: 276.5px; + } + + article { + + h3 { + font-size: 20px; + font-weight: 600; + } + + p { + font-size: 14px; + font-weight: 400px; + } + } +} + +.attention-span-test { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + padding-top: 2em; + + h2 { + margin-block-end: 0; + } + + p { + font-size: 14px; + } + + img { + width: 358px; + height: 200px; + } + + ul { + display: flex; + gap: 1.5em; + margin: 0; + padding-inline-start: 0; + + li { + list-style-type: none; + } + } + + div { + display: flex; + gap: 1.5em; + + label { + position: relative; + display: inline-block; + width: 45px; + height: 32px; + margin-top: 0.5em; + + input { + opacity: 0; + width: 0; + height: 0; + } + + span { + position: absolute; + top: 6px; + left: 5px; + width: 40px; + height: 20px; + background-color: #999999; + border-radius: 10px; + transition: 0.4s; + box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.1); + } + + span::before { + content: ""; + position: absolute; + height: 14px; + width: 14px; + left: 2px; + top: 3px; + background-color: white; + border-radius: 50%; + transition: 0.4s; + box-shadow: 0 0 6px rgba(0, 0, 0, 0.15); + } + input:checked + span { + background-color: #70CFAD; + } + + input:checked + span::before { + transform: translateX(20px); + } + } + } +} + +.stories { + padding-top: 2em; + + ul { + padding-inline-start: 0; + li { + display: flex; + list-style-type: none; + align-items: center; + gap: 0.7em; + + + p { + font-size: 14px; + font-weight: 400; + } + + span { + background-color: #0B8FAC; + padding: 4px 8px 4px 8px; + border-radius: 8px; + } + } + } +} + +.roadmap { + padding-top: 2em; + + .roadmap-container { + display: grid; + grid-template-rows: repeat(9, 50px); + grid-template-columns: 45% 25% 25%; + + span { + display: flex; + align-items: center; + justify-content: center; + gap: 20px; + height: 37px; + border-radius: 8px; + padding-inline: 0.5em; + + p { + font-size: 14px; + font-weight: 500; + } + } + + span:nth-of-type(1) { + background-color: #1CB854; + width: 216px; + grid-area: 1/1; + } + + span:nth-of-type(2) { + background-color: #37C6AB; + opacity: 0.4; + width: 199px; + grid-area: 3/2/3/3; + } + + span:nth-of-type(3) { + background-color: #059CC0; + opacity: 0.4; + width: 238px; + grid-area: 5/1/5/2; + } + + span:nth-of-type(4) { + background-color: #FF8C59; + opacity: 0.4; + width: 171px; + grid-area: 7/2/7/3; + } + + span:nth-of-type(5) { + background-color: #FFA02E; + opacity: 0.4; + width: 240px; + grid-area: 9/1/9/2; + } + + svg:nth-of-type(1) { + grid-area: 2/1/3/1; + padding-inline-start: 1em; + } + + svg:nth-of-type(2) { + grid-area: 4/3/5/3; + } + + svg:nth-of-type(3) { + grid-area: 6/1/7/1; + padding-inline-start: 1em; + } + + svg:nth-of-type(4) { + grid-area: 8/3/9/3; + } + } +} + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/styles/styleguide.css b/public/styles/styleguide.css new file mode 100644 index 000000000..3c61aad1f --- /dev/null +++ b/public/styles/styleguide.css @@ -0,0 +1,200 @@ +:root { + /* Kleuren */ + --main-ligth-text-color:#ffffff; + --main-dark-text-color:#000000; + + /* Home Background */ + --home-achtergrond:linear-gradient(#3F93B7,#1C5872); + /* Profiel achtergrond */ + --profiel-achtergrond:linear-gradient(#F0775D 0%,#B45751 100%); + /* Story nightmode */ + --story-nightmode:linear-gradient(#471871,#142151); + + + /* Menu lay-over */ + --menu-lay-over-kleur: #292929; + --menu-lay-over-opacity: 95%; + + /* Menu knoppen */ + --button-color-one: #3F92B6; + --hover-button-color-one: #3D7A95; + + --button-color-two: #599AE7; + --hover-button-color-two: #4D7EB7; + + --button-color-three: #9264F4; + --hover-button-color-three: #451ACF; + + --button-color-four: #06A192; + --hover-button-color-four: #078377; + + --button-color-five: #E98D7B; + --hover-button-color-five: #EA775E; + + --button-color-six:#E76A59; + --hover-button-color-six:#d1503f; + + --play-button-stories:#3A54DE; + --hover-play-button-stories:#092eea; + + --play-button-playlist:#F3A22A; + --hover-play-button-playlist:#ff9900; + + + /* Knoppen tekst kleur */ + --button-text-color:#ffffff; + /* Methode kleuren*/ + --methode-background-color: ; + --methode-color-one: #1CB854; + --methode-color-two: #37C6AB; + --methode-color-three: #059CC0; + --methode-color-four: #FF8C59; + --methode-color-five: #FFA02E; + + /* Statistics */ + --van-kleur-statistics: #219B9B; + --naar-kleur-statistics: #1B7070; + + /* Testing */ + --van-kleur-testing: #21599B; + --naar-kleur-testing: #1B3D70; + + /* Profile */ + --van-kleur-profile: #F0775D; + --naar-kleur-profile: ##B45751; + + /* Method */ + --van-kleur-method: #471871; + --naar-kleur-method: #142151; + + /* Typografie */ + --font-text: 'Poppins', sans-serif; + + /* Font-sizes*/ + --font-size-h1: 1.75em; + --font-size-h2: 1.25rem; + --font-size-h3: 0.75rem; + --font-size-story-title: 0.75rem; + --font-size-story-description: 0.5rem; + + /* Font-weights */ + --font-weight-h1: 600; + --font-weight-h2: 600; + --font-weight-h3: 400; + --font-weight-story-title: 600; + --font-weight-story-description: 400; + + /* Line-heights */ + --line-height-h1: 3rem; + --line-height-h2: 1.375rem; + --line-height-h3: 1.3125rem; + --line-height-story-title: 0.938rem; + --line-height-story-description: 0.75rem; + + } + + body{ + background: var(--home-achtergrond); + background-size: cover; + + font-family: var(--font-text), Arial, Helvetica, sans-serif; + } + +/* === Typografie === */ + + h1{ + font-size: var(--font-size-h1); + font-weight: var(--font-weight-h1); + line-height: var(--line-height-h1); + color: white; + } + + h2{ + font-size: var(--font-size-h2); + font-weight: var(--font-weight-h2); + line-height: var(--line-height-h2); + color: white; + } + + h3{ + font-size: var(--font-size-h3); + font-weight: var(--font-weight-h3); + line-height: var(--line-height-h3); + color: white; + } + + + p{ + font-size: var(--font-size-story-title); + font-weight: var(--font-weight-story-title); + line-height: var(--line-height-story-title); + } + + + +/* === Lijsten === */ + + ul{ + list-style-type: none; + } + + + /* === Buttons === */ + button{ + border: none; + } + .play-button-stories{ + display: flex; + justify-content: center ; + align-items: center; + background-color:var(--play-button-stories) ; + width: 25px; + height: 25px; + border-radius: 50%; + + svg{ + margin: 0 0 0 1.5px; + } + + &:hover{ + background-color: var(--hover-play-button-stories); + } + } + + .play-button-playlist{ + display: flex; + justify-content: center ; + align-items: center; + background-color:var(--play-button-playlist) ; + width: 31px; + height: 31px; + border-radius: 50%; + + svg{ + margin: 0 0 0 1.5px; + width: 14px; + height: 15px; + } + + &:hover{ + background-color: var(--hover-play-button-playlist); + } + } + + .filter-button{ + display: flex; + gap: 5px; + justify-content: center; + align-items: center; + background-color: var(--button-color-three); + color: var(--button-text-color); + padding: 5px 10px; + border-radius: 4px; + + &:hover{ + background-color: var(--hover-button-color-three); + } + + + } + \ No newline at end of file diff --git a/server.js b/server.js index da1001355..20b40e8b7 100644 --- a/server.js +++ b/server.js @@ -1,5 +1,4 @@ // Importeer het npm package Express (uit de door npm aangemaakte node_modules map) -// Deze package is geïnstalleerd via `npm install`, en staat als 'dependency' in package.json import express from 'express' // Importeer de Liquid package (ook als dependency via npm geïnstalleerd) @@ -8,6 +7,59 @@ import { Liquid } from 'liquidjs'; // Maak een nieuwe Express applicatie aan, waarin we de server configureren const app = express() +//Hier komen de routes voor onze website. MARK: API +const api = "https://fdnd-agency.directus.app/items/tm_" +const api_users = "users" +const api_profile = "profile" +const api_buddy = "buddy" +const api_lang = "language" +const api_audio = "audio" +const api_playlist = "playlist" +const api_story = "story" +const api_animal = "animal" +const api_season = "season" +const api_likes = "likes" +const api_segments = "segments" +const api_events = "events" +const api_results = "results" + +//Hier komen de fetches naar de API. MARK: Fetch API +const usersResponse = await fetch(`${api}${api_users}`) +const profileResponse = await fetch(`${api}${api_profile}`) +const buddyResponse = await fetch(`${api}${api_buddy}`) +const languageResponse = await fetch(`${api}${api_lang}`) +const audioResponse = await fetch(`${api}${api_audio}`) +const playlistResponse = await fetch(`${api}${api_playlist}`) +const storyResponse = await fetch(`${api}${api_story}`) +const animalReponse = await fetch(`${api}${api_animal}`) +const seasonResponse = await fetch(`${api}${api_season}`) +const likesResponse = await fetch(`${api}${api_likes}`) +const segmentsResponse = await fetch (`${api}${api_segments}`) +const eventsResponse = await fetch (`${api}${api_events}`) +const resultsResponse = await fetch (`${api}${api_results}`) + + +//Hier wordt de data opgehaald en vertaald in JSON. MARK: JSON DATA +const usersResponseJSON = await usersResponse.json() +const profileResponseJSON = await profileResponse.json() +const buddyResponseJSON = await buddyResponse.json() +const languageResponseJSON = await languageResponse.json() +const audioResponseJSON = await audioResponse.json() +const playlistResponseJSON = await playlistResponse.json() +const storyResponseJSON = await storyResponse.json() +const animalReponseJSON = await animalReponse.json() +const seasonResponseJSON = await seasonResponse.json() +const likesResponseJSON = await likesResponse.json() +const segmentsResponseJSON = await segmentsResponse.json() +const eventsResponseJSON = await eventsResponse.json() +const resultsResponseJSON = await resultsResponse.json() +// console.log(likesResponseJSON) +// console.log(segmentsResponseJSON) +// console.log(eventsResponseJSON) +// console.log(resultsResponseJSON) + + + // Maak werken met data uit formulieren iets prettiger app.use(express.urlencoded({extended: true})) @@ -23,16 +75,36 @@ app.engine('liquid', engine.express()) // Let op: de browser kan deze bestanden niet rechtstreeks laden (zoals voorheen met HTML bestanden) app.set('views', './views') - +// MARK: Homepage app.get('/', async function (request, response) { response.render('index.liquid') }) +// MARK: Lessons +app.get('/lessons', async function (request, response) { + response.render('lessons.liquid') +}) + +//MARK: Profilepage +app.get('/profile', async function (request, response) { + response.render('profilepagina.liquid') +}) + +// MARK: Statistics +app.get('/statistics', async function (request, response) { + response.render('statistics.liquid') +}) + +// MARK: Story settings +app.get('/story-settings', async function (request, response) { + response.render('storysettings.liquid') +}) + // Stel het poortnummer in waar Express op moet gaan luisteren // Lokaal is dit poort 8000; als deze applicatie ergens gehost wordt, waarschijnlijk poort 80 app.set('port', process.env.PORT || 8000) // Start Express op, gebruik daarbij het zojuist ingestelde poortnummer op app.listen(app.get('port'), function () { - console.log(`Project draait via http://localhost:${app.get('port')}/\n\nSucces deze sprint. En maak mooie dingen! 🙂`) + console.log(`http://localhost:${app.get('port')}`) }) \ No newline at end of file diff --git a/views/index.liquid b/views/index.liquid index 8ddf5bc0d..e69de29bb 100644 --- a/views/index.liquid +++ b/views/index.liquid @@ -1,5 +0,0 @@ - - -Sprint 11 -

Welkom in Sprint 11!

-

Succes!

\ No newline at end of file diff --git a/views/lessons.liquid b/views/lessons.liquid new file mode 100644 index 000000000..14aebded2 --- /dev/null +++ b/views/lessons.liquid @@ -0,0 +1,77 @@ +{% render 'partials/header.liquid' %} + +

Lessons

+ +
+ {% comment %} MARK: Eigen playlists en playlist maken {% endcomment %} +
+

Own Playlists

+ + +
+
+ +

Make a playlist

+

Add your favorite + + + + stories in one playlist +

+ + +
+
+
+ + {% comment %} MARK: All stories {% endcomment %} +
+

All Stories

+ +
+ {% comment %} for loop voor elke taal die beschikbaar is op Tumo Mundo {% endcomment %} + + {% comment %} de taal waar de verhalen in zijn gesproken door middel van dynamische data {% endcomment %} + +
+ + Show all + {% comment %} for loop voor elk verhaal bij de verhalen {% endcomment %} + + +
+ +
+ +
+
+{% render 'partials/footer.liquid' %} \ No newline at end of file diff --git a/views/partials/footer.liquid b/views/partials/footer.liquid new file mode 100644 index 000000000..728d0a83b --- /dev/null +++ b/views/partials/footer.liquid @@ -0,0 +1,4 @@ +{% # esthetic-ignore %} + + + \ No newline at end of file diff --git a/views/partials/header.liquid b/views/partials/header.liquid new file mode 100644 index 000000000..244538047 --- /dev/null +++ b/views/partials/header.liquid @@ -0,0 +1,153 @@ + + + + + + Tumi Mundo + + + + + + +
+ +
+ \ No newline at end of file diff --git a/views/profilepagina.liquid b/views/profilepagina.liquid new file mode 100644 index 000000000..254f9b810 --- /dev/null +++ b/views/profilepagina.liquid @@ -0,0 +1,132 @@ +{% render 'partials/header.liquid' %} + + + +
+
+

Profile

+
+ + +
+ + profiel-foto +

Daan

+ +
+ +
+

Account settings

+ +
+ +
+

Research

+ +
+ +
+ + +
+ +
+{% render 'partials/footer.liquid' %} \ No newline at end of file diff --git a/views/statistics.liquid b/views/statistics.liquid new file mode 100644 index 000000000..e7cf62be2 --- /dev/null +++ b/views/statistics.liquid @@ -0,0 +1,167 @@ +{% render 'partials/header.liquid' %} + + +

Statistics

+ +
+

Todays activities

+ +

Today's listening

+

00:00

+

of your 5 minute goal

+
+
+ Change Goal + Go to stories +
+
+ +
+

Total activities

+ Animal +
+

You have done a lot of learning!

+

Here you can see everything you have done since you started learning with TuMi Mundo. I encourage you to keep going and do your best!

+
+
+ +
+

The attention span test

+

A test for the first phase of the method. Tap on the points to see more in depth numbers.

+ Grafiek + +
+

See how other children are performing

+ +
+
+ +
+

Stories

+ +
+ +
+

The roadmap

+

Here you can see how far you are in the method!

+ +
+ +

1.

+

Listening method

+ + + +
+ + + + + + + + + + + + +

2.

+

The first words

+ + + +
+ + + + + + +

3.

+

People and animals

+ + + +
+ + + + + + +

4.

+

Sentences

+ + + +
+ + + + + + +

5.

+

Reading and writing

+ + + +
+
+
+ +{% render 'partials/footer.liquid' %} \ No newline at end of file diff --git a/views/storysettings.liquid b/views/storysettings.liquid new file mode 100644 index 000000000..71c861677 --- /dev/null +++ b/views/storysettings.liquid @@ -0,0 +1,60 @@ +
+ + + + +

Story settings

+ +
+ +
+
+

Story settings

+ + + + + +
+ +

Hold down the button to hear a preview of the voices

+ +
+ +
+
+ + +
+
+ +
+

Pick a background

+

Pick a background during the story

+ +
+ + + +
+
+ +
+

Volume

+
+ +
+

Sleep mode

+

The story will automatically stop and the app will close after the chosen time.

+
+ +