소스 검색

增加首页

yourname 3 달 전
부모
커밋
de09a280cc
2개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/client/home-shadcn/pages/WordPreview.tsx
  2. 4 0
      src/client/home-shadcn/routes.tsx

+ 1 - 1
src/client/home-shadcn/pages/WordPreview.tsx

@@ -585,7 +585,7 @@ export default function WordPreview() {
   return (
     <div className="space-y-6">
       <div>
-        <h1 className="text-3xl font-bold tracking-tight">Word批量处理工具(增强版</h1>
+        <h1 className="text-3xl font-bold tracking-tight">元亨Word批量处理增强版</h1>
         <p className="text-muted-foreground">支持图片压缩文件,自动生成替换字段和图片的文档</p>
       </div>
 

+ 4 - 0
src/client/home-shadcn/routes.tsx

@@ -13,6 +13,10 @@ import WordPreview from './pages/WordPreview';
 export const router = createBrowserRouter([
   {
     path: '/',
+    element: <HomePage />
+  },
+  {
+    path: '/word-preview',
     element: <WordPreview />
   },
   {