diff --git a/app/page.tsx b/app/page.tsx index dc5d3ec..d282967 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -2,7 +2,9 @@ import { useState } from 'react'; import Link from 'next/link'; -import { Language, getTranslation } from '../utils/i18n'; +import { Language } from '../types/lottery'; +import { getTranslation } from '../utils/i18n'; +import Navigation from '../components/Navigation'; export default function Home() { const [language, setLanguage] = useState('zh_cn'); @@ -10,21 +12,8 @@ export default function Home() { return (
+
- {/* 语言选择 */} -
- -
- {/* 标题 */}

diff --git a/next.config.ts b/next.config.ts index 5083fe5..577770d 100644 --- a/next.config.ts +++ b/next.config.ts @@ -5,6 +5,16 @@ const nextConfig = { images: { unoptimized: true, }, + async redirects() { + return [ + { + source: '/', + destination: '/kc-development-tools', + permanent: true, + basePath: false + } + ]; + } } export default nextConfig;