diff --git a/package-lock.json b/package-lock.json index 88d8f91d32..adfba7a841 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3882,6 +3882,7 @@ "version": "2.5.6", "resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.5.6.tgz", "integrity": "sha512-tmmZ3lQxAe/k/+rNnXQRawJ4NjxO2hqiOLTHvWchtGZULp4RyFeh6aU4XdOYBFe2KE1oShQTv4AblOs2iOrNnQ==", + "dev": true, "hasInstallScript": true, "license": "MIT", "optional": true, @@ -3921,6 +3922,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -3941,6 +3943,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -3961,6 +3964,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -3981,6 +3985,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -4001,6 +4006,7 @@ "cpu": [ "arm" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -4021,6 +4027,7 @@ "cpu": [ "arm" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -4041,6 +4048,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -4061,6 +4069,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -4081,6 +4090,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -4101,6 +4111,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -4121,6 +4132,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -4141,6 +4153,7 @@ "cpu": [ "ia32" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -4161,6 +4174,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -18034,6 +18048,7 @@ "version": "7.1.1", "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.1.1.tgz", "integrity": "sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==", + "dev": true, "license": "MIT", "optional": true }, @@ -23484,6 +23499,7 @@ "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, diff --git a/src/pages/[locale]/community.astro b/src/pages/[locale]/community.astro index f23faee6a9..6860a11abb 100644 --- a/src/pages/[locale]/community.astro +++ b/src/pages/[locale]/community.astro @@ -6,7 +6,7 @@ import { getCollectionInLocaleWithFallbacks } from "@pages/_utils"; export const getStaticPaths = async () => { const allSketches = await getCurationSketches(); - const sketches = allSketches.slice(0, 10); + const sketches = allSketches.slice(0, 8); return await Promise.all( nonDefaultSupportedLocales.map(async (locale) => { const libraries = await getCollectionInLocaleWithFallbacks( diff --git a/src/pages/community.astro b/src/pages/community.astro index 3bbb641213..e5e21daff7 100644 --- a/src/pages/community.astro +++ b/src/pages/community.astro @@ -4,14 +4,7 @@ import CommunityLayout from "../layouts/CommunityLayout.astro"; import { getCollectionInDefaultLocale } from "./_utils"; const allSketches = await getCurationSketches(); -const priorityIds = [ - '2684408', '2693274', '2693345', - '2689119', '2484739', '2688829', - '2690571', '2690405', '2691712', '2690038' - ]; -const sketches = allSketches - .filter(sk => priorityIds.includes(String(sk.visualID))) - .slice(0, 8); +const sketches = allSketches.slice(0, 8); const libraries = await getCollectionInDefaultLocale("libraries"); const pastEvents = await getCollectionInDefaultLocale("events"); ---