在首页添加GitHub链接,优化导航体验。

This commit is contained in:
wood chen 2025-06-15 20:27:24 +08:00
parent 648e7f69cf
commit e21b5dac5f

View File

@ -436,6 +436,10 @@ export default function Home() {
<div className="text-center mt-8 text-sm text-gray-600 dark:text-gray-400"> <div className="text-center mt-8 text-sm text-gray-600 dark:text-gray-400">
<p>API服务 - Next.js Go </p> <p>API服务 - Next.js Go </p>
<p className="mt-2"> <p className="mt-2">
<Link href="https://github.com/woodchen-ink/random-api-go" className="text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300 underline">
GitHub
</Link>
<span className="mx-2">|</span>
<Link href="/admin" className="text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300 underline"> <Link href="/admin" className="text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300 underline">
</Link> </Link>