From ef69e0536bcfee9f5235eab96d4ea8b5919b53c6 Mon Sep 17 00:00:00 2001 From: Frost-ZX <30585462+Frost-ZX@users.noreply.github.com> Date: Sun, 20 Mar 2022 22:03:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=AF=BC=E8=88=AA=E9=93=BE?= =?UTF-8?q?=E6=8E=A5=E6=95=B0=E6=8D=AE=EF=BC=882022-03-20=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/static/js/frostNavLinks.js | 38 ++++++++++++++++++++----------- 1 file changed, 25 insertions(+), 13 deletions(-) diff --git a/public/static/js/frostNavLinks.js b/public/static/js/frostNavLinks.js index 014fd60..84ae69c 100644 --- a/public/static/js/frostNavLinks.js +++ b/public/static/js/frostNavLinks.js @@ -1,6 +1,23 @@ -// 导航链接数据 +/** + * @typedef {object} LinkItem + * @property {string} [icon] 链接分类图标 + * @property {string} title 链接分类标题 / 链接项标题 + * @property {string} [desc] 链接项简介 + * @property {string} [link] 链接项 URL + * @property {string} [update] 链接项更新日期 + * @property {boolean} [showOnly] 是否只显示详情,不跳转 + * @property {LinkItem[]} [items] 子链接列表 + */ + +/** + * @typedef {object} LinkDatas + * @property {string} version 链接数据版本 + * @property {LinkItem[]} list 链接列表 + */ + +/** @type {LinkDatas} */ var frostNavLinks = { - version: '2022-03-18', + version: '2022-03-20', list: [ { title: '百科 / 教程 / 科普 / 资料', @@ -1393,11 +1410,6 @@ var frostNavLinks = { link: 'https://www.jiumodiary.com/', update: '2021-02-25' }, - { - title: '秘迹搜索', - link: 'https://mijisou.com/', - update: '2021-02-25' - }, { title: '搜狗搜索', link: 'https://www.sogou.com/', @@ -2959,6 +2971,12 @@ var frostNavLinks = { } ] }, + { + title: 'CSSBattle', + desc: 'CSS 代码高尔夫(code-golfing)游戏', + link: 'https://cssbattle.dev/', + update: '2022-03-20' + }, ] }, { @@ -3742,12 +3760,6 @@ var frostNavLinks = { link: 'https://www.amd.com/', update: '2021-06-01' }, - { - title: 'CSSBattle', - desc: 'CSS 代码高尔夫(code-golfing)游戏', - link: 'https://www.nvidia.cn/', - update: '2021-11-14' - }, { title: 'Intel', desc: '数据中心解决方案、物联网和电脑创新',