From 33cf70787bf44aa8526b6d1b9e7b5ee3dc671be2 Mon Sep 17 00:00:00 2001 From: eric Date: Sat, 6 Dec 2025 06:02:16 +0800 Subject: [PATCH] 's' --- app/page.tsx | 7 +- public/navigation.json | 380 +++++++++++++++++++++++++++++++++++++++++ public/site.json | 15 ++ 3 files changed, 400 insertions(+), 2 deletions(-) create mode 100644 public/navigation.json create mode 100644 public/site.json diff --git a/app/page.tsx b/app/page.tsx index f27c523..06113c2 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -3,8 +3,11 @@ import { Metadata } from 'next/types' import { ScrollToTop } from '@/components/ScrollToTop' import { Container } from '@/components/ui/container' import type { SiteConfig } from '@/types/site' -import navigationData from '@/navsphere/content/navigation.json' -import siteDataRaw from '@/navsphere/content/site.json' +// import navigationData from '@/navsphere/content/navigation.json' +import navigationData from '@/public/navigation.json' +// import siteDataRaw from '@/navsphere/content/site.json' + import siteDataRaw from '@/public/site.json' + function getData() { // 确保 theme 类型正确 diff --git a/public/navigation.json b/public/navigation.json new file mode 100644 index 0000000..b676062 --- /dev/null +++ b/public/navigation.json @@ -0,0 +1,380 @@ +{ + "navigationItems": [ + { + "id": "1", + "title": "数字游民", + "icon": "Star", + "items": [], + "subCategories": [ + { + "id": "cbb3e3w3d-408b-41ba-9e9a-eww0444w30s3e3ff", + "title": "工具箱", + "icon": "Book", + "description": "", + "enabled": true, + "items": [ + { + "id": "9_1", + "title": "ChatGPT", + "href": "https://chat.openai.com/", + "description": "OpenAI开发的人工智能聊天机器人程序。", + "icon": "/assets/images/logos/chatgpt.png", + "enabled": true + }, + { + "id": "1759046285125", + "title": "Grok", + "href": "https://grok.com/", + "description": "Grok is a free AI assistant designed by xAI to maximize truth and objectivity. Grok offers real-time search, image generation, trend analysis, and more.", + "icon": "/assets/favicon_1759046289851.png", + "enabled": true + }, + { + "id": "17364182wwww9ww6509", + "title": "沉浸式翻译", + "href": "https://immersivetranslate.com/?via=nomad-vps", + "description": "网页双语翻译", + "icon": "/assets/images/logos/trans.png", + "enabled": true + } + ] + }, + { + "id": "cbb3e33d-408b-41ba-9e9a-e044432203e3ff", + "title": "金融收款", + "icon": "Book", + "description": "", + "enabled": true, + "items": [ + { + "id": "1736418wqw296509", + "title": "safepal", + "href": "https://www.safepal.com/zh-cn/", + "description": "出海神卡,加密货币与法币转换,可绑定微信/支付宝 apple pay国内消费", + "icon": "/assets/images/logos/safepal.png", + "enabled": true + }, + { + "id": "1736911347qwwq619", + "title": "wise", + "href": "https://wise.com/invite/amc/xiaoshuangh", + "description": "线上开通境外银行账户", + "icon": "/assets/images/logos/wise.png", + "enabled": true + }, + { + "id": "qwqeeeweqwqwwq2", + "title": "OKX交易所", + "href": "https://okx.com/join/84999861", + "description": "加密货币交易所", + "icon": "/assets/images/logos/okx.png", + "enabled": true + } + ] + }, + { + "id": "cbb3e3w3d-408b-41ba-9e922a-eww0444w30s3e3ff", + "title": "数码装备", + "icon": "Book", + "description": "", + "enabled": true, + "items": [ + { + "id": "17364182wwww229ww6509", + "title": "AI眼镜", + "href": "https://rayneo.cn/", + "description": "第一视角拍摄", + "icon": "/assets/images/logos/glass.jpg", + "enabled": true + }, + { + "id": "djzroeoddsfssasaeefwe", + "title": "运动相机", + "href": "https://www.insta360.com/cn/", + "description": "骑行记录仪", + "icon": "/assets/images/logos/action.jpg", + "enabled": true + }, + { + "id": "djzroeoddsfasaeefwe", + "title": "无人机", + "href": "https://www.dji.com/cn", + "description": "天空视角", + "icon": "/assets/images/logos/neo2.jpg", + "enabled": true + } + ] + } + ], + "description": "", + "enabled": true + }, + { + "id": "2", + "title": "低成本工作室", + "icon": "Coffee", + "description": "", + "enabled": true, + "items": [], + "subCategories": [ + { + "id": "cbb3e323d-4w08wwqb-41ba-9e9a-e0444304e2ff", + "title": "vps服务器", + "icon": "Book", + "description": "", + "enabled": true, + "items": [ + { + "id": "1761724972q2wwq32ss40", + "title": "vultr", + "href": "https://www.vultr.com/?ref=8985003", + "description": "可按分钟计费的服务器", + "icon": "/assets/images/logos/vultr.png", + "enabled": true + }, + { + "id": "1761724972qwwq3wwss240", + "title": "bandwagonhost", + "href": "https://bandwagonhost.com/aff.php?aff=25463", + "description": "针对中国线路优化的高质量vps服务商", + "icon": "/assets/images/logos/bandwagonhost.jpg", + "enabled": true + }, + { + "id": "1761724972qwq3www2ss2w240", + "title": "RackNerd", + "href": "https://my.racknerd.com/aff.php?aff=15630", + "description": "最便宜的美国vps服务器", + "icon": "/assets/images/logos/RackNerd.jpg", + "enabled": true + } + ] + }, + { + "id": "cbb3e323d-4w08wwqb-41ba-9e9a-e0444304wwe2ff", + "title": "静态住宅ip", + "icon": "Book", + "description": "", + "enabled": true, + "items": [ + { + "id": "iproyal-cheapwdqwessrqr", + "title": "iproyal", + "href": "https://iproyal.cn/?r=nomadro", + "description": "过cloudfare盾的住宅ip", + "icon": "/assets/images/logos/iproyal.jpg", + "enabled": true + }, + { + "id": "1761724972qwq3wwwsss240", + "title": "proxy-cheap", + "href": "https://app.proxy-cheap.com/r/bmcMoY", + "description": "性价比高的住宅ip", + "icon": "/assets/images/logos/proxy-cheap.jpg", + "enabled": true + }, + { + "id": "1761724972qwq3wwew22w2ss40", + "title": "smartproxy", + "href": "https://www.smartproxy.org/register/?invitation_code=7RXPLM", + "description": "静态住宅ip服务商", + "icon": "/assets/images/logos/smartproxy.jpg", + "enabled": true + } + ] + }, + { + "id": "cbb3e33d-408wwqb-41ba-9e9a-e0ss444304e2ff", + "title": "硬件", + "icon": "Book", + "description": "", + "enabled": true, + "items": [ + { + "id": "176172497qwqsaas3qq240", + "title": "树莓派", + "href": "https://www.raspberrypi.com/", + "description": "无与伦比的ARM开发板", + "icon": "/assets/images/logos/raspberrypi.png", + "enabled": true + }, + { + "id": "1761725q22qw040wwasdaw240", + "title": "迷你主机", + "href": "https://www.bee-link.com.cn/", + "description": "具有性价比的X86小主机", + "icon": "/assets/images/logos/lingke.jpg", + "enabled": true + }, + { + "id": "1761725058wq2www2wasdasdq490", + "title": "GPU显卡", + "href": "https://www.nvidia.cn/geforce/graphics-cards/", + "description": "AI时代的算力基础设施", + "icon": "/assets/images/logos/nvidia.png", + "enabled": true + } + ] + }, + { + "id": "cbb3e33d-4w08wwqb-41ba-ww9e9a-e044430asd4e2ff", + "title": "软件", + "icon": "Book", + "description": "", + "enabled": true, + "items": [ + { + "id": "3X-UIwqeqeasdasdqwe", + "title": "3X-UI", + "href": "https://github.com/MHSanaei/3x-ui", + "description": "科学上网的正确姿势,仪表盘", + "icon": "/assets/images/logos/3x.jpg", + "enabled": true + }, + { + "id": "176172505w8wq22wqasd490", + "title": "frp", + "href": "https://github.com/fatedier/frp", + "description": "高性能内网穿透", + "icon": "/assets/images/logos/frp.png", + "enabled": true + }, + { + "id": "wiregroundqwrqrasdasdqrqrr", + "title": "wireguard", + "href": "https://github.com/WireGuard/wireguard-go", + "description": "P2P打洞组网", + "icon": "/assets/images/logos/wireguard.png", + "enabled": true + }, + { + "id": "wireground22qwrqrasdasdqrqrr", + "title": "lineageos (pi5)", + "href": "https://konstakang.com/devices/rpi5/", + "description": "树莓派的安卓:linageos", + "icon": "/assets/images/logos/lineageos.webp", + "enabled": true + } + ] + } + ] + }, + { + "id": "3", + "title": "出海掘金", + "icon": "Brain", + "items": [], + "subCategories": [ + { + "id": "cbb3e33d-408b-41baww-9e9a-e04443w0qqasdas3e2ff", + "title": "Tiktok", + "icon": "Book", + "description": "", + "enabled": true, + "items": [ + { + "id": "176172497324wwasdaswqw2wqw0", + "title": "Tiktok", + "href": "https://www.tiktok.com/", + "description": "全球直播平台", + "icon": "/assets/images/logos/tiktok.png", + "enabled": true + }, + { + "id": "17617250402qaqweqwsdaswwdwq40", + "title": "sms-activate", + "href": "https://sms-activate.io/?ref=13590512", + "description": "接码平台", + "icon": "/assets/images/logos/sms-activate.jpg", + "enabled": true + }, + { + "id": "1761725058asdaqwewsdaqwq490", + "title": "云手机", + "href": "https://www.hackrobot.cn/", + "description": "用开源硬件打造云手机", + "icon": "/assets/images/logos/phone.png", + "enabled": true + } + ] + }, + { + "id": "cbb3e33d-408b-41baww-9e9a-e044430qqasdwwas3e2ff", + "title": "Youtube", + "icon": "Book", + "description": "", + "enabled": true, + "items": [ + { + "id": "176172497324asdawqwsdswqwwqw0", + "title": "Youtube", + "href": "https://www.youtube.com/", + "description": "全球最大的视频网站", + "icon": "/assets/images/logos/youtube.png", + "enabled": true + }, + { + "id": "17617250402qaqweqwsdasdadasdwq40", + "title": "smmfollows", + "href": "https://smmfollows.com/ref/dfugq", + "description": "刷粉刷量平台", + "icon": "/assets/images/logos/qqtube.png", + "enabled": true + } + ] + }, + { + "id": "cbb3e33d-408b-41baww-9e9a-e044430asdas3e2ff", + "title": "web网站", + "icon": "Book", + "description": "", + "enabled": true, + "items": [ + { + "id": "176172497324asdasww0", + "title": "namesilo", + "href": "https://www.namesilo.com/?rid=3bd4047mc", + "description": "注册域名网址", + "icon": "/assets/images/logos/namesilo.jpg", + "enabled": true + }, + { + "id": "17617250402qasdasdwq40", + "title": "aapanel", + "href": "https://www.aapanel.com?referral_code=wcn04vez", + "description": "宝塔面板", + "icon": "/assets/images/logos/aapanel.png", + "enabled": true + }, + { + "id": "1761725058asdasdaqwq490", + "title": "cloudfare", + "href": "https://www.cloudflare.com/", + "description": "互联网基础节点", + "icon": "/assets/images/logos/cloudflar.ico", + "enabled": true + }, + { + "id": "1_1wqqwqwqwqw", + "title": "Google Analytics", + "href": "https://analytics.google.com/", + "description": "Google分析(Google Analytics)是一个由Google所提供的网站流量统计服务。", + "icon": "/assets/images/logos/analytics.ico", + "enabled": true + }, + { + "id": "1qwqwqwqqw_4", + "title": "Google AdSense", + "href": "https://www.google.com/adsense/", + "description": "Google AdSense广告服务。", + "icon": "/assets/images/logos/gads.ico", + "enabled": true + } + ] + } + ], + "description": "", + "enabled": true + } + ] +} diff --git a/public/site.json b/public/site.json new file mode 100644 index 0000000..5c06f36 --- /dev/null +++ b/public/site.json @@ -0,0 +1,15 @@ +{ + "basic": { + "title": "游民导航", + "description": "游民导航", + "keywords": "游民导航" + }, + "appearance": { + "logo": "/assets/images/nomadro.png", + "favicon": "/assets/images/nomadro.png", + "theme": "system" + }, + "navigation": { + "linkTarget": "_blank" + } +}