Commit
·
9e67465
1
Parent(s):
bd13e9f
� FIX NAVIGATION: Landing Page My Device Links
Browse files✅ 修复Landing页面导航链接:
� **修复的按钮**:
- ✅ 顶部导航 "My Device" -> /mydevice
- ✅ "Learn More" 按钮 -> /usecases (用户学习用例)
- ✅ "I already have a device" -> /mydevice (现有设备用户配置)
� **修复逻辑**:
- "My Device" 导航统一指向设备配置页面
- "Learn More" 引导用户了解用例场景
- "I already have a device" 直接进入设备配置流程
� **现在所有页面的My Device按钮都正确指向 /mydevice!**
frontend/src/pages/Landing.tsx
CHANGED
|
@@ -45,10 +45,10 @@ export function Landing() {
|
|
| 45 |
</button>
|
| 46 |
<Button
|
| 47 |
variant="outline"
|
| 48 |
-
onClick={() => navigate('/
|
| 49 |
className="border-purple-600 text-purple-600 hover:bg-purple-50"
|
| 50 |
>
|
| 51 |
-
My
|
| 52 |
</Button>
|
| 53 |
</div>
|
| 54 |
|
|
@@ -86,7 +86,7 @@ export function Landing() {
|
|
| 86 |
<Button
|
| 87 |
size="lg"
|
| 88 |
className="bg-purple-600 hover:bg-purple-700 text-white px-8 py-3 text-lg font-medium"
|
| 89 |
-
onClick={() => navigate('/
|
| 90 |
>
|
| 91 |
Learn More
|
| 92 |
</Button>
|
|
@@ -94,7 +94,7 @@ export function Landing() {
|
|
| 94 |
size="lg"
|
| 95 |
variant="outline"
|
| 96 |
className="border-purple-600 text-purple-600 hover:bg-purple-50 px-8 py-3 text-lg font-medium"
|
| 97 |
-
onClick={() => navigate('/
|
| 98 |
>
|
| 99 |
I already have a device
|
| 100 |
</Button>
|
|
|
|
| 45 |
</button>
|
| 46 |
<Button
|
| 47 |
variant="outline"
|
| 48 |
+
onClick={() => navigate('/mydevice')}
|
| 49 |
className="border-purple-600 text-purple-600 hover:bg-purple-50"
|
| 50 |
>
|
| 51 |
+
My Device
|
| 52 |
</Button>
|
| 53 |
</div>
|
| 54 |
|
|
|
|
| 86 |
<Button
|
| 87 |
size="lg"
|
| 88 |
className="bg-purple-600 hover:bg-purple-700 text-white px-8 py-3 text-lg font-medium"
|
| 89 |
+
onClick={() => navigate('/usecases')}
|
| 90 |
>
|
| 91 |
Learn More
|
| 92 |
</Button>
|
|
|
|
| 94 |
size="lg"
|
| 95 |
variant="outline"
|
| 96 |
className="border-purple-600 text-purple-600 hover:bg-purple-50 px-8 py-3 text-lg font-medium"
|
| 97 |
+
onClick={() => navigate('/mydevice')}
|
| 98 |
>
|
| 99 |
I already have a device
|
| 100 |
</Button>
|
static/assets/index-6078c243.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
static/assets/index-6078c243.js.map
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
static/index.html
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
| 6 |
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
| 7 |
<title>Edge LLM</title>
|
| 8 |
-
<script type="module" crossorigin src="/assets/index-
|
| 9 |
<link rel="stylesheet" href="/assets/index-1e03c941.css">
|
| 10 |
</head>
|
| 11 |
<body>
|
|
|
|
| 5 |
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
| 6 |
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
| 7 |
<title>Edge LLM</title>
|
| 8 |
+
<script type="module" crossorigin src="/assets/index-6078c243.js"></script>
|
| 9 |
<link rel="stylesheet" href="/assets/index-1e03c941.css">
|
| 10 |
</head>
|
| 11 |
<body>
|