diff --git a/package-lock.json b/package-lock.json index 9c4db16e..e7e6c80c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -83,36 +83,6 @@ "resolved": "https://registry.npmjs.org/@next/env/-/env-13.1.5.tgz", "integrity": "sha512-0Ry4NhJy6qLbXhvxPRUQ1H6RzgtryGdUto7hfgAK0Iw/bScgeVjwLZdfhm2iT7qsOS32apo9cWzLCxjc6iGPsA==" }, - "node_modules/@next/swc-android-arm-eabi": { - "version": "13.1.5", - "resolved": "https://registry.npmjs.org/@next/swc-android-arm-eabi/-/swc-android-arm-eabi-13.1.5.tgz", - "integrity": "sha512-QAEf3YM9U0qWVQTxgF3Tsh4OeCN1i9Smsf6cVlwZsPzoLyj2nQ879joCoN+ONqDknkBgG6OG/ajefywL3jw9Cg==", - "cpu": [ - "arm" - ], - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-android-arm64": { - "version": "13.1.5", - "resolved": "https://registry.npmjs.org/@next/swc-android-arm64/-/swc-android-arm64-13.1.5.tgz", - "integrity": "sha512-ZmtGPTghRuT5YKL0nNcC2bBVSiG1O0is16eIZ2rWSP/hRW64ZCcAew6pxw2rihntNp22UfequjSTHd91WE/tyQ==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">= 10" - } - }, "node_modules/@next/swc-darwin-arm64": { "version": "13.1.5", "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-13.1.5.tgz", @@ -128,156 +98,6 @@ "node": ">= 10" } }, - "node_modules/@next/swc-darwin-x64": { - "version": "13.1.5", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-13.1.5.tgz", - "integrity": "sha512-6mPX0GNRg8NzjV70at8I8pD9YBnPHDpxJCoMuIqysdTjtQhd09Xk6GUhquNhp1kEJzzVk7OW5l2ch4XIJjtY3A==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-freebsd-x64": { - "version": "13.1.5", - "resolved": "https://registry.npmjs.org/@next/swc-freebsd-x64/-/swc-freebsd-x64-13.1.5.tgz", - "integrity": "sha512-nR4a/SNblG0w8hhYRflTZjk4yD99ld18w/FCftw99ziw8sgciBlOXRICJIiRIaMRU8UH7QLSgBOQVnfNcVNKMA==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-linux-arm-gnueabihf": { - "version": "13.1.5", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-13.1.5.tgz", - "integrity": "sha512-EzkltCVKg3gUzamoeKPhGeSgXTTLAhSzc7v/+g1Y+HQa7JKMrlzdRkrJf+H4LJXcz7lnxgNKHGRyZBSXnmJKJw==", - "cpu": [ - "arm" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-linux-arm64-gnu": { - "version": "13.1.5", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-13.1.5.tgz", - "integrity": "sha512-E7HMkdoxStmTUJU4KzBUU4vZ5DHT4Gd327tC3KFZS5lda0NRerJAOCfsRg+fBj22FvCb1UWsX6XI+weL6xhyeQ==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-linux-arm64-musl": { - "version": "13.1.5", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-13.1.5.tgz", - "integrity": "sha512-qlO0Fd3GQwJS6YpbF9NyL5NGHVZ43dKtZDC/jP4vdeMIYDtSu13HcY/nmA1NdW+RpMwDxSCpx4WKsCCEZGIX8Q==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-linux-x64-gnu": { - "version": "13.1.5", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-13.1.5.tgz", - "integrity": "sha512-GftSBFAay2nocGl+KNqFsj6EVSvomaM/bp86hzezbKsTwQmu76PjOCVcejI1gE+4k7f5zPDgCuorF6F04BV0HQ==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-linux-x64-musl": { - "version": "13.1.5", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-13.1.5.tgz", - "integrity": "sha512-UD+3lxU4yuAjd+uBkCDfBpAcbGAVfEcE8mX/efIxUGIImmzN0QzgTHYEpKFnY3Lxu02dIBcwQRT3Q5mfO4obng==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-win32-arm64-msvc": { - "version": "13.1.5", - "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-13.1.5.tgz", - "integrity": "sha512-uzsvkQY+K3EbL+97IUHPWZPwjsCmCkdH/O5Cf9wCnh0k0gaj7ob1mGKqr1vNNak+9U7HloGwuHcXnZpijWSP7w==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-win32-ia32-msvc": { - "version": "13.1.5", - "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-13.1.5.tgz", - "integrity": "sha512-v0NaC1w8mPf620GlJaHBdEm3dm4G4AEQMasDqjzQvo0yCRrvtvzMgCIe8MocBxFHzaF6868NybMqvumxP5YxEg==", - "cpu": [ - "ia32" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-win32-x64-msvc": { - "version": "13.1.5", - "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.1.5.tgz", - "integrity": "sha512-IZHwvd649ccbWyLCfu92IXEpR250NpmBkaRelPV+WVm4jrd62FKRFCNdqdCXq6TrEg9wN8cK4YG8tm44uEZqLA==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10" - } - }, "node_modules/@prisma/client": { "version": "4.9.0", "resolved": "https://registry.npmjs.org/@prisma/client/-/client-4.9.0.tgz", @@ -2450,6 +2270,186 @@ "engines": { "node": ">=6" } + }, + "node_modules/@next/swc-android-arm-eabi": { + "version": "13.1.5", + "resolved": "https://registry.npmjs.org/@next/swc-android-arm-eabi/-/swc-android-arm-eabi-13.1.5.tgz", + "integrity": "sha512-QAEf3YM9U0qWVQTxgF3Tsh4OeCN1i9Smsf6cVlwZsPzoLyj2nQ879joCoN+ONqDknkBgG6OG/ajefywL3jw9Cg==", + "cpu": [ + "arm" + ], + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-android-arm64": { + "version": "13.1.5", + "resolved": "https://registry.npmjs.org/@next/swc-android-arm64/-/swc-android-arm64-13.1.5.tgz", + "integrity": "sha512-ZmtGPTghRuT5YKL0nNcC2bBVSiG1O0is16eIZ2rWSP/hRW64ZCcAew6pxw2rihntNp22UfequjSTHd91WE/tyQ==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-darwin-x64": { + "version": "13.1.5", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-13.1.5.tgz", + "integrity": "sha512-6mPX0GNRg8NzjV70at8I8pD9YBnPHDpxJCoMuIqysdTjtQhd09Xk6GUhquNhp1kEJzzVk7OW5l2ch4XIJjtY3A==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-freebsd-x64": { + "version": "13.1.5", + "resolved": "https://registry.npmjs.org/@next/swc-freebsd-x64/-/swc-freebsd-x64-13.1.5.tgz", + "integrity": "sha512-nR4a/SNblG0w8hhYRflTZjk4yD99ld18w/FCftw99ziw8sgciBlOXRICJIiRIaMRU8UH7QLSgBOQVnfNcVNKMA==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-linux-arm-gnueabihf": { + "version": "13.1.5", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-13.1.5.tgz", + "integrity": "sha512-EzkltCVKg3gUzamoeKPhGeSgXTTLAhSzc7v/+g1Y+HQa7JKMrlzdRkrJf+H4LJXcz7lnxgNKHGRyZBSXnmJKJw==", + "cpu": [ + "arm" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-linux-arm64-gnu": { + "version": "13.1.5", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-13.1.5.tgz", + "integrity": "sha512-E7HMkdoxStmTUJU4KzBUU4vZ5DHT4Gd327tC3KFZS5lda0NRerJAOCfsRg+fBj22FvCb1UWsX6XI+weL6xhyeQ==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-linux-arm64-musl": { + "version": "13.1.5", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-13.1.5.tgz", + "integrity": "sha512-qlO0Fd3GQwJS6YpbF9NyL5NGHVZ43dKtZDC/jP4vdeMIYDtSu13HcY/nmA1NdW+RpMwDxSCpx4WKsCCEZGIX8Q==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-linux-x64-gnu": { + "version": "13.1.5", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-13.1.5.tgz", + "integrity": "sha512-GftSBFAay2nocGl+KNqFsj6EVSvomaM/bp86hzezbKsTwQmu76PjOCVcejI1gE+4k7f5zPDgCuorF6F04BV0HQ==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-linux-x64-musl": { + "version": "13.1.5", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-13.1.5.tgz", + "integrity": "sha512-UD+3lxU4yuAjd+uBkCDfBpAcbGAVfEcE8mX/efIxUGIImmzN0QzgTHYEpKFnY3Lxu02dIBcwQRT3Q5mfO4obng==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-win32-arm64-msvc": { + "version": "13.1.5", + "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-13.1.5.tgz", + "integrity": "sha512-uzsvkQY+K3EbL+97IUHPWZPwjsCmCkdH/O5Cf9wCnh0k0gaj7ob1mGKqr1vNNak+9U7HloGwuHcXnZpijWSP7w==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-win32-ia32-msvc": { + "version": "13.1.5", + "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-13.1.5.tgz", + "integrity": "sha512-v0NaC1w8mPf620GlJaHBdEm3dm4G4AEQMasDqjzQvo0yCRrvtvzMgCIe8MocBxFHzaF6868NybMqvumxP5YxEg==", + "cpu": [ + "ia32" + ], + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@next/swc-win32-x64-msvc": { + "version": "13.1.5", + "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.1.5.tgz", + "integrity": "sha512-IZHwvd649ccbWyLCfu92IXEpR250NpmBkaRelPV+WVm4jrd62FKRFCNdqdCXq6TrEg9wN8cK4YG8tm44uEZqLA==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } } }, "dependencies": { @@ -2485,84 +2485,12 @@ "resolved": "https://registry.npmjs.org/@next/env/-/env-13.1.5.tgz", "integrity": "sha512-0Ry4NhJy6qLbXhvxPRUQ1H6RzgtryGdUto7hfgAK0Iw/bScgeVjwLZdfhm2iT7qsOS32apo9cWzLCxjc6iGPsA==" }, - "@next/swc-android-arm-eabi": { - "version": "13.1.5", - "resolved": "https://registry.npmjs.org/@next/swc-android-arm-eabi/-/swc-android-arm-eabi-13.1.5.tgz", - "integrity": "sha512-QAEf3YM9U0qWVQTxgF3Tsh4OeCN1i9Smsf6cVlwZsPzoLyj2nQ879joCoN+ONqDknkBgG6OG/ajefywL3jw9Cg==", - "optional": true - }, - "@next/swc-android-arm64": { - "version": "13.1.5", - "resolved": "https://registry.npmjs.org/@next/swc-android-arm64/-/swc-android-arm64-13.1.5.tgz", - "integrity": "sha512-ZmtGPTghRuT5YKL0nNcC2bBVSiG1O0is16eIZ2rWSP/hRW64ZCcAew6pxw2rihntNp22UfequjSTHd91WE/tyQ==", - "optional": true - }, "@next/swc-darwin-arm64": { "version": "13.1.5", "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-13.1.5.tgz", "integrity": "sha512-aeFXK+M/zmG/CNdMJ0tGNs0MWcLueUe7vZ2V6fa+2yz/ZgYJLI7fEfFvVh1p1yBMzupSbZDowvMuCSFTaeg3MA==", "optional": true }, - "@next/swc-darwin-x64": { - "version": "13.1.5", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-13.1.5.tgz", - "integrity": "sha512-6mPX0GNRg8NzjV70at8I8pD9YBnPHDpxJCoMuIqysdTjtQhd09Xk6GUhquNhp1kEJzzVk7OW5l2ch4XIJjtY3A==", - "optional": true - }, - "@next/swc-freebsd-x64": { - "version": "13.1.5", - "resolved": "https://registry.npmjs.org/@next/swc-freebsd-x64/-/swc-freebsd-x64-13.1.5.tgz", - "integrity": "sha512-nR4a/SNblG0w8hhYRflTZjk4yD99ld18w/FCftw99ziw8sgciBlOXRICJIiRIaMRU8UH7QLSgBOQVnfNcVNKMA==", - "optional": true - }, - "@next/swc-linux-arm-gnueabihf": { - "version": "13.1.5", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-13.1.5.tgz", - "integrity": "sha512-EzkltCVKg3gUzamoeKPhGeSgXTTLAhSzc7v/+g1Y+HQa7JKMrlzdRkrJf+H4LJXcz7lnxgNKHGRyZBSXnmJKJw==", - "optional": true - }, - "@next/swc-linux-arm64-gnu": { - "version": "13.1.5", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-13.1.5.tgz", - "integrity": "sha512-E7HMkdoxStmTUJU4KzBUU4vZ5DHT4Gd327tC3KFZS5lda0NRerJAOCfsRg+fBj22FvCb1UWsX6XI+weL6xhyeQ==", - "optional": true - }, - "@next/swc-linux-arm64-musl": { - "version": "13.1.5", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-13.1.5.tgz", - "integrity": "sha512-qlO0Fd3GQwJS6YpbF9NyL5NGHVZ43dKtZDC/jP4vdeMIYDtSu13HcY/nmA1NdW+RpMwDxSCpx4WKsCCEZGIX8Q==", - "optional": true - }, - "@next/swc-linux-x64-gnu": { - "version": "13.1.5", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-13.1.5.tgz", - "integrity": "sha512-GftSBFAay2nocGl+KNqFsj6EVSvomaM/bp86hzezbKsTwQmu76PjOCVcejI1gE+4k7f5zPDgCuorF6F04BV0HQ==", - "optional": true - }, - "@next/swc-linux-x64-musl": { - "version": "13.1.5", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-13.1.5.tgz", - "integrity": "sha512-UD+3lxU4yuAjd+uBkCDfBpAcbGAVfEcE8mX/efIxUGIImmzN0QzgTHYEpKFnY3Lxu02dIBcwQRT3Q5mfO4obng==", - "optional": true - }, - "@next/swc-win32-arm64-msvc": { - "version": "13.1.5", - "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-13.1.5.tgz", - "integrity": "sha512-uzsvkQY+K3EbL+97IUHPWZPwjsCmCkdH/O5Cf9wCnh0k0gaj7ob1mGKqr1vNNak+9U7HloGwuHcXnZpijWSP7w==", - "optional": true - }, - "@next/swc-win32-ia32-msvc": { - "version": "13.1.5", - "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-13.1.5.tgz", - "integrity": "sha512-v0NaC1w8mPf620GlJaHBdEm3dm4G4AEQMasDqjzQvo0yCRrvtvzMgCIe8MocBxFHzaF6868NybMqvumxP5YxEg==", - "optional": true - }, - "@next/swc-win32-x64-msvc": { - "version": "13.1.5", - "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.1.5.tgz", - "integrity": "sha512-IZHwvd649ccbWyLCfu92IXEpR250NpmBkaRelPV+WVm4jrd62FKRFCNdqdCXq6TrEg9wN8cK4YG8tm44uEZqLA==", - "optional": true - }, "@prisma/client": { "version": "4.9.0", "resolved": "https://registry.npmjs.org/@prisma/client/-/client-4.9.0.tgz", @@ -4230,6 +4158,78 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz", "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==" + }, + "@next/swc-android-arm-eabi": { + "version": "13.1.5", + "resolved": "https://registry.npmjs.org/@next/swc-android-arm-eabi/-/swc-android-arm-eabi-13.1.5.tgz", + "integrity": "sha512-QAEf3YM9U0qWVQTxgF3Tsh4OeCN1i9Smsf6cVlwZsPzoLyj2nQ879joCoN+ONqDknkBgG6OG/ajefywL3jw9Cg==", + "optional": true + }, + "@next/swc-android-arm64": { + "version": "13.1.5", + "resolved": "https://registry.npmjs.org/@next/swc-android-arm64/-/swc-android-arm64-13.1.5.tgz", + "integrity": "sha512-ZmtGPTghRuT5YKL0nNcC2bBVSiG1O0is16eIZ2rWSP/hRW64ZCcAew6pxw2rihntNp22UfequjSTHd91WE/tyQ==", + "optional": true + }, + "@next/swc-darwin-x64": { + "version": "13.1.5", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-13.1.5.tgz", + "integrity": "sha512-6mPX0GNRg8NzjV70at8I8pD9YBnPHDpxJCoMuIqysdTjtQhd09Xk6GUhquNhp1kEJzzVk7OW5l2ch4XIJjtY3A==", + "optional": true + }, + "@next/swc-freebsd-x64": { + "version": "13.1.5", + "resolved": "https://registry.npmjs.org/@next/swc-freebsd-x64/-/swc-freebsd-x64-13.1.5.tgz", + "integrity": "sha512-nR4a/SNblG0w8hhYRflTZjk4yD99ld18w/FCftw99ziw8sgciBlOXRICJIiRIaMRU8UH7QLSgBOQVnfNcVNKMA==", + "optional": true + }, + "@next/swc-linux-arm-gnueabihf": { + "version": "13.1.5", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-13.1.5.tgz", + "integrity": "sha512-EzkltCVKg3gUzamoeKPhGeSgXTTLAhSzc7v/+g1Y+HQa7JKMrlzdRkrJf+H4LJXcz7lnxgNKHGRyZBSXnmJKJw==", + "optional": true + }, + "@next/swc-linux-arm64-gnu": { + "version": "13.1.5", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-13.1.5.tgz", + "integrity": "sha512-E7HMkdoxStmTUJU4KzBUU4vZ5DHT4Gd327tC3KFZS5lda0NRerJAOCfsRg+fBj22FvCb1UWsX6XI+weL6xhyeQ==", + "optional": true + }, + "@next/swc-linux-arm64-musl": { + "version": "13.1.5", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-13.1.5.tgz", + "integrity": "sha512-qlO0Fd3GQwJS6YpbF9NyL5NGHVZ43dKtZDC/jP4vdeMIYDtSu13HcY/nmA1NdW+RpMwDxSCpx4WKsCCEZGIX8Q==", + "optional": true + }, + "@next/swc-linux-x64-gnu": { + "version": "13.1.5", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-13.1.5.tgz", + "integrity": "sha512-GftSBFAay2nocGl+KNqFsj6EVSvomaM/bp86hzezbKsTwQmu76PjOCVcejI1gE+4k7f5zPDgCuorF6F04BV0HQ==", + "optional": true + }, + "@next/swc-linux-x64-musl": { + "version": "13.1.5", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-13.1.5.tgz", + "integrity": "sha512-UD+3lxU4yuAjd+uBkCDfBpAcbGAVfEcE8mX/efIxUGIImmzN0QzgTHYEpKFnY3Lxu02dIBcwQRT3Q5mfO4obng==", + "optional": true + }, + "@next/swc-win32-arm64-msvc": { + "version": "13.1.5", + "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-13.1.5.tgz", + "integrity": "sha512-uzsvkQY+K3EbL+97IUHPWZPwjsCmCkdH/O5Cf9wCnh0k0gaj7ob1mGKqr1vNNak+9U7HloGwuHcXnZpijWSP7w==", + "optional": true + }, + "@next/swc-win32-ia32-msvc": { + "version": "13.1.5", + "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-13.1.5.tgz", + "integrity": "sha512-v0NaC1w8mPf620GlJaHBdEm3dm4G4AEQMasDqjzQvo0yCRrvtvzMgCIe8MocBxFHzaF6868NybMqvumxP5YxEg==", + "optional": true + }, + "@next/swc-win32-x64-msvc": { + "version": "13.1.5", + "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.1.5.tgz", + "integrity": "sha512-IZHwvd649ccbWyLCfu92IXEpR250NpmBkaRelPV+WVm4jrd62FKRFCNdqdCXq6TrEg9wN8cK4YG8tm44uEZqLA==", + "optional": true } } } diff --git a/package.json b/package.json index 4a06c723..e5455c16 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "_moduleAliases": { "@Api": "./dist/api", "@Pages": "./dist/pages", + "@Components": "./dist/front/components", "@Common": "./dist/common", "@Services": "./dist/common/services", "@Entries": "./dist/common/entries", diff --git a/src/front/assets/icons/notification.svg b/src/front/assets/icons/notification.svg new file mode 100644 index 00000000..ab1761dd --- /dev/null +++ b/src/front/assets/icons/notification.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/src/front/assets/icons/user.svg b/src/front/assets/icons/user.svg new file mode 100644 index 00000000..61ee9be9 --- /dev/null +++ b/src/front/assets/icons/user.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/front/assets/link_logo.svg b/src/front/assets/link_logo.svg deleted file mode 100644 index 4d2dc991..00000000 --- a/src/front/assets/link_logo.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/src/front/assets/logo.png b/src/front/assets/logo.png new file mode 100644 index 00000000..7a125469 Binary files /dev/null and b/src/front/assets/logo.png differ diff --git a/src/front/assets/logo.svg b/src/front/assets/logo.svg deleted file mode 100644 index 95f7c75e..00000000 --- a/src/front/assets/logo.svg +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/src/front/components/DesignSystem/Header/HeaderLink/classes.module.scss b/src/front/components/DesignSystem/Header/HeaderLink/classes.module.scss new file mode 100644 index 00000000..5bbc5d29 --- /dev/null +++ b/src/front/components/DesignSystem/Header/HeaderLink/classes.module.scss @@ -0,0 +1,22 @@ +@import "@Themes/constants.scss"; + +.root { + display: flex; + position: relative; + width: fit-content; + margin: auto; + height: 83px; + padding: 10px 16px; + + .content{ + margin: auto; + } + .underline{ + width: 100%; + height: 3px; + background-color: $black; + position: absolute; + bottom: 0; + left: 0; + } +} \ No newline at end of file diff --git a/src/front/components/DesignSystem/Header/HeaderLink/index.tsx b/src/front/components/DesignSystem/Header/HeaderLink/index.tsx new file mode 100644 index 00000000..9c1259f5 --- /dev/null +++ b/src/front/components/DesignSystem/Header/HeaderLink/index.tsx @@ -0,0 +1,37 @@ +import React from "react"; +import classes from "./classes.module.scss"; +import Link from "next/link"; +import Typography, { ITypo } from "../../Typography"; +import classNames from "classnames"; +import router from "next/router"; +import { useEffect, useState } from 'react' + +type IPropsClass = { + text: string | JSX.Element; + path?: string; + isActive?: boolean; +}; + +type IStateClass = {}; + +class HeaderLinkClass extends React.Component { + public override render(): JSX.Element { + return +
+ + {this.props.text} + +
+ {this.props.isActive &&
} + ; + } + +} + +export default function HeaderLink(props: IPropsClass) { + const [url, setUrl] = useState("") + useEffect(() => setUrl(router?.asPath), []) + const isActive = url === props.path; + return ; +} diff --git a/src/front/components/DesignSystem/Header/Navigation/classes.module.scss b/src/front/components/DesignSystem/Header/Navigation/classes.module.scss new file mode 100644 index 00000000..ba0e4863 --- /dev/null +++ b/src/front/components/DesignSystem/Header/Navigation/classes.module.scss @@ -0,0 +1,8 @@ +@import "@Themes/constants.scss"; + +.root { + display: inline-flex; + @media screen and (max-width: $screen-ls) { + display: none; + } +} diff --git a/src/front/components/DesignSystem/Header/Navigation/index.tsx b/src/front/components/DesignSystem/Header/Navigation/index.tsx new file mode 100644 index 00000000..b5d8402d --- /dev/null +++ b/src/front/components/DesignSystem/Header/Navigation/index.tsx @@ -0,0 +1,18 @@ +import React from "react"; +import classes from "./classes.module.scss"; +import HeaderLink from "../HeaderLink"; + +type IProps = {}; +type IState = {}; + +export default class Navigation extends React.Component { + public override render(): JSX.Element { + return
+ + + + + +
; + } +} diff --git a/src/front/components/DesignSystem/Header/Notifications/classes.module.scss b/src/front/components/DesignSystem/Header/Notifications/classes.module.scss new file mode 100644 index 00000000..9501ac5b --- /dev/null +++ b/src/front/components/DesignSystem/Header/Notifications/classes.module.scss @@ -0,0 +1,8 @@ +@import "@Themes/constants.scss"; + +.root { + .notification-icon{ + height: 24px; + width: 24px; + } +} diff --git a/src/front/components/DesignSystem/Header/Notifications/index.tsx b/src/front/components/DesignSystem/Header/Notifications/index.tsx new file mode 100644 index 00000000..ba9fb00d --- /dev/null +++ b/src/front/components/DesignSystem/Header/Notifications/index.tsx @@ -0,0 +1,15 @@ +import React from "react"; +import classes from "./classes.module.scss"; +import Image from "next/image"; +import NotificationIcon from "@Assets/icons/notification.svg"; + +type IProps = {}; +type IState = {}; + +export default class Notifications extends React.Component { + public override render(): JSX.Element { + return
+ notifications +
; + } +} diff --git a/src/front/components/DesignSystem/Header/Profile/classes.module.scss b/src/front/components/DesignSystem/Header/Profile/classes.module.scss new file mode 100644 index 00000000..43b03265 --- /dev/null +++ b/src/front/components/DesignSystem/Header/Profile/classes.module.scss @@ -0,0 +1,8 @@ +@import "@Themes/constants.scss"; + +.root { + .profile-icon{ + height: 24px; + width: 24px; + } +} diff --git a/src/front/components/DesignSystem/Header/Profile/index.tsx b/src/front/components/DesignSystem/Header/Profile/index.tsx new file mode 100644 index 00000000..8605842b --- /dev/null +++ b/src/front/components/DesignSystem/Header/Profile/index.tsx @@ -0,0 +1,15 @@ +import React from "react"; +import classes from "./classes.module.scss"; +import Image from "next/image"; +import ProfileIcon from "@Assets/icons/user.svg"; + +type IProps = {}; +type IState = {}; + +export default class Profile extends React.Component { + public override render(): JSX.Element { + return
+ notifications +
; + } +} diff --git a/src/front/components/DesignSystem/Header/classes.module.scss b/src/front/components/DesignSystem/Header/classes.module.scss new file mode 100644 index 00000000..5757c25c --- /dev/null +++ b/src/front/components/DesignSystem/Header/classes.module.scss @@ -0,0 +1,25 @@ +@import "@Themes/constants.scss"; + +.root { + display: flex; + align-items: center; + justify-content: space-between; + height: 83px; + background-color: $white; + box-shadow: $shadow-neutral; + padding: 0 48px; + + .logo-container { + .logo { + width: 174px; + height: 39px; + } + } + + .right-section { + display: inline-flex; + >:first-child{ + margin-right: 32px; + } + } +} \ No newline at end of file diff --git a/src/front/components/DesignSystem/Header/index.tsx b/src/front/components/DesignSystem/Header/index.tsx new file mode 100644 index 00000000..b4ca00a9 --- /dev/null +++ b/src/front/components/DesignSystem/Header/index.tsx @@ -0,0 +1,28 @@ +import React from "react"; +import classes from "./classes.module.scss"; +import Image from "next/image"; +import LogoIcon from "@Assets/logo.png" +import Link from "next/link"; +import Navigation from "./Navigation"; +import Notifications from "./Notifications"; +import Profile from "./Profile"; + +type IProps = {}; +type IState = {}; + +export default class Header extends React.Component { + public override render(): JSX.Element { + return
+
+ + logo + +
+ +
+ + +
+
; + } +} diff --git a/src/front/components/LayoutTemplates/DefaultLayout.tsx b/src/front/components/LayoutTemplates/DefaultLayout.tsx index 92eb71b3..c862295b 100644 --- a/src/front/components/LayoutTemplates/DefaultLayout.tsx +++ b/src/front/components/LayoutTemplates/DefaultLayout.tsx @@ -7,7 +7,7 @@ export const DefaultLayout = ({ children }: DefaultLayoutProps) => { return ( <> - Tezos Link + LECoffre
{children}
diff --git a/src/front/components/LayoutTemplates/DefaultTemplate/index.tsx b/src/front/components/LayoutTemplates/DefaultTemplate/index.tsx index 6da3ed1d..2d99de76 100644 --- a/src/front/components/LayoutTemplates/DefaultTemplate/index.tsx +++ b/src/front/components/LayoutTemplates/DefaultTemplate/index.tsx @@ -1,8 +1,6 @@ import React, { ReactNode } from "react"; - -// import Header from "@Components/Materials/Header"; - import classes from "./classes.module.scss"; +import Header from "@Front/Components/DesignSystem/Header"; type IProps = { title: string; @@ -22,7 +20,7 @@ export default class DefaultTemplate extends React.Component { public override render(): JSX.Element { return ( <> - {/*
*/} +
{this.props.children}
diff --git a/src/front/components/Layouts/DesignSystem/classes.module.scss b/src/front/components/Layouts/DesignSystem/classes.module.scss index 820b368a..f4ab9c5e 100644 --- a/src/front/components/Layouts/DesignSystem/classes.module.scss +++ b/src/front/components/Layouts/DesignSystem/classes.module.scss @@ -5,4 +5,8 @@ .sub-section { margin-bottom: 24px; } + + .inline-flex{ + display: inline-flex; + } } diff --git a/src/front/components/Layouts/DesignSystem/index.tsx b/src/front/components/Layouts/DesignSystem/index.tsx index 179308bd..4a2b7e7a 100644 --- a/src/front/components/Layouts/DesignSystem/index.tsx +++ b/src/front/components/Layouts/DesignSystem/index.tsx @@ -4,6 +4,7 @@ import DefaultTemplate from "@Front/Components/LayoutTemplates/DefaultTemplate"; import BasePage from "../Base"; import classes from "./classes.module.scss"; import Confirm from "@Front/Components/DesignSystem/Modal/Confirm"; +import HeaderLink from "@Front/Components/DesignSystem/Header/HeaderLink"; type IState = { isModalDisplayed: boolean @@ -72,6 +73,16 @@ export default class DesignSystem extends BasePage {
+
+
+ HeaderLink components +
+
+ + +
+
+ ); diff --git a/src/front/components/Materials/Header/classes.module.scss b/src/front/components/Materials/Header/classes.module.scss deleted file mode 100644 index 3e2f9fba..00000000 --- a/src/front/components/Materials/Header/classes.module.scss +++ /dev/null @@ -1,69 +0,0 @@ -@import "@Themes/constants.scss"; - -.root { - z-index: 10; - height: 64px; - background-color: $backgroundColor; - position: fixed; - top: 0; - width: 100vw; - box-shadow: 0 6px 10px $shadowColor; - - .triangle-under-logo { - position: absolute; - top: 64px; - left: calc(50vw - 70px); - width: 0; - height: 0; - border-left: 70px solid transparent; - border-right: 70px solid transparent; - border-top: 40px solid $backgroundColor; - filter: drop-shadow(0 4px 5px $shadowColor); - } - - - .menu { - position: absolute; - height: 64px; - top: 4px; - left: 60px; - line-height: 64px; - - @media (max-width: 900px) { - display: none; - } - } - - .logo { - position: absolute; - top: 13px; - left: calc(50vw - 30px); - - img { - height: 68px; - width: auto; - margin-top: 5px; - filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.25)); - } - } - - .button { - position: absolute; - top: 14px; - right: 14px; - display: grid; - grid-template-columns: 130px 120px; - grid-gap: 10px; - - @media (max-width: 900px) { - display: none; - } - } - - .top-menu-burger { - position: absolute; - top: 10px; - left: 10px; - background-color: aqua; - } -} \ No newline at end of file diff --git a/src/front/components/Materials/Header/index.tsx b/src/front/components/Materials/Header/index.tsx deleted file mode 100644 index 703721a2..00000000 --- a/src/front/components/Materials/Header/index.tsx +++ /dev/null @@ -1,58 +0,0 @@ -import Link from "next/link"; -import React from "react"; -import Image from "next/image"; -import TezosLinkLogo from "@Assets/link_logo.svg"; -import Logo from "@Assets/logo.svg"; -import classes from "./classes.module.scss"; -import Burger from "@Front/Components/Elements/Burger"; - -type IProps = {}; -type IState = { - status: boolean; -}; - -export default class Header extends React.Component { - public constructor(props: IProps) { - super(props); - this.state = { - status: false, - }; - - this.switchStatus = this.switchStatus.bind(this); - } - - public override render(): JSX.Element { - return ( - <> -
- -
- - TEZOS LINK - -
-
-
- - entire stack - -
-
- - {/*
-
- - ); - } - - private switchStatus() { - this.state.status - ? this.setState({ status: false }) - : this.setState({ status: true }); - } -} diff --git a/src/front/themes/constants.scss b/src/front/themes/constants.scss index 188bd45c..9f0a3d72 100644 --- a/src/front/themes/constants.scss +++ b/src/front/themes/constants.scss @@ -1,8 +1,9 @@ -$screen-xl: 2559px; +// $screen-xl: 2559px; $screen-l: 1440px; +$screen-ls: 1210px; $screen-m: 1023px; $screen-s: 767px; -$screen-xs: 424px; +// $screen-xs: 424px; $custom-easing: cubic-bezier(0.645, 0.045, 0.355, 1); @@ -34,3 +35,5 @@ $grey-medium: #e7e7e7; $grey-soft: #f9f9f9; $modal-background: rgba(0, 0, 0, 0.44); + +$shadow-neutral: 0px 8px 10px 0px #00000012; \ No newline at end of file