Skip to content

Commit 5b5a13d

Browse files
committed
默认数据修改
1 parent f036813 commit 5b5a13d

File tree

1 file changed

+50
-48
lines changed

1 file changed

+50
-48
lines changed

services/defaultData.ts

Lines changed: 50 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ function createLink(
1717
description: string,
1818
category: string,
1919
icon?: string,
20-
backgroundColor?: string
20+
backgroundColor?: string,
21+
iconScale?: number
2122
): Link {
2223
const now = Date.now();
2324
return {
@@ -28,7 +29,7 @@ function createLink(
2829
category,
2930
icon,
3031
backgroundColor: backgroundColor || '#bae0ff',
31-
iconScale: 0.7,
32+
iconScale: iconScale || 0.7,
3233
tags: [],
3334
order: 0,
3435
createdAt: now,
@@ -42,77 +43,78 @@ function createLink(
4243
*/
4344
export const defaultLinks: Link[] = [
4445
// 主页
45-
createLink('MDN', 'https://developer.mozilla.org/zh-CN/', '面向 Web 开发者的技术文档', '主页', 'https://cdn.simpleicons.org/mdnwebdocs/ffffff', '#000000'),
46-
createLink('Github', 'https://github.com', '全球最大的代码托管平台', '主页', 'https://cdn.simpleicons.org/github/ffffff', '#181717'),
46+
createLink('MDN', 'https://developer.mozilla.org/zh-CN/', '面向 Web 开发者的技术文档', '主页', 'https://cdn.simpleicons.org/mdnwebdocs/ffffff', '#000000', 0.5),
4747
createLink('唯知主页', 'https://weizwz.com', '分享编码世界,拥抱现代科技生活', '主页', 'https://p.weizwz.com/home_white_0e91e04b62808beb.webp', '#1890ff'),
48-
createLink('码云', 'https://gitee.com', '代码托管和研发协作平台', '主页', 'https://favicon.im/gitee.com?larger=true', '#d90213'),
49-
createLink('Stack Overflow', 'https://stackoverflow.com', '全球最大的技术问答网站', '主页', 'https://favicon.im/stackoverflow.com?larger=true', '#ffe7ba'),
50-
createLink('唯知笔记', 'https://note.weizwz.com/', '探索知识的无限可能', '主页', 'https://favicon.im/note.weizwz.com?larger=true', '#4096ff33'),
51-
createLink('Vercel', 'https://vercel.com', '网站部署和托管平台', '主页', 'https://cdn.simpleicons.org/vercel/ffffff', '#000000'),
52-
createLink('Netlify', 'https://www.netlify.com', '静态网站托管平台', '主页', 'https://cdn.simpleicons.org/netlify/ffffff', '#00c7b7'),
48+
createLink('码云', 'https://gitee.com', '代码托管和研发协作平台', '主页', 'https://cdn.simpleicons.org/gitee/ffffff', '#c71d23'),
49+
createLink('Stack Overflow', 'https://stackoverflow.com', '全球最大的技术问答网站', '主页', 'https://cdn.simpleicons.org/stackoverflow/ffffff', '#f58025', 0.6),
5350
createLink('微信网页版', 'https://wx.qq.com', '使用手机微信扫码登录', '主页', 'https://api.iconify.design/ant-design/wechat-filled.svg?color=%23ffffff', '#08c15f'),
54-
createLink('QQ邮箱', 'https://mail.qq.com', '腾讯提供的高效稳定便捷的电子邮件服务', '主页', 'https://favicon.im/mail.qq.com?larger=true', '#ffffff'),
5551
createLink('Gmail', 'https://mail.google.com/', 'Google提供的免费电子邮件服务', '主页', 'https://favicon.im/mail.google.com?larger=true', '#ffffff'),
56-
createLink('163邮箱', 'https://mail.163.com', '中文邮箱第一品牌', '主页', 'https://favicon.im/mail.163.com?larger=true', '#ff040033'),
52+
createLink('Github', 'https://github.com', '全球最大的代码托管平台', '主页', 'https://cdn.simpleicons.org/github/ffffff', '#181717', 0.6),
53+
createLink('唯知笔记', 'https://note.weizwz.com/', '探索知识的无限可能', '主页', 'https://p.weizwz.com/logo_white.svg?', '#1890ff'),
54+
createLink('163邮箱', 'https://mail.163.com', '中文邮箱第一品牌', '主页', 'https://api.iconify.design/arcticons/netease-mail.svg?color=%23ffffff', '#db0716'),
55+
createLink('Cloudflare', 'https://dash.cloudflare.com', '一站式配置和托管网站', '主页', 'https://cdn.simpleicons.org/cloudflare/ffffff', '#f38020'),
56+
createLink('Netlify', 'https://www.netlify.com', '静态网站托管平台', '主页', 'https://cdn.simpleicons.org/netlify/ffffff', '#00c7b7', 0.6),
57+
createLink('QQ邮箱', 'https://mail.qq.com', '腾讯提供的高效稳定便捷的电子邮件服务', '主页', 'https://favicon.im/mail.qq.com?larger=true', '#ffffff'),
58+
createLink('Vercel', 'https://vercel.com', '网站部署和托管平台', '主页', 'https://cdn.simpleicons.org/vercel/ffffff', '#000000', 0.5),
59+
createLink('百度网盘', 'https://pan.baidu.com', '提供文件的网络备份、同步和分享服务', '主页', 'https://api.iconify.design/arcticons/baidu-netdisk.svg?color=%23ffffff', '#237bfe'),
60+
createLink('youtube', 'https://www.youtube.com', '全球最大的在线视频分享平台', '主页', 'https://cdn.simpleicons.org/youtube/ffffff', '#ff0000', 0.6),
61+
createLink('ES6', 'https://es6.ruanyifeng.com/', '阮一峰 ES6 入门教程', '主页', 'https://cdn.simpleicons.org/javascript/ffffff', '#ffc53d', 0.6),
62+
createLink('语雀', 'https://www.yuque.com', '优雅高效的在线文档编辑与协同工具', '主页', 'https://favicon.im/www.yuque.com?larger=true', '#4bce75'),
5763
createLink('通义', 'https://www.tongyi.com', '你的超级个人助理', '主页', 'https://favicon.im/www.tongyi.com?larger=true', '#ffffff'),
58-
createLink('语雀', 'https://www.yuque.com', '优雅高效的在线文档编辑与协同工具', '主页', 'https://favicon.im/www.yuque.com?larger=true', '#ebfbf3'),
59-
createLink('飞书文档', 'https://docs.feishu.cn/', '一站式企业沟通与协作平台', '主页', 'https://favicon.im/docs.feishu.cn?larger=true', '#eef7fb'),
60-
createLink('百度网盘', 'https://pan.baidu.com', '提供文件的网络备份、同步和分享服务', '主页', 'https://pan.baidu.com/box-static/disk-theme/theme/white/img/[email protected]', '#ffffff'),
61-
createLink('今日头条', 'https://www.toutiao.com', '今日头条为您推荐有价值的、个性化的信息', '主页', 'https://favicon.im/www.toutiao.com?larger=true', '#ffffff'),
62-
createLink('夸克网盘', 'https://pan.quark.cn', '夸克浏览器推出的一款云服务产品', '主页', 'https://favicon.im/pan.quark.cn?larger=true', '#ffffff'),
64+
createLink('Next.js', 'https://nextjs.org', '用于 Web 的 React 框架', '主页', 'https://cdn.simpleicons.org/nextdotjs/ffffff', '#000000', 0.6),
65+
createLink('飞书文档', 'https://docs.feishu.cn/', '一站式企业沟通与协作平台', '主页', 'https://favicon.im/docs.feishu.cn?larger=true', '#bae0ff'),
66+
createLink('网易云音乐', 'https://music.163.com', '一款专注于发现与分享的音乐产品', '主页', 'https://cdn.simpleicons.org/neteasecloudmusic/ffffff', '#fc4a47'),
67+
createLink('夸克网盘', 'https://pan.quark.cn', '夸克浏览器推出的一款云服务产品,功能包括云存储、高清看剧、文件在线解压、PDF一键转换等', '主页', 'https://favicon.im/pan.quark.cn?larger=true', '#ffffff'),
6368

6469
// 技术框架
65-
createLink('Vite', 'https://cn.vitejs.dev/guide/', '下一代的前端工具链', '技术框架', 'https://favicon.im/cn.vitejs.dev?larger=true', '#ffffff'),
66-
createLink('Vue', 'https://cn.vuejs.org', '渐进式 JavaScript 框架', '技术框架', 'https://cdn.simpleicons.org/vuedotjs/ffffff', '#4fc08d'),
67-
createLink('React', 'https://zh-hans.reactjs.org', '用于构建用户界面的 JavaScript 库', '技术框架', 'https://cdn.simpleicons.org/react/ffffff', '#61dafb'),
68-
createLink('Next.js', 'https://nextjs.org', '用于 Web 的 React 框架', '技术框架', 'https://cdn.simpleicons.org/nextdotjs/ffffff', '#000000'),
69-
createLink('Nuxt.js', 'https://nuxt.com', '基于 Vue.js 的通用应用框架', '技术框架', 'https://cdn.simpleicons.org/nuxt/ffffff', '#00dc82'),
70-
createLink('微信官方文档', 'https://developers.weixin.qq.com/miniprogram/dev/framework/', '微信开发者文档', '技术框架', 'https://favicon.im/developers.weixin.qq.com?larger=true', '#ffffff'),
71-
createLink('Node.js', 'https://nodejs.org/zh-cn', '基于 Chrome V8 引擎的 JavaScript 运行环境', '技术框架', 'https://cdn.simpleicons.org/nodedotjs/ffffff', '#5fa04e'),
72-
createLink('NPM', 'https://www.npmjs.com', '世界上最大的包管理器', '技术框架', 'https://favicon.im/www.npmjs.com?larger=true', '#cb0200'),
73-
createLink('ES6', 'https://es6.ruanyifeng.com/', '阮一峰 ES6 入门教程', '技术框架', 'https://cdn.simpleicons.org/javascript/ffffff', '#f7df1e'),
74-
createLink('TypeScript', 'https://www.tslang.cn/docs/handbook/basic-types.html', 'TypeScript是 JS 类型的超集', '技术框架', 'https://cdn.simpleicons.org/typescript/ffffff', '#3178c6'),
75-
createLink('Express', 'https://expressjs.com', '快速、开放、极简的 Web 开发框架', '技术框架', 'https://cdn.simpleicons.org/express/ffffff', '#000000'),
76-
createLink('Nest.js', 'https://docs.nestjs.cn', '渐进式 Node.js 框架', '技术框架', 'https://cdn.simpleicons.org/nestjs/ffffff', '#e0234e'),
77-
createLink('Ant Design', 'https://ant.design', '企业级 UI 设计语言和 React 组件库', '技术框架', 'https://favicon.im/ant.design?larger=true', '#bae0ff'),
78-
createLink('Element Plus', 'https://element-plus.org', '基于 Vue 3 的组件库', '技术框架', 'https://api.iconify.design/ep/element-plus.svg?color=%23ffffff', '#409eff'),
79-
createLink('TailwindCSS', 'https://www.tailwindcss.cn', '功能类优先的 CSS 框架', '技术框架', 'https://cdn.simpleicons.org/tailwindcss/ffffff', '#16bcff'),
70+
createLink('Vite', 'https://cn.vitejs.dev/guide/', '下一代的前端工具链', '技术框架', 'https://favicon.im/cn.vitejs.dev?larger=true', '#ffffff', 0.6),
71+
createLink('Vue', 'https://cn.vuejs.org', '渐进式 JavaScript 框架', '技术框架', 'https://cdn.simpleicons.org/vuedotjs/ffffff', '#4fc08d', 0.6),
72+
createLink('React', 'https://zh-hans.reactjs.org', '用于构建用户界面的 JavaScript 库', '技术框架', 'https://cdn.simpleicons.org/react/ffffff', '#61dafb', 0.6),
73+
createLink('Nuxt.js', 'https://nuxt.com', '基于 Vue.js 的通用应用框架', '技术框架', 'https://cdn.simpleicons.org/nuxt/ffffff', '#00dc82', 0.6),
74+
createLink('微信官方文档', 'https://developers.weixin.qq.com/miniprogram/dev/framework/', '微信开发者文档', '技术框架', 'https://favicon.im/developers.weixin.qq.com?larger=true', '#ffffff', 0.6),
75+
createLink('Node.js', 'https://nodejs.org/zh-cn', '基于 Chrome V8 引擎的 JavaScript 运行环境', '技术框架', 'https://cdn.simpleicons.org/nodedotjs/ffffff', '#5fa04e', 0.6),
76+
createLink('NPM', 'https://www.npmjs.com', '世界上最大的包管理器', '技术框架', 'https://favicon.im/www.npmjs.com?larger=true', '#cb0200', 0.8),
77+
createLink('TypeScript', 'https://www.tslang.cn/docs/handbook/basic-types.html', 'TypeScript是 JS 类型的超集', '技术框架', 'https://cdn.simpleicons.org/typescript/ffffff', '#3178c6', 0.6),
78+
createLink('Express', 'https://expressjs.com', '快速、开放、极简的 Web 开发框架', '技术框架', 'https://cdn.simpleicons.org/express/ffffff', '#000000', 0.6),
79+
createLink('Nest.js', 'https://docs.nestjs.cn', '渐进式 Node.js 框架', '技术框架', 'https://cdn.simpleicons.org/nestjs/ffffff', '#e0234e', 0.6),
80+
createLink('Ant Design', 'https://ant.design', '企业级 UI 设计语言和 React 组件库', '技术框架', 'https://favicon.im/ant.design?larger=true', '#bae0ff', 0.6),
81+
createLink('Element Plus', 'https://element-plus.org/zh-CN/component/overview', '基于 Vue 3 的组件库', '技术框架', 'https://api.iconify.design/ep/element-plus.svg?color=%23ffffff', '#409eff'),
82+
createLink('TailwindCSS', 'https://www.tailwindcss.cn', '功能类优先的 CSS 框架', '技术框架', 'https://cdn.simpleicons.org/tailwindcss/ffffff', '#16bcff', 0.6),
8083
createLink('Webpack', 'https://www.webpackjs.com', '现代 JavaScript 应用程序的静态模块打包工具', '技术框架', 'https://www.webpackjs.com/icon_180x180.png', '#8ed5fa'),
81-
createLink('Sass', 'https://sass-lang.com.cn/documentation/', 'Sass官方中文文档', '技术框架', 'https://favicon.im/sass-lang.com.cn?larger=true', '#cc6699'),
84+
createLink('Sass', 'https://sass-lang.com.cn/documentation/', 'Sass官方中文文档\n', '技术框架', 'https://favicon.im/sass-lang.com.cn?larger=true', '#cc6699'),
8285
createLink('VitePress', 'https://vitepress.dev', 'VitePress 是一个静态站点生成器 (SSG)', '技术框架', 'https://cdn.simpleicons.org/vitepress/ffffff', '#5c73e7'),
83-
createLink('ECharts', 'https://echarts.apache.org/zh/api.html#echarts', '最流行的基于 JS 的数据可视化图表库', '技术框架', 'https://favicon.im/echarts.apache.org?larger=true', '#aa314d'),
84-
createLink('pnpm', 'https://www.pnpm.cn/installation', '速度快、节省磁盘空间的软件包管理器', '技术框架', 'https://cdn.simpleicons.org/pnpm/ffffff', '#f69220'),
86+
createLink('ECharts', 'https://echarts.apache.org/zh/api.html#echarts', '最流行的基于 JS 的数据可视化图表库', '技术框架', 'https://favicon.im/echarts.apache.org?larger=true', '#aa314d', 0.8),
87+
createLink('pnpm', 'https://www.pnpm.cn/installation', '速度快、节省磁盘空间的软件包管理器', '技术框架', 'https://cdn.simpleicons.org/pnpm/ffffff', '#f69220', 0.6),
8588
createLink('uni-app', 'https://uniapp.dcloud.net.cn/', '一个使用 Vue.js 开发所有前端应用的框架', '技术框架', 'https://favicon.im/uniapp.dcloud.net.cn?larger=true', '#2b9939'),
86-
createLink('shadcn/ui', 'https://ui.shadcn.com/docs/installation', 'shadcn/ui 是一组设计精美、易于访问的组件和代码分发平台', '技术框架', 'https://favicon.im/ui.shadcn.com?larger=true', '#000000'),
87-
createLink('iconfont', 'https://www.iconfont.cn/', '流行的矢量图标库', '技术框架', 'https://favicon.im/www.iconfont.cn?larger=true', '#000000'),
89+
createLink('shadcn/ui', 'https://ui.shadcn.com/docs/installation', 'shadcn/ui 是一组设计精美、易于访问的组件和代码分发平台', '技术框架', 'https://favicon.im/ui.shadcn.com?larger=true', '#000000', 0.8),
90+
createLink('iconfont', 'https://www.iconfont.cn/', '流行的矢量图标库', '技术框架', 'https://favicon.im/www.iconfont.cn?larger=true', '#000000', 0.6),
8891

8992
// 工具软件
90-
createLink('ThisCover', 'https://cover.weizwz.com/', '一个免费、漂亮的封面生成器', '工具软件', 'https://p.weizwz.com/cover/cover_full_441653186ab35580.webp', '#4c38da'),
93+
createLink('ThisCover', 'https://cover.weizwz.com/', '一个免费、漂亮的封面生成器', '工具软件', 'https://p.weizwz.com/cover/cover_full_441653186ab35580.webp', '#4c38da', 1.0),
9194
createLink('Can I use', 'https://caniuse.com', '前端 API 兼容性查询', '工具软件', 'https://caniuse.com/img/favicon-128.png', '#f2e8d4'),
92-
createLink('TinyPNG', 'https://tinypng.com', '在线图片压缩工具', '工具软件', 'https://tinypng.com/images/apple-touch-icon.png', '#ffffff'),
93-
createLink('在线工具', 'https://tool.lu/tool', '开发人员的工具箱', '工具软件', 'https://tool.lu/favicon.ico', '#019a61'),
95+
createLink('TinyPNG', 'https://tinypng.com', '在线图片压缩工具', '工具软件', 'https://tinypng.com/images/apple-touch-icon.png', '#ffffff', 0.6),
96+
createLink('在线工具', 'https://tool.lu/tool', '开发人员的工具箱', '工具软件', 'https://tool.lu/favicon.ico', '#019a61', 0.6),
9497
createLink('ProcessOn', 'https://processon.com/', '免费在线流程图思维导图', '工具软件', 'https://processon.com/favicon.ico', '#1f7bef'),
9598
createLink('Json 中文网', 'https://www.json.cn', 'JSON 在线解析及格式化验证', '工具软件', 'https://api.iconify.design/tabler/json.svg?color=%23ffffff', '#0fd59d'),
9699
createLink('transform', 'https://transform.tools', '各类数据格式与对象转换', '工具软件', 'https://favicon.im/transform.tools?larger=true', '#2091ff'),
97-
createLink('AST Explorer', 'https://astexplorer.net/', '探索由各种解析器生成的 AST 语法树', '工具软件', 'https://favicon.im/astexplorer.net?larger=true', '#bae0ff'),
98-
createLink('Apifox', 'https://www.apifox.cn/', 'API 文档、调试、Mock、自动化测试', '工具软件', 'https://api.iconify.design/simple-icons/apifox.svg?color=%23ffffff', '#fe4b6e'),
100+
createLink('AST Explorer', 'https://astexplorer.net/', '探索由各种解析器生成的 AST 语法树', '工具软件', 'https://favicon.im/astexplorer.net?larger=true', '#bae0ff', 0.6),
101+
createLink('Apifox', 'https://www.apifox.cn/', 'API 文档、调试、Mock、自动化测试', '工具软件', 'https://api.iconify.design/simple-icons/apifox.svg?color=%23ffffff', '#fe4b6e', 0.6),
99102
createLink('Hoppscotch', 'https://hoppscotch.io/', '开源 API 开发生态系统', '工具软件', 'https://api.iconify.design/simple-icons/hoppscotch.svg?color=%23ffffff', '#10b981'),
100-
createLink('Postman', 'https://www.postman.com/', 'API 开发协作平台', '工具软件', 'https://cdn.simpleicons.org/postman/ffffff', '#ff6c37'),
101-
createLink('Swagger', 'https://swagger.io/', 'API 文档和设计工具', '工具软件', 'https://cdn.simpleicons.org/swagger/ffffff', '#85ea2d'),
103+
createLink('Postman', 'https://www.postman.com/', 'API 开发协作平台', '工具软件', 'https://cdn.simpleicons.org/postman/ffffff', '#ff6c37', 0.6),
104+
createLink('Swagger', 'https://swagger.io/', 'API 文档和设计工具', '工具软件', 'https://cdn.simpleicons.org/swagger/ffffff', '#85ea2d', 0.6),
102105

103106
// 社区论坛
104107
createLink('稀土掘金', 'https://juejin.cn', '面向全球中文开发者的技术内容分享与交流平台', '社区论坛', 'https://cdn.simpleicons.org/juejin/ffffff', '#007fff'),
105-
createLink('V2EX', 'https://www.v2ex.com', '创意工作者们的社区', '社区论坛', 'https://cdn.simpleicons.org/v2ex/ffffff', '#000000'),
108+
createLink('V2EX', 'https://www.v2ex.com', '创意工作者们的社区', '社区论坛', 'https://cdn.simpleicons.org/v2ex/ffffff', '#000000', 0.6),
106109
createLink('SegmentFault', 'https://segmentfault.com', '技术问答开发者社区', '社区论坛', 'https://favicon.im/segmentfault.com?larger=true', '#019a61'),
107110
createLink('博客园', 'https://www.cnblogs.com', '开发者的网上家园', '社区论坛', undefined, '#bae0ff'),
108-
createLink('知乎', 'https://zhihu.com', '中文互联网高质量的问答社区', '社区论坛', 'https://favicon.im/zhihu.com?larger=true', '#bae0ff'),
111+
createLink('知乎', 'https://zhihu.com', '中文互联网高质量的问答社区', '社区论坛', 'https://favicon.im/zhihu.com?larger=true', '#bae0ff', 1.0),
109112
createLink('远景论坛', 'https://www.pcbeta.com/', '微软极客社区', '社区论坛', 'https://favicon.im/www.pcbeta.com?larger=true', '#1a85db'),
110113
createLink('小红书', 'https://www.xiaohongshu.com', '一个年轻生活方式分享平台', '社区论坛', 'https://cdn.simpleicons.org/xiaohongshu/ffffff', '#ff2341'),
111-
createLink('BOSS直聘', 'https://www.zhipin.com', '权威领先的招聘网,开启人才网招聘求职新时代', '社区论坛', 'https://api.iconify.design/arcticons/boss-zhipin.svg?color=%23ffffff', '#5dd5c6'),
114+
createLink('今日头条', 'https://www.toutiao.com', '今日头条为您推荐有价值的、个性化的信息', '社区论坛', 'https://favicon.im/www.toutiao.com?larger=true', '#ffffff'),
115+
createLink('BOSS直聘', 'https://www.zhipin.com', '权威领先的招聘网,开启人才网招聘求职新时代', '社区论坛', 'https://api.iconify.design/arcticons/boss-zhipin.svg?color=%23ffffff', '#5dd5c6', 0.8),
112116

113117
// 影音视听
114-
createLink('youtube', 'https://www.youtube.com', '全球最大的在线视频分享平台', '影音视听', 'https://cdn.simpleicons.org/youtube/ffffff', '#ff0000'),
115-
createLink('网易云音乐', 'https://music.163.com', '一款专注于发现与分享的音乐产品', '影音视听', 'https://cdn.simpleicons.org/neteasecloudmusic/ffffff', '#fc4a47'),
116118
createLink('哔哩哔哩', 'https://www.bilibili.com', '国内知名的视频弹幕网站', '影音视听', 'https://cdn.simpleicons.org/bilibili/ffffff', '#13aeec'),
117119
createLink('直播吧', 'https://www.zhibo8.cc', '知名体育平台', '影音视听', 'https://favicon.im/www.zhibo8.cc?larger=true', '#2e9fff'),
118120
createLink('爱奇艺', 'https://www.iqiyi.com', '大型视频网站,专业的网络视频播放平台', '影音视听', 'https://api.iconify.design/arcticons/iqiyi.svg?color=%23ffffff', '#479f06'),

0 commit comments

Comments
 (0)