2026-03-13 20:23:13 +08:00
|
|
|
import { siGithub, siX } from 'simple-icons'
|
2025-10-22 22:35:25 +08:00
|
|
|
|
2026-01-30 16:47:23 +08:00
|
|
|
import { useLanguage } from '@/i18n/context'
|
|
|
|
|
|
2025-09-29 16:33:15 +08:00
|
|
|
export default function Footer() {
|
2026-01-30 16:47:23 +08:00
|
|
|
const { isZh } = useLanguage()
|
2025-10-22 22:35:25 +08:00
|
|
|
|
2025-09-29 16:33:15 +08:00
|
|
|
return (
|
|
|
|
|
<footer
|
|
|
|
|
className="bg-gray-50 dark:bg-gray-900 border-t border-gray-200 dark:border-gray-700"
|
|
|
|
|
role="contentinfo"
|
|
|
|
|
>
|
2025-10-11 22:56:38 +08:00
|
|
|
<div className="max-w-7xl mx-auto px-6 py-6">
|
|
|
|
|
<div className="flex flex-col md:flex-row justify-between items-center space-y-4 md:space-y-0">
|
2026-01-30 16:47:23 +08:00
|
|
|
<p className="text-gray-600 dark:text-gray-300 text-sm">
|
|
|
|
|
© 2026 page-agent. All rights reserved.
|
|
|
|
|
</p>
|
2026-03-13 20:23:13 +08:00
|
|
|
|
2025-10-11 22:56:38 +08:00
|
|
|
<div className="flex items-center space-x-6">
|
2026-02-27 17:09:54 +08:00
|
|
|
<a
|
|
|
|
|
href="https://github.com/alibaba/page-agent/blob/main/docs/terms-and-privacy.md"
|
|
|
|
|
target="_blank"
|
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
|
className="text-gray-600 dark:text-gray-300 hover:text-gray-900 dark:hover:text-white transition-colors duration-200 text-sm"
|
|
|
|
|
>
|
|
|
|
|
{isZh ? '使用条款与隐私' : 'Terms & Privacy'}
|
|
|
|
|
</a>
|
2026-03-13 20:23:13 +08:00
|
|
|
<a
|
|
|
|
|
href="https://x.com/simonluvramen"
|
|
|
|
|
target="_blank"
|
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
|
className="text-gray-600 dark:text-gray-300 hover:text-gray-900 dark:hover:text-white transition-colors duration-200"
|
|
|
|
|
aria-label="X (Twitter)"
|
|
|
|
|
>
|
|
|
|
|
<svg
|
|
|
|
|
role="img"
|
|
|
|
|
viewBox="0 0 24 24"
|
|
|
|
|
className="w-4 h-4 fill-current"
|
|
|
|
|
aria-hidden="true"
|
|
|
|
|
>
|
|
|
|
|
<path d={siX.path} />
|
|
|
|
|
</svg>
|
|
|
|
|
</a>
|
2025-10-11 22:56:38 +08:00
|
|
|
<a
|
|
|
|
|
href="https://github.com/alibaba/page-agent"
|
|
|
|
|
target="_blank"
|
|
|
|
|
rel="noopener noreferrer"
|
2025-10-22 22:35:25 +08:00
|
|
|
className="text-gray-600 dark:text-gray-300 hover:text-gray-900 dark:hover:text-white transition-colors duration-200"
|
2026-01-30 16:47:23 +08:00
|
|
|
aria-label={isZh ? '访问 GitHub 仓库' : 'Visit GitHub repository'}
|
2025-10-11 22:56:38 +08:00
|
|
|
>
|
2025-12-23 16:04:44 +08:00
|
|
|
<svg
|
|
|
|
|
role="img"
|
|
|
|
|
viewBox="0 0 24 24"
|
|
|
|
|
className="w-5 h-5 fill-current"
|
|
|
|
|
aria-hidden="true"
|
|
|
|
|
>
|
|
|
|
|
<path d={siGithub.path} />
|
2025-10-11 22:56:38 +08:00
|
|
|
</svg>
|
|
|
|
|
</a>
|
2025-09-29 16:33:15 +08:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</footer>
|
|
|
|
|
)
|
|
|
|
|
}
|