From e364476ae84048fcab420b2c2ae10c436dd95ae0 Mon Sep 17 00:00:00 2001 From: 2075 <2075@zero.io> Date: Mon, 22 Aug 2022 14:10:07 +0200 Subject: [PATCH] feat(newsletter): update dependencies --- next.config.js | 9 ++--- package.json | 64 +++++++++++++++++------------------ src/layouts/default/index.tsx | 26 +++++++------- 3 files changed, 51 insertions(+), 48 deletions(-) diff --git a/next.config.js b/next.config.js index f36098e..2bf806e 100644 --- a/next.config.js +++ b/next.config.js @@ -26,8 +26,9 @@ module.exports = { APP_VERSION: pkg.version, VERCEL_GITHUB_COMMIT_REF: process.env.VERCEL_GITHUB_COMMIT_REF || 'unknown', }, - poweredByHeader: 'gamedao.co loves you', - experiments: { - topLevelAwait: true, - } + poweredByHeader: false, + // 'gamedao.co loves you', + // experiments: { + // topLevelAwait: true, + // } } diff --git a/package.json b/package.json index d6dc989..ece2b29 100644 --- a/package.json +++ b/package.json @@ -13,57 +13,57 @@ "test": "missing" }, "dependencies": { - "@emotion/cache": "^11.5.0", - "@emotion/react": "^11.8.2", - "@emotion/server": "^11.4.0", - "@emotion/styled": "^11.8.1", + "@emotion/cache": "^11.10.1", + "@emotion/react": "^11.10.0", + "@emotion/server": "^11.10.0", + "@emotion/styled": "^11.10.0", "@google/model-viewer": "^1.10.1", - "@hookform/resolvers": "^2.8.8", - "@iconify/icons-eva": "^1.2.2", - "@iconify/icons-ic": "^1.2.3", + "@hookform/resolvers": "^2.9.7", + "@iconify/icons-eva": "^1.2.3", + "@iconify/icons-ic": "^1.2.10", "@iconify/react": "^3.2.0", - "@mui/icons-material": "^5.5.1", - "@mui/lab": "^5.0.0-alpha.78", - "@mui/material": "^5.5.1", - "cross-undici-fetch": "^0.1.27", + "@mui/icons-material": "^5.8.4", + "@mui/lab": "^5.0.0-alpha.95", + "@mui/material": "^5.10.1", + "cross-undici-fetch": "^0.4.14", "deepmerge": "^4.2.2", "express": "^4.17.3", - "fathom-client": "^3.4.1", + "fathom-client": "^3.5.0", "lodash": "^4.17.21", - "next": "12.1.0", - "react": "^17.0.2", + "next": "12.2.5", + "react": "^18.2.0", "react-3d-viewer": "^1.0.12", - "react-dom": "^17.0.2", - "react-hook-form": "^7.28.1", + "react-dom": "^18.2.0", + "react-hook-form": "^7.34.2", "react-icons": "^4.3.1", "react-mailchimp-subscribe": "^2.1.3", "react-material-ui-carousel": "^3.3.3", "react-reveal": "^1.2.2", - "react-toastify": "^8.2.0", + "react-toastify": "^9.0.8", "yup": "^0.32.11" }, "devDependencies": { - "@changesets/cli": "^2.21.1", - "@commitlint/cli": "^16.2.3", - "@commitlint/config-conventional": "^16.2.1", - "@commitlint/prompt-cli": "^16.2.3", + "@changesets/cli": "^2.24.3", + "@commitlint/cli": "^17.0.3", + "@commitlint/config-conventional": "^17.0.3", + "@commitlint/prompt-cli": "^17.0.3", "@picgo/bump-version": "^1.0.3", - "@types/node": "^17.0.21", - "@types/react": "^17.0.40", - "commitizen": "^4.2.3", - "concurrently": "^7.0.0", + "@types/node": "^18.7.9", + "@types/react": "^18.0.17", + "commitizen": "^4.2.5", + "concurrently": "^7.3.0", "conventional-changelog": "^3.1.24", - "cz-customizable": "^6.2.0", + "cz-customizable": "^6.9.1", "dotenv": "^16.0.0", - "eslint": "^8.11.0", - "eslint-config-next": "^12.1.0", - "husky": "^7.0.4", - "lint-staged": "^12.3.7", + "eslint": "^8.22.0", + "eslint-config-next": "^12.2.5", + "husky": "^8.0.1", + "lint-staged": "^13.0.3", "nextjs-sitemap-generator": "^1.3.1", "npm-run-all": "^4.1.5", - "prettier": "^2.6.0", + "prettier": "^2.7.1", "pretty-quick": "^3.1.3", - "typescript": "^4.6.2", + "typescript": "^4.7.4", "wsrun": "^5.2.1" }, "config": { diff --git a/src/layouts/default/index.tsx b/src/layouts/default/index.tsx index 211b290..a32d1ac 100644 --- a/src/layouts/default/index.tsx +++ b/src/layouts/default/index.tsx @@ -35,18 +35,20 @@ export function Layout({ showHeader, showFooter, showSidebar, children, noContai > - - { showHeader &&
} - { noContainer ? { children } : {children} } - - { showFooter &&