diff --git a/.yarn/cache/@next-env-npm-13.4.19-b5a63a2ff8-ace4f82890.zip b/.yarn/cache/@next-env-npm-13.4.19-b5a63a2ff8-ace4f82890.zip deleted file mode 100644 index fa91f6198..000000000 Binary files a/.yarn/cache/@next-env-npm-13.4.19-b5a63a2ff8-ace4f82890.zip and /dev/null differ diff --git a/.yarn/cache/@next-env-npm-14.0.3-canary.3-9d637eb650-b54b00343a.zip b/.yarn/cache/@next-env-npm-14.0.3-canary.3-9d637eb650-b54b00343a.zip new file mode 100644 index 000000000..c3ffc42c8 Binary files /dev/null and b/.yarn/cache/@next-env-npm-14.0.3-canary.3-9d637eb650-b54b00343a.zip differ diff --git a/.yarn/cache/@next-swc-darwin-arm64-npm-13.4.19-fca715fb2a-8.zip b/.yarn/cache/@next-swc-darwin-arm64-npm-14.0.3-canary.3-736b02c853-8.zip similarity index 71% rename from .yarn/cache/@next-swc-darwin-arm64-npm-13.4.19-fca715fb2a-8.zip rename to .yarn/cache/@next-swc-darwin-arm64-npm-14.0.3-canary.3-736b02c853-8.zip index deb4f1bcb..9463d8bab 100644 Binary files a/.yarn/cache/@next-swc-darwin-arm64-npm-13.4.19-fca715fb2a-8.zip and b/.yarn/cache/@next-swc-darwin-arm64-npm-14.0.3-canary.3-736b02c853-8.zip differ diff --git a/.yarn/cache/@swc-helpers-npm-0.5.1-424376f311-71e0e27234.zip b/.yarn/cache/@swc-helpers-npm-0.5.1-424376f311-71e0e27234.zip deleted file mode 100644 index 36ed12e7c..000000000 Binary files a/.yarn/cache/@swc-helpers-npm-0.5.1-424376f311-71e0e27234.zip and /dev/null differ diff --git a/.yarn/cache/@swc-helpers-npm-0.5.2-f81ca286ad-51d7e3d8bd.zip b/.yarn/cache/@swc-helpers-npm-0.5.2-f81ca286ad-51d7e3d8bd.zip new file mode 100644 index 000000000..382a20d5a Binary files /dev/null and b/.yarn/cache/@swc-helpers-npm-0.5.2-f81ca286ad-51d7e3d8bd.zip differ diff --git a/.yarn/cache/next-npm-13.4.19-bc82e788ec-f4873dab88.zip b/.yarn/cache/next-npm-14.0.3-canary.3-981480dccb-3d17cec5bd.zip similarity index 56% rename from .yarn/cache/next-npm-13.4.19-bc82e788ec-f4873dab88.zip rename to .yarn/cache/next-npm-14.0.3-canary.3-981480dccb-3d17cec5bd.zip index f6bf358d6..4277fad73 100644 Binary files a/.yarn/cache/next-npm-13.4.19-bc82e788ec-f4873dab88.zip and b/.yarn/cache/next-npm-14.0.3-canary.3-981480dccb-3d17cec5bd.zip differ diff --git a/.yarn/cache/postcss-npm-8.4.14-c0d448b728-fe58766ff3.zip b/.yarn/cache/postcss-npm-8.4.14-c0d448b728-fe58766ff3.zip deleted file mode 100644 index 63ace659e..000000000 Binary files a/.yarn/cache/postcss-npm-8.4.14-c0d448b728-fe58766ff3.zip and /dev/null differ diff --git a/.yarn/cache/postcss-npm-8.4.31-385051a82b-1d8611341b.zip b/.yarn/cache/postcss-npm-8.4.31-385051a82b-1d8611341b.zip new file mode 100644 index 000000000..dc7dd6671 Binary files /dev/null and b/.yarn/cache/postcss-npm-8.4.31-385051a82b-1d8611341b.zip differ diff --git a/.yarn/cache/zod-npm-3.21.4-9f570b215c-f185ba8734.zip b/.yarn/cache/zod-npm-3.21.4-9f570b215c-f185ba8734.zip deleted file mode 100644 index 70fad1d02..000000000 Binary files a/.yarn/cache/zod-npm-3.21.4-9f570b215c-f185ba8734.zip and /dev/null differ diff --git a/app/favicon.ico b/app/[locale]/favicon.ico similarity index 100% rename from app/favicon.ico rename to app/[locale]/favicon.ico diff --git a/app/layout.tsx b/app/[locale]/layout.tsx similarity index 98% rename from app/layout.tsx rename to app/[locale]/layout.tsx index f89f061dc..2e59d8982 100644 --- a/app/layout.tsx +++ b/app/[locale]/layout.tsx @@ -5,7 +5,7 @@ import { ReactNode } from 'react'; import { SupportedLocale } from 'components/layout/navbar/language-control'; import { NextIntlClientProvider } from 'next-intl'; import { notFound } from 'next/navigation'; -import Analytics from './[locale]/analytics'; +import Analytics from './analytics'; import './globals.css'; const { TWITTER_CREATOR, TWITTER_SITE, SITE_NAME } = process.env; diff --git a/app/[locale]/shop-list/page.tsx b/app/[locale]/shop-list/page.tsx index 445f70dc3..a2991ab4f 100644 --- a/app/[locale]/shop-list/page.tsx +++ b/app/[locale]/shop-list/page.tsx @@ -8,6 +8,7 @@ import { getCart, getPage, getProduct } from 'lib/shopify'; import { Product } from 'lib/shopify/types'; import { cookies } from 'next/headers'; import { notFound } from 'next/navigation'; +import { Suspense } from 'react'; import ShopsNav from './shops-nav'; export async function generateMetadata({ @@ -51,9 +52,11 @@ export default async function Page({ params }: { params: { locale?: SupportedLoc
-
- -
+ +
+ +
+
{/*

{page.title}

*/}
diff --git a/package.json b/package.json index b815d3656..45f560b10 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "eslint-plugin-unused-imports": "^3.0.0", "js-cookie": "^3.0.5", "negotiator": "^0.6.3", - "next": "latest", + "next": "canary", "next-intl": "latest", "prettier-plugin-organize-imports": "^3.2.3", "react": "latest", diff --git a/yarn.lock b/yarn.lock index b42eb6ef3..112e1a9c2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -292,10 +292,10 @@ __metadata: languageName: node linkType: hard -"@next/env@npm:13.4.19": - version: 13.4.19 - resolution: "@next/env@npm:13.4.19" - checksum: ace4f82890954ade0164fbe2b7ff988268d2b99b2e80caa6707c51fa4cbfaaa31e48fbbcecd4fd142af3503c544e1b4c91e8185d4af253c8fb46550e9e70ad7e +"@next/env@npm:14.0.3-canary.3": + version: 14.0.3-canary.3 + resolution: "@next/env@npm:14.0.3-canary.3" + checksum: b54b00343ae5d3af64b1dde1f3aacc2915893ef2b95b8f9102df5f8822d17c05c0eb240354c875a33be24a83b62d6ee9cc3e30cdcda634c951c3e8d326246b0e languageName: node linkType: hard @@ -308,65 +308,65 @@ __metadata: languageName: node linkType: hard -"@next/swc-darwin-arm64@npm:13.4.19": - version: 13.4.19 - resolution: "@next/swc-darwin-arm64@npm:13.4.19" +"@next/swc-darwin-arm64@npm:14.0.3-canary.3": + version: 14.0.3-canary.3 + resolution: "@next/swc-darwin-arm64@npm:14.0.3-canary.3" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@next/swc-darwin-x64@npm:13.4.19": - version: 13.4.19 - resolution: "@next/swc-darwin-x64@npm:13.4.19" +"@next/swc-darwin-x64@npm:14.0.3-canary.3": + version: 14.0.3-canary.3 + resolution: "@next/swc-darwin-x64@npm:14.0.3-canary.3" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@next/swc-linux-arm64-gnu@npm:13.4.19": - version: 13.4.19 - resolution: "@next/swc-linux-arm64-gnu@npm:13.4.19" +"@next/swc-linux-arm64-gnu@npm:14.0.3-canary.3": + version: 14.0.3-canary.3 + resolution: "@next/swc-linux-arm64-gnu@npm:14.0.3-canary.3" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@next/swc-linux-arm64-musl@npm:13.4.19": - version: 13.4.19 - resolution: "@next/swc-linux-arm64-musl@npm:13.4.19" +"@next/swc-linux-arm64-musl@npm:14.0.3-canary.3": + version: 14.0.3-canary.3 + resolution: "@next/swc-linux-arm64-musl@npm:14.0.3-canary.3" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@next/swc-linux-x64-gnu@npm:13.4.19": - version: 13.4.19 - resolution: "@next/swc-linux-x64-gnu@npm:13.4.19" +"@next/swc-linux-x64-gnu@npm:14.0.3-canary.3": + version: 14.0.3-canary.3 + resolution: "@next/swc-linux-x64-gnu@npm:14.0.3-canary.3" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@next/swc-linux-x64-musl@npm:13.4.19": - version: 13.4.19 - resolution: "@next/swc-linux-x64-musl@npm:13.4.19" +"@next/swc-linux-x64-musl@npm:14.0.3-canary.3": + version: 14.0.3-canary.3 + resolution: "@next/swc-linux-x64-musl@npm:14.0.3-canary.3" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@next/swc-win32-arm64-msvc@npm:13.4.19": - version: 13.4.19 - resolution: "@next/swc-win32-arm64-msvc@npm:13.4.19" +"@next/swc-win32-arm64-msvc@npm:14.0.3-canary.3": + version: 14.0.3-canary.3 + resolution: "@next/swc-win32-arm64-msvc@npm:14.0.3-canary.3" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@next/swc-win32-ia32-msvc@npm:13.4.19": - version: 13.4.19 - resolution: "@next/swc-win32-ia32-msvc@npm:13.4.19" +"@next/swc-win32-ia32-msvc@npm:14.0.3-canary.3": + version: 14.0.3-canary.3 + resolution: "@next/swc-win32-ia32-msvc@npm:14.0.3-canary.3" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@next/swc-win32-x64-msvc@npm:13.4.19": - version: 13.4.19 - resolution: "@next/swc-win32-x64-msvc@npm:13.4.19" +"@next/swc-win32-x64-msvc@npm:14.0.3-canary.3": + version: 14.0.3-canary.3 + resolution: "@next/swc-win32-x64-msvc@npm:14.0.3-canary.3" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -435,12 +435,12 @@ __metadata: languageName: node linkType: hard -"@swc/helpers@npm:0.5.1": - version: 0.5.1 - resolution: "@swc/helpers@npm:0.5.1" +"@swc/helpers@npm:0.5.2": + version: 0.5.2 + resolution: "@swc/helpers@npm:0.5.2" dependencies: tslib: ^2.4.0 - checksum: 71e0e27234590435e4c62b97ef5e796f88e786841a38c7116a5e27a3eafa7b9ead7cdec5249b32165902076de78446945311c973e59bddf77c1e24f33a8f272a + checksum: 51d7e3d8bd56818c49d6bfbd715f0dbeedc13cf723af41166e45c03e37f109336bbcb57a1f2020f4015957721aeb21e1a7fff281233d797ff7d3dd1f447fa258 languageName: node linkType: hard @@ -1376,7 +1376,7 @@ __metadata: js-cookie: ^3.0.5 lint-staged: ^13.2.3 negotiator: ^0.6.3 - next: latest + next: canary next-intl: latest postcss: ^8.4.27 prettier: 3.0.1 @@ -3638,7 +3638,7 @@ __metadata: languageName: node linkType: hard -"nanoid@npm:^3.3.4, nanoid@npm:^3.3.6": +"nanoid@npm:^3.3.6": version: 3.3.6 resolution: "nanoid@npm:3.3.6" bin: @@ -3682,27 +3682,26 @@ __metadata: languageName: node linkType: hard -"next@npm:latest": - version: 13.4.19 - resolution: "next@npm:13.4.19" +"next@npm:canary": + version: 14.0.3-canary.3 + resolution: "next@npm:14.0.3-canary.3" dependencies: - "@next/env": 13.4.19 - "@next/swc-darwin-arm64": 13.4.19 - "@next/swc-darwin-x64": 13.4.19 - "@next/swc-linux-arm64-gnu": 13.4.19 - "@next/swc-linux-arm64-musl": 13.4.19 - "@next/swc-linux-x64-gnu": 13.4.19 - "@next/swc-linux-x64-musl": 13.4.19 - "@next/swc-win32-arm64-msvc": 13.4.19 - "@next/swc-win32-ia32-msvc": 13.4.19 - "@next/swc-win32-x64-msvc": 13.4.19 - "@swc/helpers": 0.5.1 + "@next/env": 14.0.3-canary.3 + "@next/swc-darwin-arm64": 14.0.3-canary.3 + "@next/swc-darwin-x64": 14.0.3-canary.3 + "@next/swc-linux-arm64-gnu": 14.0.3-canary.3 + "@next/swc-linux-arm64-musl": 14.0.3-canary.3 + "@next/swc-linux-x64-gnu": 14.0.3-canary.3 + "@next/swc-linux-x64-musl": 14.0.3-canary.3 + "@next/swc-win32-arm64-msvc": 14.0.3-canary.3 + "@next/swc-win32-ia32-msvc": 14.0.3-canary.3 + "@next/swc-win32-x64-msvc": 14.0.3-canary.3 + "@swc/helpers": 0.5.2 busboy: 1.6.0 caniuse-lite: ^1.0.30001406 - postcss: 8.4.14 + postcss: 8.4.31 styled-jsx: 5.1.1 watchpack: 2.4.0 - zod: 3.21.4 peerDependencies: "@opentelemetry/api": ^1.1.0 react: ^18.2.0 @@ -3734,7 +3733,7 @@ __metadata: optional: true bin: next: dist/bin/next - checksum: f4873dab8888ed4dae14d36d7cf8dc54cd042695cf7ee41d05e8757f463d11952a594eb066143cc2f7253ea1d41c6efe681cdc3ab8c2fa6eb0815fa5a94de3dc + checksum: 3d17cec5bde2003192fc727212459f65da8f330e3d645a8e4421e84df339634d16222672d69c6d192ec416e71cccdd6b141066ff53842b118cdec3c8875ccf4a languageName: node linkType: hard @@ -4248,14 +4247,14 @@ __metadata: languageName: node linkType: hard -"postcss@npm:8.4.14": - version: 8.4.14 - resolution: "postcss@npm:8.4.14" +"postcss@npm:8.4.31": + version: 8.4.31 + resolution: "postcss@npm:8.4.31" dependencies: - nanoid: ^3.3.4 + nanoid: ^3.3.6 picocolors: ^1.0.0 source-map-js: ^1.0.2 - checksum: fe58766ff32e4becf65a7d57678995cfd239df6deed2fe0557f038b47c94e4132e7e5f68b5aa820c13adfec32e523b693efaeb65798efb995ce49ccd83953816 + checksum: 1d8611341b073143ad90486fcdfeab49edd243377b1f51834dc4f6d028e82ce5190e4f11bb2633276864503654fb7cab28e67abdc0fbf9d1f88cad4a0ff0beea languageName: node linkType: hard @@ -5791,10 +5790,3 @@ __metadata: checksum: f77b3d8d00310def622123df93d4ee654fc6a0096182af8bd60679ddcdfb3474c56c6c7190817c84a2785648cdee9d721c0154eb45698c62176c322fb46fc700 languageName: node linkType: hard - -"zod@npm:3.21.4": - version: 3.21.4 - resolution: "zod@npm:3.21.4" - checksum: f185ba87342ff16f7a06686767c2b2a7af41110c7edf7c1974095d8db7a73792696bcb4a00853de0d2edeb34a5b2ea6a55871bc864227dace682a0a28de33e1f - languageName: node - linkType: hard