更新首页文档跳转链接&调整后台分页显示

This commit is contained in:
Eamon-meng
2026-02-25 18:46:11 +08:00
parent 85f241e8e3
commit 2125f1ef9e
3 changed files with 9 additions and 13 deletions

View File

@@ -11,21 +11,21 @@ export function ArticlesSection() {
icon={<BookOpen className="w-12 h-12"/>} icon={<BookOpen className="w-12 h-12"/>}
title="浏览器设置代理教程" title="浏览器设置代理教程"
description="快速上手5分钟学会在浏览器中配置代理服务器" description="快速上手5分钟学会在浏览器中配置代理服务器"
href="/docs/client/browser-proxy" href="/docs/browser-proxy"
/> />
<ArticleCard <ArticleCard
icon={<Smartphone className="w-12 h-12"/>} icon={<Smartphone className="w-12 h-12"/>}
title="Windows10 代理配置" title="Windows10 代理配置"
description="详细图文教程,帮助你在 Windows 系统中设置代理" description="详细图文教程,帮助你在 Windows 系统中设置代理"
href="/docs/client/windows10-proxy" href="/docs/windows10-proxy"
/> />
<ArticleCard <ArticleCard
icon={<HelpCircle className="w-12 h-12"/>} icon={<HelpCircle className="w-12 h-12"/>}
title="常见问题总览" title="常见问题总览"
description="解决使用过程中遇到的各类问题,快速找到答案" description="解决使用过程中遇到的各类问题,快速找到答案"
href="/docs/faqs/faq-general" href="/docs/faq-general"
/> />
</div> </div>
</PageSection> </PageSection>

View File

@@ -41,7 +41,7 @@ export default function Footer(props: FooterProps) {
items={[ items={[
{name: `产品订购`, href: `/product`}, {name: `产品订购`, href: `/product`},
{name: `获取代理`, href: `/collect`}, {name: `获取代理`, href: `/collect`},
{name: `帮助中心`, href: `/docs/faqs/faq-general`}, {name: `帮助中心`, href: `/docs/faq-general`},
{name: `企业服务`, href: `/custom`}, {name: `企业服务`, href: `/custom`},
]} ]}
/> />
@@ -69,9 +69,9 @@ export default function Footer(props: FooterProps) {
<SiteNavList <SiteNavList
title="帮助文档" title="帮助文档"
items={[ items={[
{name: `产品功能`, href: `/docs/product/product-features`}, {name: `产品功能`, href: `/docs/product-overview`},
{name: `使用教程`, href: `/docs/client/browser-proxy`}, {name: `使用教程`, href: `/docs/browser-proxy`},
{name: `行业资讯`, href: `/docs/news/news-latest`}, {name: `行业资讯`, href: `/docs/news-latest`},
]} ]}
/> />
</div> </div>

View File

@@ -107,13 +107,9 @@ function Pagination({
const paginationItems = generatePaginationItems() const paginationItems = generatePaginationItems()
return ( return (
<div className={`flex flex-wrap items-center justify-end gap-4 ${className || ''}`}> <div className={`flex flex-wrap items-center gap-4 ${className || ''}`}>
<div className="flex-none flex items-center gap-2 text-sm text-muted-foreground"> <div className="flex-none flex items-center gap-2 text-sm text-muted-foreground">
{total}
{' '}
{total}
{' '}
<Select <Select
value={size.toString()} value={size.toString()}
onValueChange={handlePageSizeChange} onValueChange={handlePageSizeChange}