diff --git a/chuan-next/src/app/HomePage.tsx b/chuan-next/src/app/HomePage.tsx
index c97e275..6eeed52 100644
--- a/chuan-next/src/app/HomePage.tsx
+++ b/chuan-next/src/app/HomePage.tsx
@@ -4,6 +4,7 @@ import React from 'react';
import { Tabs, TabsContent, TabsList, TabsTrigger } from '@/components/ui/tabs';
import { Upload, MessageSquare, Monitor, Users, Settings } from 'lucide-react';
import Hero from '@/components/Hero';
+import Footer from '@/components/Footer';
import { WebRTCFileTransfer } from '@/components/WebRTCFileTransfer';
import { WebRTCTextImageTransfer } from '@/components/WebRTCTextImageTransfer';
import DesktopShare from '@/components/DesktopShare';
@@ -45,12 +46,13 @@ export default function HomePage() {
};
return (
-
-
- {/* Hero Section */}
-
-
-
+
+
+
+ {/* Hero Section */}
+
+
+
{/* WebRTC 支持检测加载状态 */}
{!isChecked && (
@@ -171,8 +173,12 @@ export default function HomePage() {
)}
+
+ {/* 页脚 */}
+
+
{/* WebRTC 不支持提示模态框 */}
{webrtcSupport && (
+
+ {/* 分割线 */}
+
+
+ {/* 链接区域 */}
+
+
+ {/* 版权信息 */}
+
+
+ 基于 WebRTC 的端到端文件传输服务
+
+
+
+
+ );
+}
diff --git a/chuan-next/src/components/Hero.tsx b/chuan-next/src/components/Hero.tsx
index e866d05..58c2511 100644
--- a/chuan-next/src/components/Hero.tsx
+++ b/chuan-next/src/components/Hero.tsx
@@ -11,8 +11,6 @@ export default function Hero() {
文件快传
- 安全、快速、简单的传输服务
-
基于WebRTC的端到端服务 - 无需注册,即传即用
@@ -25,7 +23,7 @@ export default function Hero() {
className="inline-flex items-center gap-1 px-3 py-1.5 text-xs sm:text-sm text-slate-600 hover:text-slate-800 bg-slate-100 hover:bg-slate-200 rounded-full transition-colors duration-200 border border-slate-200 hover:border-slate-300"
>
- 开源项目
+ 开源地址
-
-
{/* 分割线 */}
-
+
);
}