From 1e2932bd936fe9cf9bd24a836c9c74355fb7388a Mon Sep 17 00:00:00 2001 From: Thomas Hintz Date: Tue, 14 Feb 2023 06:55:58 -0800 Subject: [PATCH] Changing to new head structure. --- package-lock.json | 240 +++++++++--------- package.json | 2 +- src/app/(extra)/book-success/head.jsx | 10 - src/app/(extra)/book-success/page.jsx | 4 + src/app/(extra)/book/head.jsx | 10 - src/app/(extra)/book/page.jsx | 5 + .../(main)/articles/redux-with-react/head.jsx | 9 - .../(main)/articles/redux-with-react/page.jsx | 4 + .../articles/render-tree-performance/head.jsx | 9 - .../articles/render-tree-performance/page.jsx | 4 + .../whitelabeling-with-react/head.jsx | 9 - .../whitelabeling-with-react/page.jsx | 4 + src/app/(main)/episodes/page.jsx | 5 + src/app/(main)/head.jsx | 10 - src/app/(main)/page.jsx | 4 + src/app/(main)/podcast/[slug]/head.jsx | 13 - src/app/(main)/podcast/[slug]/page.jsx | 8 + src/app/head.jsx | 10 - src/app/layout.jsx | 7 + 19 files changed, 166 insertions(+), 201 deletions(-) delete mode 100644 src/app/(extra)/book-success/head.jsx delete mode 100644 src/app/(extra)/book/head.jsx delete mode 100644 src/app/(main)/articles/redux-with-react/head.jsx delete mode 100644 src/app/(main)/articles/render-tree-performance/head.jsx delete mode 100644 src/app/(main)/articles/whitelabeling-with-react/head.jsx delete mode 100644 src/app/(main)/head.jsx delete mode 100644 src/app/(main)/podcast/[slug]/head.jsx delete mode 100644 src/app/head.jsx diff --git a/package-lock.json b/package-lock.json index 82fb66f..89975a9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,7 +20,7 @@ "eslint-config-next": "13.1.4", "focus-visible": "^5.2.0", "i": "^0.3.7", - "next": "^13.1.6-canary.0", + "next": "^13.1.7-canary.12", "nodemailer": "^6.9.1", "postcss-focus-visible": "^6.0.4", "react": "18.2.0", @@ -241,9 +241,9 @@ } }, "node_modules/@next/env": { - "version": "13.1.6-canary.0", - "resolved": "https://registry.npmjs.org/@next/env/-/env-13.1.6-canary.0.tgz", - "integrity": "sha512-yfK2qNIgjsgGxslHMtHvfPaiHDc0H++5FZU00uXPUwVig4b1cRCAE4dB/svxhlLLhDLP1B63wIr3ACUI/jLN8w==" + "version": "13.1.7-canary.12", + "resolved": "https://registry.npmjs.org/@next/env/-/env-13.1.7-canary.12.tgz", + "integrity": "sha512-jHnNukl+IQ11/M8ZsujZZ2cKn5Qd3VEnCml0ORyB18HUgSPYtA+4kHJ0j9p8aXXeoG1+o2zXSVNfpNUHHJZ3XA==" }, "node_modules/@next/eslint-plugin-next": { "version": "13.1.4", @@ -259,9 +259,9 @@ "integrity": "sha512-NfqQPAIFJhssdaZEsP0MADZKN+tc040jOkNKVlDZHtVjJWBJSgbe8UHg3w0S6YuQr7PHc0ACbFeVCBQeG4MEvg==" }, "node_modules/@next/swc-android-arm-eabi": { - "version": "13.1.6-canary.0", - "resolved": "https://registry.npmjs.org/@next/swc-android-arm-eabi/-/swc-android-arm-eabi-13.1.6-canary.0.tgz", - "integrity": "sha512-BxOGlAVMUhXs1p/7F3+5E+Ev7Qe3O3yZ5Cxom/v1SUvrzEdMGP0AYu9q9UA9Qqe/OAFmpvNpgr3+S2MgwoEEsA==", + "version": "13.1.7-canary.12", + "resolved": "https://registry.npmjs.org/@next/swc-android-arm-eabi/-/swc-android-arm-eabi-13.1.7-canary.12.tgz", + "integrity": "sha512-KzGFaiAzBqD8ilWZXF7fg/t/kCuKba/EW+Eo58yo/uC117xa5ay/F62Td/EQzeo1hy5m7DPBHQxQsMKfaRH78Q==", "cpu": [ "arm" ], @@ -274,9 +274,9 @@ } }, "node_modules/@next/swc-android-arm64": { - "version": "13.1.6-canary.0", - "resolved": "https://registry.npmjs.org/@next/swc-android-arm64/-/swc-android-arm64-13.1.6-canary.0.tgz", - "integrity": "sha512-c9qrR4udjcXrB3SQcYiya4HZVNDBk1EC4aqC9LMrpix93pnELxSvkfHMu0PVLVXTw8Opwpv8InEmjHI4gol7kA==", + "version": "13.1.7-canary.12", + "resolved": "https://registry.npmjs.org/@next/swc-android-arm64/-/swc-android-arm64-13.1.7-canary.12.tgz", + "integrity": "sha512-xcaPRD1saddk+//Um8dHNZx86H/DdP+FmwfJqhyIsIZrwCJn78k3I4ppTb93tFCdegmIXbG9eQV2icb/pODFlg==", "cpu": [ "arm64" ], @@ -289,9 +289,9 @@ } }, "node_modules/@next/swc-darwin-arm64": { - "version": "13.1.6-canary.0", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-13.1.6-canary.0.tgz", - "integrity": "sha512-pvckeqrTLPmzC0QyTiOekr21e4W38CgAPG0mLEkB6BybS94LmrLrL69G+umYy1PwjbGgZ4NUrBwrfPAonof1Hw==", + "version": "13.1.7-canary.12", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-13.1.7-canary.12.tgz", + "integrity": "sha512-mJZrAW+Pb1tzz7oDyFUJdjez2M7scGowDad+5F1FTe/mwhORwAeEpfcOVJJLhxpdrYUgybLneDjlvfxn4yr8SQ==", "cpu": [ "arm64" ], @@ -304,9 +304,9 @@ } }, "node_modules/@next/swc-darwin-x64": { - "version": "13.1.6-canary.0", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-13.1.6-canary.0.tgz", - "integrity": "sha512-ZoJrw+OreB+xkJ+9KWziuUWkMzLdm+p/NLO8MUgg7b9ptLkrXvTh+oT+moBEZzLHA3M7G4uH6yGh3ZL8bjKFJg==", + "version": "13.1.7-canary.12", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-13.1.7-canary.12.tgz", + "integrity": "sha512-e0cfAL0ekU16Vugr1y31b/5FbqAZdl9x+31GK9P2yI2OgX/AKdyFtyLNtqPtd3Fx7ueaCxmyPprriUf84bu1Bw==", "cpu": [ "x64" ], @@ -319,9 +319,9 @@ } }, "node_modules/@next/swc-freebsd-x64": { - "version": "13.1.6-canary.0", - "resolved": "https://registry.npmjs.org/@next/swc-freebsd-x64/-/swc-freebsd-x64-13.1.6-canary.0.tgz", - "integrity": "sha512-0YrpSMguwRmGwSnOb4t5VVb3/LaY2aUKP+vFEjFANDnLJVrlUcMcGNRBpbSWoUoMkeqik724c1onssMjyTvDpA==", + "version": "13.1.7-canary.12", + "resolved": "https://registry.npmjs.org/@next/swc-freebsd-x64/-/swc-freebsd-x64-13.1.7-canary.12.tgz", + "integrity": "sha512-0qWa3f3vM0EDLhGYBPs9ukE/rTCZQGGf0bqIDXL117t8LBFmD3wHlf3kCq9WDL5m5hPKQMCwgH3tjn1FxWAWog==", "cpu": [ "x64" ], @@ -334,9 +334,9 @@ } }, "node_modules/@next/swc-linux-arm-gnueabihf": { - "version": "13.1.6-canary.0", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-13.1.6-canary.0.tgz", - "integrity": "sha512-mT1z6+rjQ00dyF9co6jRGF8eX65YqYNY5cUo8TUJkr5vfxHOpfySglNjrogWrPKXqp6+sLVrEqbrx3yWRfZRqw==", + "version": "13.1.7-canary.12", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-13.1.7-canary.12.tgz", + "integrity": "sha512-OTSL6QcjH7YVUhgO6KEnlrVAZ2lHghJd7zMd5RmCmzPI//Uf2XuUjjkbasyHjZuvDlohlCNC2Olfd0yxAtPn2Q==", "cpu": [ "arm" ], @@ -349,9 +349,9 @@ } }, "node_modules/@next/swc-linux-arm64-gnu": { - "version": "13.1.6-canary.0", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-13.1.6-canary.0.tgz", - "integrity": "sha512-KJqWqc0B7/gn43WHaL395aQ8MlizKs4l6obwwUzy9IUGzjkN5h3INcYJwCdOcjvAWm7EGoiQYAFcud/O0JBuUg==", + "version": "13.1.7-canary.12", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-13.1.7-canary.12.tgz", + "integrity": "sha512-54t8uXD64Bw09E5qQ75dwEcFO1BWfKzLAdof9r7cPmi3h3O2PePqHPnJvhMaKLhL2cKg4+oxYLkcXrWJ9d8THw==", "cpu": [ "arm64" ], @@ -364,9 +364,9 @@ } }, "node_modules/@next/swc-linux-arm64-musl": { - "version": "13.1.6-canary.0", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-13.1.6-canary.0.tgz", - "integrity": "sha512-ZiejIP+pnEBJOIHwfb170uDBmGcPIsUy6/pYZwp4POHxJLVjSmG8uXJ//+xUy0XULK41RlRMvgQxNx8DNR4gFQ==", + "version": "13.1.7-canary.12", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-13.1.7-canary.12.tgz", + "integrity": "sha512-jZIRA/O7mRvaEBUUo0h0XqeyycWszAbQjDF/enH/JUWx1UjQkGClkZJVeWKCYOxrG0NDpv9UIZLsYo0E7w29Ww==", "cpu": [ "arm64" ], @@ -379,9 +379,9 @@ } }, "node_modules/@next/swc-linux-x64-gnu": { - "version": "13.1.6-canary.0", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-13.1.6-canary.0.tgz", - "integrity": "sha512-rMR7H2/uK9kcVyLO7qUcEkBqccdHAOVJip0W6IYkSZL0/p3cCM93DlaRZnOzpIUstFq3RL9aDZK3FKBOJzin5g==", + "version": "13.1.7-canary.12", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-13.1.7-canary.12.tgz", + "integrity": "sha512-qytYxySVDgJNid1L1gcc9RskUfKpPQIds3wi/9BMpi9QtNK0ZGrU6IZs4IgKSX3IJ1qvxadfNCaWYkfEdPdxpQ==", "cpu": [ "x64" ], @@ -394,9 +394,9 @@ } }, "node_modules/@next/swc-linux-x64-musl": { - "version": "13.1.6-canary.0", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-13.1.6-canary.0.tgz", - "integrity": "sha512-3TSmi96KRode0iw44cAMIHQgI4KgmtScyzy0BkKE26KERQ2GBATtpJTd/BFqGFXlRgilKbhCBmsLiBzVhfNOnQ==", + "version": "13.1.7-canary.12", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-13.1.7-canary.12.tgz", + "integrity": "sha512-opzV9KuJqe2CqeVRntq5i7pG+Dn62DNAIUI1/S0tj8E4yoqgeNHLH6dWzzn98B58bHSlkNQ0VvgFS9WXyILrpQ==", "cpu": [ "x64" ], @@ -409,9 +409,9 @@ } }, "node_modules/@next/swc-win32-arm64-msvc": { - "version": "13.1.6-canary.0", - "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-13.1.6-canary.0.tgz", - "integrity": "sha512-NuIlslFQFdcGmKS9xP6IGYxCk8cJwoosCuoq884MMJAK8DCDnHV54/uisMDNFCaEPiOIwX8A6mX0g6UdBRIbYQ==", + "version": "13.1.7-canary.12", + "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-13.1.7-canary.12.tgz", + "integrity": "sha512-BA1ppRNM6qP44FXRr3fHMUunWFE7G3pG5FI1UvX3NmwUJDzM/ajptsmUIHpghnYjG4CJAozlbzU+a7cmLmanYg==", "cpu": [ "arm64" ], @@ -424,9 +424,9 @@ } }, "node_modules/@next/swc-win32-ia32-msvc": { - "version": "13.1.6-canary.0", - "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-13.1.6-canary.0.tgz", - "integrity": "sha512-77Ha81qdgZIiu/rdlm9sIFS4CF3j5n2actd8A7RqWsDaqPfYyD9s6JgWANoVOfAIcLlVviYekG8NS0cxX+gO/g==", + "version": "13.1.7-canary.12", + "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-13.1.7-canary.12.tgz", + "integrity": "sha512-lc+vA8oNG9xYa4TpRHckfsdigSPp0riJdOFl+sKKp8lux+/1v5potCAmwhCI59QoxKe9N01BXMY4YAk4zMCopQ==", "cpu": [ "ia32" ], @@ -439,9 +439,9 @@ } }, "node_modules/@next/swc-win32-x64-msvc": { - "version": "13.1.6-canary.0", - "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.1.6-canary.0.tgz", - "integrity": "sha512-Q+eoytQpMFW8kAPg/kQRJH0IUzOlZzT8i3ty54YsRyE3f5YbsFRQOG2fOm+Bhdi/5iJVMgEg6p8ZZW+mk61haw==", + "version": "13.1.7-canary.12", + "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.1.7-canary.12.tgz", + "integrity": "sha512-skXx00Cw6kdsWFC475JPw6LRMnhW7fXtkyFtdNWioI9Kc/PDKtVQmiSoEGgF7hgkGOZsoCDbdvMg3TCComkSwQ==", "cpu": [ "x64" ], @@ -4812,11 +4812,11 @@ } }, "node_modules/next": { - "version": "13.1.6-canary.0", - "resolved": "https://registry.npmjs.org/next/-/next-13.1.6-canary.0.tgz", - "integrity": "sha512-bciBX3GHQ33fb0WpM/0WxzO2GnTzkokKERepdyomjH5iGH/VG1l8mDdXNHOCqojOlcDlESjxkPlFT/VKPWYUIA==", + "version": "13.1.7-canary.12", + "resolved": "https://registry.npmjs.org/next/-/next-13.1.7-canary.12.tgz", + "integrity": "sha512-Tr3ZESTZckJKsq5oa4P06RhjlpTCvpgMa0lGGML6LpJja1aRxC8SwrPCHJt6xyHr78s5QNrMR0uZXsdGmuzS3w==", "dependencies": { - "@next/env": "13.1.6-canary.0", + "@next/env": "13.1.7-canary.12", "@swc/helpers": "0.4.14", "caniuse-lite": "^1.0.30001406", "postcss": "8.4.14", @@ -4829,19 +4829,19 @@ "node": ">=14.6.0" }, "optionalDependencies": { - "@next/swc-android-arm-eabi": "13.1.6-canary.0", - "@next/swc-android-arm64": "13.1.6-canary.0", - "@next/swc-darwin-arm64": "13.1.6-canary.0", - "@next/swc-darwin-x64": "13.1.6-canary.0", - "@next/swc-freebsd-x64": "13.1.6-canary.0", - "@next/swc-linux-arm-gnueabihf": "13.1.6-canary.0", - "@next/swc-linux-arm64-gnu": "13.1.6-canary.0", - "@next/swc-linux-arm64-musl": "13.1.6-canary.0", - "@next/swc-linux-x64-gnu": "13.1.6-canary.0", - "@next/swc-linux-x64-musl": "13.1.6-canary.0", - "@next/swc-win32-arm64-msvc": "13.1.6-canary.0", - "@next/swc-win32-ia32-msvc": "13.1.6-canary.0", - "@next/swc-win32-x64-msvc": "13.1.6-canary.0" + "@next/swc-android-arm-eabi": "13.1.7-canary.12", + "@next/swc-android-arm64": "13.1.7-canary.12", + "@next/swc-darwin-arm64": "13.1.7-canary.12", + "@next/swc-darwin-x64": "13.1.7-canary.12", + "@next/swc-freebsd-x64": "13.1.7-canary.12", + "@next/swc-linux-arm-gnueabihf": "13.1.7-canary.12", + "@next/swc-linux-arm64-gnu": "13.1.7-canary.12", + "@next/swc-linux-arm64-musl": "13.1.7-canary.12", + "@next/swc-linux-x64-gnu": "13.1.7-canary.12", + "@next/swc-linux-x64-musl": "13.1.7-canary.12", + "@next/swc-win32-arm64-msvc": "13.1.7-canary.12", + "@next/swc-win32-ia32-msvc": "13.1.7-canary.12", + "@next/swc-win32-x64-msvc": "13.1.7-canary.12" }, "peerDependencies": { "fibers": ">= 3.1.0", @@ -6738,9 +6738,9 @@ } }, "@next/env": { - "version": "13.1.6-canary.0", - "resolved": "https://registry.npmjs.org/@next/env/-/env-13.1.6-canary.0.tgz", - "integrity": "sha512-yfK2qNIgjsgGxslHMtHvfPaiHDc0H++5FZU00uXPUwVig4b1cRCAE4dB/svxhlLLhDLP1B63wIr3ACUI/jLN8w==" + "version": "13.1.7-canary.12", + "resolved": "https://registry.npmjs.org/@next/env/-/env-13.1.7-canary.12.tgz", + "integrity": "sha512-jHnNukl+IQ11/M8ZsujZZ2cKn5Qd3VEnCml0ORyB18HUgSPYtA+4kHJ0j9p8aXXeoG1+o2zXSVNfpNUHHJZ3XA==" }, "@next/eslint-plugin-next": { "version": "13.1.4", @@ -6756,81 +6756,81 @@ "integrity": "sha512-NfqQPAIFJhssdaZEsP0MADZKN+tc040jOkNKVlDZHtVjJWBJSgbe8UHg3w0S6YuQr7PHc0ACbFeVCBQeG4MEvg==" }, "@next/swc-android-arm-eabi": { - "version": "13.1.6-canary.0", - "resolved": "https://registry.npmjs.org/@next/swc-android-arm-eabi/-/swc-android-arm-eabi-13.1.6-canary.0.tgz", - "integrity": "sha512-BxOGlAVMUhXs1p/7F3+5E+Ev7Qe3O3yZ5Cxom/v1SUvrzEdMGP0AYu9q9UA9Qqe/OAFmpvNpgr3+S2MgwoEEsA==", + "version": "13.1.7-canary.12", + "resolved": "https://registry.npmjs.org/@next/swc-android-arm-eabi/-/swc-android-arm-eabi-13.1.7-canary.12.tgz", + "integrity": "sha512-KzGFaiAzBqD8ilWZXF7fg/t/kCuKba/EW+Eo58yo/uC117xa5ay/F62Td/EQzeo1hy5m7DPBHQxQsMKfaRH78Q==", "optional": true }, "@next/swc-android-arm64": { - "version": "13.1.6-canary.0", - "resolved": "https://registry.npmjs.org/@next/swc-android-arm64/-/swc-android-arm64-13.1.6-canary.0.tgz", - "integrity": "sha512-c9qrR4udjcXrB3SQcYiya4HZVNDBk1EC4aqC9LMrpix93pnELxSvkfHMu0PVLVXTw8Opwpv8InEmjHI4gol7kA==", + "version": "13.1.7-canary.12", + "resolved": "https://registry.npmjs.org/@next/swc-android-arm64/-/swc-android-arm64-13.1.7-canary.12.tgz", + "integrity": "sha512-xcaPRD1saddk+//Um8dHNZx86H/DdP+FmwfJqhyIsIZrwCJn78k3I4ppTb93tFCdegmIXbG9eQV2icb/pODFlg==", "optional": true }, "@next/swc-darwin-arm64": { - "version": "13.1.6-canary.0", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-13.1.6-canary.0.tgz", - "integrity": "sha512-pvckeqrTLPmzC0QyTiOekr21e4W38CgAPG0mLEkB6BybS94LmrLrL69G+umYy1PwjbGgZ4NUrBwrfPAonof1Hw==", + "version": "13.1.7-canary.12", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-13.1.7-canary.12.tgz", + "integrity": "sha512-mJZrAW+Pb1tzz7oDyFUJdjez2M7scGowDad+5F1FTe/mwhORwAeEpfcOVJJLhxpdrYUgybLneDjlvfxn4yr8SQ==", "optional": true }, "@next/swc-darwin-x64": { - "version": "13.1.6-canary.0", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-13.1.6-canary.0.tgz", - "integrity": "sha512-ZoJrw+OreB+xkJ+9KWziuUWkMzLdm+p/NLO8MUgg7b9ptLkrXvTh+oT+moBEZzLHA3M7G4uH6yGh3ZL8bjKFJg==", + "version": "13.1.7-canary.12", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-13.1.7-canary.12.tgz", + "integrity": "sha512-e0cfAL0ekU16Vugr1y31b/5FbqAZdl9x+31GK9P2yI2OgX/AKdyFtyLNtqPtd3Fx7ueaCxmyPprriUf84bu1Bw==", "optional": true }, "@next/swc-freebsd-x64": { - "version": "13.1.6-canary.0", - "resolved": "https://registry.npmjs.org/@next/swc-freebsd-x64/-/swc-freebsd-x64-13.1.6-canary.0.tgz", - "integrity": "sha512-0YrpSMguwRmGwSnOb4t5VVb3/LaY2aUKP+vFEjFANDnLJVrlUcMcGNRBpbSWoUoMkeqik724c1onssMjyTvDpA==", + "version": "13.1.7-canary.12", + "resolved": "https://registry.npmjs.org/@next/swc-freebsd-x64/-/swc-freebsd-x64-13.1.7-canary.12.tgz", + "integrity": "sha512-0qWa3f3vM0EDLhGYBPs9ukE/rTCZQGGf0bqIDXL117t8LBFmD3wHlf3kCq9WDL5m5hPKQMCwgH3tjn1FxWAWog==", "optional": true }, "@next/swc-linux-arm-gnueabihf": { - "version": "13.1.6-canary.0", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-13.1.6-canary.0.tgz", - "integrity": "sha512-mT1z6+rjQ00dyF9co6jRGF8eX65YqYNY5cUo8TUJkr5vfxHOpfySglNjrogWrPKXqp6+sLVrEqbrx3yWRfZRqw==", + "version": "13.1.7-canary.12", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-13.1.7-canary.12.tgz", + "integrity": "sha512-OTSL6QcjH7YVUhgO6KEnlrVAZ2lHghJd7zMd5RmCmzPI//Uf2XuUjjkbasyHjZuvDlohlCNC2Olfd0yxAtPn2Q==", "optional": true }, "@next/swc-linux-arm64-gnu": { - "version": "13.1.6-canary.0", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-13.1.6-canary.0.tgz", - "integrity": "sha512-KJqWqc0B7/gn43WHaL395aQ8MlizKs4l6obwwUzy9IUGzjkN5h3INcYJwCdOcjvAWm7EGoiQYAFcud/O0JBuUg==", + "version": "13.1.7-canary.12", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-13.1.7-canary.12.tgz", + "integrity": "sha512-54t8uXD64Bw09E5qQ75dwEcFO1BWfKzLAdof9r7cPmi3h3O2PePqHPnJvhMaKLhL2cKg4+oxYLkcXrWJ9d8THw==", "optional": true }, "@next/swc-linux-arm64-musl": { - "version": "13.1.6-canary.0", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-13.1.6-canary.0.tgz", - "integrity": "sha512-ZiejIP+pnEBJOIHwfb170uDBmGcPIsUy6/pYZwp4POHxJLVjSmG8uXJ//+xUy0XULK41RlRMvgQxNx8DNR4gFQ==", + "version": "13.1.7-canary.12", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-13.1.7-canary.12.tgz", + "integrity": "sha512-jZIRA/O7mRvaEBUUo0h0XqeyycWszAbQjDF/enH/JUWx1UjQkGClkZJVeWKCYOxrG0NDpv9UIZLsYo0E7w29Ww==", "optional": true }, "@next/swc-linux-x64-gnu": { - "version": "13.1.6-canary.0", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-13.1.6-canary.0.tgz", - "integrity": "sha512-rMR7H2/uK9kcVyLO7qUcEkBqccdHAOVJip0W6IYkSZL0/p3cCM93DlaRZnOzpIUstFq3RL9aDZK3FKBOJzin5g==", + "version": "13.1.7-canary.12", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-13.1.7-canary.12.tgz", + "integrity": "sha512-qytYxySVDgJNid1L1gcc9RskUfKpPQIds3wi/9BMpi9QtNK0ZGrU6IZs4IgKSX3IJ1qvxadfNCaWYkfEdPdxpQ==", "optional": true }, "@next/swc-linux-x64-musl": { - "version": "13.1.6-canary.0", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-13.1.6-canary.0.tgz", - "integrity": "sha512-3TSmi96KRode0iw44cAMIHQgI4KgmtScyzy0BkKE26KERQ2GBATtpJTd/BFqGFXlRgilKbhCBmsLiBzVhfNOnQ==", + "version": "13.1.7-canary.12", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-13.1.7-canary.12.tgz", + "integrity": "sha512-opzV9KuJqe2CqeVRntq5i7pG+Dn62DNAIUI1/S0tj8E4yoqgeNHLH6dWzzn98B58bHSlkNQ0VvgFS9WXyILrpQ==", "optional": true }, "@next/swc-win32-arm64-msvc": { - "version": "13.1.6-canary.0", - "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-13.1.6-canary.0.tgz", - "integrity": "sha512-NuIlslFQFdcGmKS9xP6IGYxCk8cJwoosCuoq884MMJAK8DCDnHV54/uisMDNFCaEPiOIwX8A6mX0g6UdBRIbYQ==", + "version": "13.1.7-canary.12", + "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-13.1.7-canary.12.tgz", + "integrity": "sha512-BA1ppRNM6qP44FXRr3fHMUunWFE7G3pG5FI1UvX3NmwUJDzM/ajptsmUIHpghnYjG4CJAozlbzU+a7cmLmanYg==", "optional": true }, "@next/swc-win32-ia32-msvc": { - "version": "13.1.6-canary.0", - "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-13.1.6-canary.0.tgz", - "integrity": "sha512-77Ha81qdgZIiu/rdlm9sIFS4CF3j5n2actd8A7RqWsDaqPfYyD9s6JgWANoVOfAIcLlVviYekG8NS0cxX+gO/g==", + "version": "13.1.7-canary.12", + "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-13.1.7-canary.12.tgz", + "integrity": "sha512-lc+vA8oNG9xYa4TpRHckfsdigSPp0riJdOFl+sKKp8lux+/1v5potCAmwhCI59QoxKe9N01BXMY4YAk4zMCopQ==", "optional": true }, "@next/swc-win32-x64-msvc": { - "version": "13.1.6-canary.0", - "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.1.6-canary.0.tgz", - "integrity": "sha512-Q+eoytQpMFW8kAPg/kQRJH0IUzOlZzT8i3ty54YsRyE3f5YbsFRQOG2fOm+Bhdi/5iJVMgEg6p8ZZW+mk61haw==", + "version": "13.1.7-canary.12", + "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.1.7-canary.12.tgz", + "integrity": "sha512-skXx00Cw6kdsWFC475JPw6LRMnhW7fXtkyFtdNWioI9Kc/PDKtVQmiSoEGgF7hgkGOZsoCDbdvMg3TCComkSwQ==", "optional": true }, "@nodelib/fs.scandir": { @@ -10065,24 +10065,24 @@ "optional": true }, "next": { - "version": "13.1.6-canary.0", - "resolved": "https://registry.npmjs.org/next/-/next-13.1.6-canary.0.tgz", - "integrity": "sha512-bciBX3GHQ33fb0WpM/0WxzO2GnTzkokKERepdyomjH5iGH/VG1l8mDdXNHOCqojOlcDlESjxkPlFT/VKPWYUIA==", - "requires": { - "@next/env": "13.1.6-canary.0", - "@next/swc-android-arm-eabi": "13.1.6-canary.0", - "@next/swc-android-arm64": "13.1.6-canary.0", - "@next/swc-darwin-arm64": "13.1.6-canary.0", - "@next/swc-darwin-x64": "13.1.6-canary.0", - "@next/swc-freebsd-x64": "13.1.6-canary.0", - "@next/swc-linux-arm-gnueabihf": "13.1.6-canary.0", - "@next/swc-linux-arm64-gnu": "13.1.6-canary.0", - "@next/swc-linux-arm64-musl": "13.1.6-canary.0", - "@next/swc-linux-x64-gnu": "13.1.6-canary.0", - "@next/swc-linux-x64-musl": "13.1.6-canary.0", - "@next/swc-win32-arm64-msvc": "13.1.6-canary.0", - "@next/swc-win32-ia32-msvc": "13.1.6-canary.0", - "@next/swc-win32-x64-msvc": "13.1.6-canary.0", + "version": "13.1.7-canary.12", + "resolved": "https://registry.npmjs.org/next/-/next-13.1.7-canary.12.tgz", + "integrity": "sha512-Tr3ZESTZckJKsq5oa4P06RhjlpTCvpgMa0lGGML6LpJja1aRxC8SwrPCHJt6xyHr78s5QNrMR0uZXsdGmuzS3w==", + "requires": { + "@next/env": "13.1.7-canary.12", + "@next/swc-android-arm-eabi": "13.1.7-canary.12", + "@next/swc-android-arm64": "13.1.7-canary.12", + "@next/swc-darwin-arm64": "13.1.7-canary.12", + "@next/swc-darwin-x64": "13.1.7-canary.12", + "@next/swc-freebsd-x64": "13.1.7-canary.12", + "@next/swc-linux-arm-gnueabihf": "13.1.7-canary.12", + "@next/swc-linux-arm64-gnu": "13.1.7-canary.12", + "@next/swc-linux-arm64-musl": "13.1.7-canary.12", + "@next/swc-linux-x64-gnu": "13.1.7-canary.12", + "@next/swc-linux-x64-musl": "13.1.7-canary.12", + "@next/swc-win32-arm64-msvc": "13.1.7-canary.12", + "@next/swc-win32-ia32-msvc": "13.1.7-canary.12", + "@next/swc-win32-x64-msvc": "13.1.7-canary.12", "@swc/helpers": "0.4.14", "caniuse-lite": "^1.0.30001406", "postcss": "8.4.14", diff --git a/package.json b/package.json index b6c2131..b6c2d4d 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "eslint-config-next": "13.1.4", "focus-visible": "^5.2.0", "i": "^0.3.7", - "next": "^13.1.6-canary.0", + "next": "^13.1.7-canary.12", "nodemailer": "^6.9.1", "postcss-focus-visible": "^6.0.4", "react": "18.2.0", diff --git a/src/app/(extra)/book-success/head.jsx b/src/app/(extra)/book-success/head.jsx deleted file mode 100644 index be00f21..0000000 --- a/src/app/(extra)/book-success/head.jsx +++ /dev/null @@ -1,10 +0,0 @@ -import StandardHead from '@/components/StandardHead'; - -export default async function Head({ params }) { - return ( - - ); -}; diff --git a/src/app/(extra)/book-success/page.jsx b/src/app/(extra)/book-success/page.jsx index b4c6c4a..387f9a4 100644 --- a/src/app/(extra)/book-success/page.jsx +++ b/src/app/(extra)/book-success/page.jsx @@ -1,5 +1,9 @@ import JustifiedSection from '@/components/JustifiedSection' +export const metadata = { + title: 'Download Foundations of High-Performance React' +}; + export default async function Page({ params }) { return ( <> diff --git a/src/app/(extra)/book/head.jsx b/src/app/(extra)/book/head.jsx deleted file mode 100644 index fdfa574..0000000 --- a/src/app/(extra)/book/head.jsx +++ /dev/null @@ -1,10 +0,0 @@ -import StandardHead from '@/components/StandardHead'; - -export default async function Head({ params }) { - return ( - - ); -}; diff --git a/src/app/(extra)/book/page.jsx b/src/app/(extra)/book/page.jsx index a2d611b..1abf7d2 100644 --- a/src/app/(extra)/book/page.jsx +++ b/src/app/(extra)/book/page.jsx @@ -24,6 +24,11 @@ const chapters = [ 'Conclusion' ]; +export const metadata = { + title: 'Foundations of High-Performance React', + description: 'A book diving deep into the details of how React actually works.' +}; + export default async function Page({ params }) { return ( <> diff --git a/src/app/(main)/articles/redux-with-react/head.jsx b/src/app/(main)/articles/redux-with-react/head.jsx deleted file mode 100644 index 7e6b93c..0000000 --- a/src/app/(main)/articles/redux-with-react/head.jsx +++ /dev/null @@ -1,9 +0,0 @@ -import StandardHead from '@/components/StandardHead'; - -export default async function Head({ params }) { - return ( - - ); -}; diff --git a/src/app/(main)/articles/redux-with-react/page.jsx b/src/app/(main)/articles/redux-with-react/page.jsx index 3c62865..c672253 100644 --- a/src/app/(main)/articles/redux-with-react/page.jsx +++ b/src/app/(main)/articles/redux-with-react/page.jsx @@ -1,5 +1,9 @@ import { Article, H2, P } from '@/components/Components'; +export const metadata = { + title: 'Should you use Redux with React?' +}; + export default function Page() { return (
- ); -}; diff --git a/src/app/(main)/articles/render-tree-performance/page.jsx b/src/app/(main)/articles/render-tree-performance/page.jsx index 9375bf9..b0c8655 100644 --- a/src/app/(main)/articles/render-tree-performance/page.jsx +++ b/src/app/(main)/articles/render-tree-performance/page.jsx @@ -5,6 +5,10 @@ import { Article, H2, P, A } from '@/components/Components'; import renderTreeFlow from '@/images/render-tree-flow.gif'; import renderTreeMemo from '@/images/render-tree-memo.gif'; +export const metadata = { + title: 'How React Renders Component Trees and How To Make It Faster' +}; + export default function Page() { return (
- ); -}; diff --git a/src/app/(main)/articles/whitelabeling-with-react/page.jsx b/src/app/(main)/articles/whitelabeling-with-react/page.jsx index 9699514..26f22e9 100644 --- a/src/app/(main)/articles/whitelabeling-with-react/page.jsx +++ b/src/app/(main)/articles/whitelabeling-with-react/page.jsx @@ -1,5 +1,9 @@ import { Article, H2, P, A } from '@/components/Components'; +export const metadata = { + title: 'White-labeling with React' +}; + export default function Page() { return (
diff --git a/src/app/(main)/head.jsx b/src/app/(main)/head.jsx deleted file mode 100644 index fa9918f..0000000 --- a/src/app/(main)/head.jsx +++ /dev/null @@ -1,10 +0,0 @@ -import StandardHead from '@/components/StandardHead'; - -export default function Head({ params }) { - return ( - - ); -} diff --git a/src/app/(main)/page.jsx b/src/app/(main)/page.jsx index c0c785c..86ff639 100644 --- a/src/app/(main)/page.jsx +++ b/src/app/(main)/page.jsx @@ -61,6 +61,10 @@ function Loading() { ); } +export const metadata = { + description: "Weekly podcast focused on React, programming, and software engineering." +}; + export default async function Home() { return ( <> diff --git a/src/app/(main)/podcast/[slug]/head.jsx b/src/app/(main)/podcast/[slug]/head.jsx deleted file mode 100644 index 88a8b97..0000000 --- a/src/app/(main)/podcast/[slug]/head.jsx +++ /dev/null @@ -1,13 +0,0 @@ -import { getEpisode } from '@/data/episodes' - -import StandardHead from '@/components/StandardHead'; - -export default async function Head({ params }) { - const episode = await getEpisode({ episodeSlug: params.slug }) - return ( - - ); -}; diff --git a/src/app/(main)/podcast/[slug]/page.jsx b/src/app/(main)/podcast/[slug]/page.jsx index 9b73b68..b634179 100644 --- a/src/app/(main)/podcast/[slug]/page.jsx +++ b/src/app/(main)/podcast/[slug]/page.jsx @@ -90,6 +90,14 @@ async function TranscriptWithPlayer({ episode }) { ) }; +export async function generateMetadata({ params }) { + const episode = await getEpisode({ episodeSlug: params.slug }); + return { + title: episode.title, + description: `Podcast episode: ${episode.description}` + }; +}; + export default async function Page({ params }) { const episode = await getEpisode({ episodeSlug: params.slug }) let date = new Date(episode.published) diff --git a/src/app/head.jsx b/src/app/head.jsx deleted file mode 100644 index 4f6de7a..0000000 --- a/src/app/head.jsx +++ /dev/null @@ -1,10 +0,0 @@ -export default function Head() { - return ( - <> - Create Next App - - - - - ) -} diff --git a/src/app/layout.jsx b/src/app/layout.jsx index ea7cc3a..a9536bb 100644 --- a/src/app/layout.jsx +++ b/src/app/layout.jsx @@ -3,6 +3,13 @@ import './globals.css'; import { AudioPlayer } from '@/components/player/AudioPlayer' import { AudioProvider } from '@/components/AudioProvider' +export const metadata = { + title: { + default: 'The React Show - Weekly React Focused Podcast', + template: '%s | The React Show' + } +}; + export default function RootLayout({children}) { return (