diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.bak similarity index 100% rename from .github/workflows/ci.yml rename to .github/workflows/ci.bak diff --git a/app/(pages)/browse/page.tsx b/app/(pages)/_browse/page.tsx similarity index 100% rename from app/(pages)/browse/page.tsx rename to app/(pages)/_browse/page.tsx diff --git a/app/(pages)/browse/pure.tsx b/app/(pages)/_browse/pure.tsx similarity index 100% rename from app/(pages)/browse/pure.tsx rename to app/(pages)/_browse/pure.tsx diff --git a/app/(pages)/creators/[creatorSlug]/page.tsx b/app/(pages)/_creators/[creatorSlug]/page.tsx similarity index 100% rename from app/(pages)/creators/[creatorSlug]/page.tsx rename to app/(pages)/_creators/[creatorSlug]/page.tsx diff --git a/app/(pages)/creators/[creatorSlug]/projects/[projectSlug]/[pageSlug]/page.tsx b/app/(pages)/_creators/[creatorSlug]/projects/[projectSlug]/[pageSlug]/page.tsx similarity index 100% rename from app/(pages)/creators/[creatorSlug]/projects/[projectSlug]/[pageSlug]/page.tsx rename to app/(pages)/_creators/[creatorSlug]/projects/[projectSlug]/[pageSlug]/page.tsx diff --git a/app/(pages)/creators/[creatorSlug]/projects/[projectSlug]/page.tsx b/app/(pages)/_creators/[creatorSlug]/projects/[projectSlug]/page.tsx similarity index 100% rename from app/(pages)/creators/[creatorSlug]/projects/[projectSlug]/page.tsx rename to app/(pages)/_creators/[creatorSlug]/projects/[projectSlug]/page.tsx diff --git a/app/(pages)/creators/[creatorSlug]/projects/[projectSlug]/pure.tsx b/app/(pages)/_creators/[creatorSlug]/projects/[projectSlug]/pure.tsx similarity index 100% rename from app/(pages)/creators/[creatorSlug]/projects/[projectSlug]/pure.tsx rename to app/(pages)/_creators/[creatorSlug]/projects/[projectSlug]/pure.tsx diff --git a/app/(pages)/creators/[creatorSlug]/pure.tsx b/app/(pages)/_creators/[creatorSlug]/pure.tsx similarity index 94% rename from app/(pages)/creators/[creatorSlug]/pure.tsx rename to app/(pages)/_creators/[creatorSlug]/pure.tsx index 5e56b91..e08a820 100644 --- a/app/(pages)/creators/[creatorSlug]/pure.tsx +++ b/app/(pages)/_creators/[creatorSlug]/pure.tsx @@ -38,10 +38,10 @@ export function CreatorPage(props: { const colorScheme = lowerCaseLabel.includes("twitter") ? "twitter" : lowerCaseLabel.includes("facebook") - ? "facebook" - : lowerCaseLabel.includes("itch") - ? "red" - : undefined; + ? "facebook" + : lowerCaseLabel.includes("itch") + ? "red" + : undefined; return ( { + return [ + { + source: "/", + destination: "https://keeper.farirpgs.com", + permanent: false, + }, + { + source: "/browse", + destination: "https://keeper.farirpgs.com", + permanent: false, + }, + { + source: "/creators/:creatorSlug", + destination: "https://keeper.farirpgs.com/creators/:creatorSlug", + permanent: false, + }, + { + source: "/creators/:creatorSlug/projects/:projectSlug", + destination: + "https://keeper.farirpgs.com/resources/:creatorSlug/:projectSlug", + permanent: false, + }, + { + source: "/creators/:creatorSlug/projects/:projectSlug/:pageSlug", + destination: + "https://keeper.farirpgs.com/resources/:creatorSlug/:projectSlug/:pageSlug", + permanent: false, + }, + ]; + }, }; module.exports = nextConfig; diff --git a/package.json b/package.json index 9d4b042..6421afe 100644 --- a/package.json +++ b/package.json @@ -1,17 +1,19 @@ { "name": "fari-community", "version": "1.0.0", - "description": "", + "engines": { + "node": ">=20.0.0" + }, "main": "index.js", "scripts": { "dev": "next dev", "build": "next build", "start": "next start", "lint": "next lint", - "preview": "bun build && bun deploy:preview", - "beta": "bun build && bun deploy:preview -- --alias beta", - "alpha": "bun build && bun deploy:preview -- --alias alpha", - "prod": "bun build && bun deploy:preview -- --prod", + "preview": "bun run build && bun deploy:preview", + "beta": "bun run build && bun deploy:preview -- --alias beta", + "alpha": "bun run build && bun deploy:preview -- --alias alpha", + "prod": "bun run build && bun deploy:preview -- --prod", "deploy:preview": "netlify deploy --site b106e8c1-1ca6-4da3-84d7-d06d7fe1ec68", "deploy:prod": "netlify deploy --site b106e8c1-1ca6-4da3-84d7-d06d7fe1ec68 --prod", "prepare": "husky install" @@ -52,5 +54,6 @@ "@types/remarkable": "^2.0.4", "autoprefixer": "^10.4.16", "postcss": "^8.4.31" - } + }, + "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e" }