增加菜单栏帮助中心和登录页面相关协议的文档1.0版本 & allowedDevOrigins添加IP地址

This commit is contained in:
Eamon-meng
2025-12-12 14:17:24 +08:00
parent a7f4556d9d
commit ee7433e320
38 changed files with 10092 additions and 1729 deletions

View File

@@ -1,3 +1,4 @@
'use client'
import Link from 'next/link'
import Image, {StaticImageData} from 'next/image'
import Wrap from '@/components/wrap'
@@ -24,18 +25,18 @@ export default function HelpMenu() {
icon={h02}
title="使用教程"
items={[
{lead: '快速入手', href: '/help/tutorials/quick-start'},
{lead: '代码下载', href: '#'},
{lead: 'API文档', href: '#'},
{lead: '官方教程', href: '/help/tutorials/official-tutorial/browser-proxy'},
{lead: '客户端教程', href: '/help/tutorials/client-tutorial/ios-proxy'},
{lead: '操作指南', href: '/help/tutorials/operation-guide/windows7-proxy'},
]}
/>
<Column
icon={h03}
title="产品功能"
items={[
{lead: '常见问题', href: '/prodFeat'},
{lead: '产品介绍', href: '#'},
{lead: '行业资讯', href: '#'},
{lead: '常见问题', href: '/help/features/faq/faq-general'},
{lead: '产品介绍', href: '/help/features/product-intro/product-overview'},
{lead: '新闻资讯', href: '/help/features/news/news-latest'},
]}
/>
<Image src={banner} alt="banner" className="hidden lg:block"/>
@@ -67,8 +68,8 @@ function Column(props: {
href={item.href}
className="px-4 py-2"
onClick={() => {
ctx.setMenu(false) // 点击时关闭菜单
router.push(item.href) // 跳转页面
ctx.setMenu(false)
router.push(item.href)
}}
>
{item.lead}