Merge branch 'main' into cloudflare

This commit is contained in:
hamster1963 2024-11-28 11:47:45 +08:00
commit 1c34a6af94
6 changed files with 17 additions and 13 deletions

View File

@ -12,14 +12,14 @@ export default function Footer() {
<a <a
href="https://github.com/hamster1963/nezha-dash" href="https://github.com/hamster1963/nezha-dash"
target="_blank" target="_blank"
className="cursor-pointer font-normal underline decoration-yellow-500 hover:decoration-yellow-300 transition-colors decoration-2 underline-offset-2 dark:decoration-yellow-900 dark:hover:decoration-yellow-600" className="cursor-pointer font-normal underline decoration-yellow-500 hover:decoration-yellow-600 transition-colors decoration-2 underline-offset-2 dark:decoration-yellow-500/60 dark:hover:decoration-yellow-500/80"
> >
{t("a_303-585_GitHub")} {t("a_303-585_GitHub")}
</a> </a>
<a <a
href={`https://github.com/hamster1963/nezha-dash/releases/tag/v${version}`} href={`https://github.com/hamster1963/nezha-dash/releases/tag/v${version}`}
target="_blank" target="_blank"
className="cursor-pointer font-normal underline decoration-yellow-500 hover:decoration-yellow-300 transition-colors decoration-2 underline-offset-2 dark:decoration-yellow-900 dark:hover:decoration-yellow-600" className="cursor-pointer font-normal underline decoration-yellow-500 hover:decoration-yellow-600 transition-colors decoration-2 underline-offset-2 dark:decoration-yellow-500/60 dark:hover:decoration-yellow-500/80"
> >
v{version} v{version}
</a> </a>

View File

@ -97,7 +97,8 @@
"Servers": "servers" "Servers": "servers"
}, },
"NotFoundPage": { "NotFoundPage": {
"h1_490-590_404NotFound": "404 Not Found", "h1_490-590_404NotFound": "Server Not Found",
"h1_490-590_404NotFoundBack": " Press here to go back" "h1_490-590_404NotFoundBack": " Press here to go back",
"h1_490-590_Error": "Something went wrong"
} }
} }

View File

@ -97,7 +97,8 @@
"Servers": "サーバー" "Servers": "サーバー"
}, },
"NotFoundPage": { "NotFoundPage": {
"h1_490-590_404NotFound": "404 見つかりませんでした", "h1_490-590_404NotFound": "サーバーは見つかりません",
"h1_490-590_404NotFoundBack": "戻る" "h1_490-590_404NotFoundBack": "戻る",
"h1_490-590_Error": "何らかの問題が発生しました"
} }
} }

View File

@ -97,7 +97,8 @@
"Servers": "個伺服器" "Servers": "個伺服器"
}, },
"NotFoundPage": { "NotFoundPage": {
"h1_490-590_404NotFound": "404 未找到", "h1_490-590_404NotFound": "伺服器未找到",
"h1_490-590_404NotFoundBack": "返回" "h1_490-590_404NotFoundBack": "返回",
"h1_490-590_Error": "發生錯誤"
} }
} }

View File

@ -97,7 +97,8 @@
"Servers": "个服务器" "Servers": "个服务器"
}, },
"NotFoundPage": { "NotFoundPage": {
"h1_490-590_404NotFound": "404 未找到", "h1_490-590_404NotFound": "服务器不存在",
"h1_490-590_404NotFoundBack": "返回" "h1_490-590_404NotFoundBack": "返回",
"h1_490-590_Error": "发生错误"
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "nezha-dash", "name": "nezha-dash",
"version": "1.5.3-fix", "version": "1.5.4",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "next dev -p 3040", "dev": "next dev -p 3040",
@ -56,7 +56,7 @@
}, },
"devDependencies": { "devDependencies": {
"@next/bundle-analyzer": "^15.0.3", "@next/bundle-analyzer": "^15.0.3",
"@tailwindcss/postcss": "^4.0.0-beta.2", "@tailwindcss/postcss": "^4.0.0-beta.3",
"@types/node": "^22.10.0", "@types/node": "^22.10.0",
"@types/react": "npm:types-react@19.0.0-rc.1", "@types/react": "npm:types-react@19.0.0-rc.1",
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1", "@types/react-dom": "npm:types-react-dom@19.0.0-rc.1",
@ -67,7 +67,7 @@
"postcss": "^8.4.49", "postcss": "^8.4.49",
"prettier": "^3.4.1", "prettier": "^3.4.1",
"prettier-plugin-tailwindcss": "^0.6.9", "prettier-plugin-tailwindcss": "^0.6.9",
"tailwindcss": "^4.0.0-beta.2", "tailwindcss": "^4.0.0-beta.3",
"typescript": "^5.7.2", "typescript": "^5.7.2",
"vercel": "39.1.1" "vercel": "39.1.1"
}, },