- {lang === 'zh' ? '社区' : 'Community'} -
-- {lang === 'zh' - ? '加入社区,获取帮助和分享经验' - : 'Join the community, get help, and share your experience'} -
-diff --git a/apps/site/next.config.mjs b/apps/site/next.config.mjs
index 221c619..0e02f99 100644
--- a/apps/site/next.config.mjs
+++ b/apps/site/next.config.mjs
@@ -1,8 +1,13 @@
import { createMDX } from 'fumadocs-mdx/next';
+import { fileURLToPath } from 'node:url';
+import path from 'node:path';
+
+const __dirname = path.dirname(fileURLToPath(import.meta.url));
/** @type {import('next').NextConfig} */
const config = {
reactStrictMode: true,
+ outputFileTracingRoot: path.resolve(__dirname, '../../'),
};
const withMDX = createMDX();
diff --git a/apps/site/src/app/[lang]/(marketing)/community/page.tsx b/apps/site/src/app/[lang]/(marketing)/community/page.tsx
deleted file mode 100644
index 3917465..0000000
--- a/apps/site/src/app/[lang]/(marketing)/community/page.tsx
+++ /dev/null
@@ -1,33 +0,0 @@
-import { siteConfig } from '@/lib/site.config';
-import { buttonVariants } from '@/components/ui/button-variants';
-
-export default async function CommunityPage({
- params,
-}: {
- params: Promise<{ lang: string }>;
-}) {
- const { lang } = await params;
-
- return (
-
- {lang === 'zh'
- ? '加入社区,获取帮助和分享经验'
- : 'Join the community, get help, and share your experience'}
-
- {lang === 'zh'
- ? '从 GitHub Releases 下载最新版本'
- : 'Download the latest version from GitHub Releases'}
-
- {lang === 'zh' ? '社区' : 'Community'}
-
-
- {lang === 'zh' ? '下载 CodePilot' : 'Download CodePilot'}
-
-