Kaynağa Gözat

feat: 更新日志页面增加官网链接 www.qmai.pro

Mochocyang 3 ay önce
ebeveyn
işleme
f22b6e05ab

+ 14 - 1
src/components/settings/sections/changelog-section.tsx

@@ -1,6 +1,6 @@
 import { useState, useRef } from "react"
 import { useTranslation } from "react-i18next"
-import { RefreshCw, Download, CheckCircle, AlertCircle } from "lucide-react"
+import { RefreshCw, Download, CheckCircle, AlertCircle, Globe } from "lucide-react"
 import { allChangelog } from "@/lib/changelog"
 import {
   APP_AUTO_UPDATE_RELEASES_URL,
@@ -211,6 +211,19 @@ export function ChangelogSection() {
         ) : null}
       </div>
 
+      {/* 官网 */}
+      <div className="flex items-center gap-2 text-sm">
+        <Globe className="h-4 w-4 text-muted-foreground" />
+        <a
+          href="https://www.qmai.pro"
+          target="_blank"
+          rel="noreferrer"
+          className="font-medium text-primary hover:underline"
+        >
+          www.qmai.pro
+        </a>
+      </div>
+
       {/* 完整版本历史 */}
       <div className="space-y-4">
         <h3 className="text-sm font-medium text-muted-foreground">版本历史</h3>