Skip to content

Commit

Permalink
fix(dayjs): update dayjs import to use ES module version.
Browse files Browse the repository at this point in the history
  • Loading branch information
Theo-Messi committed Jan 2, 2025
1 parent bf5c8c0 commit 9a12bd8
Show file tree
Hide file tree
Showing 15 changed files with 146 additions and 94 deletions.
20 changes: 10 additions & 10 deletions .vitepress/data/AsideData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { AsideItem } from '@theojs/lumen'
export const Aside_Data: AsideItem[] = [
{
link: 'https://qytcc01.qingyunti.pro/register?aff=jjgD79Jd',
icon: 'https://www.qingyunti.cc/images/qytlogo-144-49.png',
image: 'https://www.qingyunti.cc/images/qytlogo-144-49.png',
activity: '青云梯 四周年双旦特惠',
info1:
'月付 85折 优惠码 <span style="color: var(--vp-c-brand-3)"> qyt85 </span>',
Expand All @@ -12,7 +12,7 @@ export const Aside_Data: AsideItem[] = [
},
{
link: 'https://fbinv02.fbaff.cc/auth/register?code=RZP3',
icon: 'https://i.theojs.cn/docs/202409111237242.png',
image: 'https://i.theojs.cn/docs/202409111237242.png',
activity: 'FlyingBird 双旦活动开启',
info1:
'月付 85折 优惠码 <span style="color: var(--vp-c-brand-3)"> 122485 </span>',
Expand All @@ -21,42 +21,42 @@ export const Aside_Data: AsideItem[] = [
},
// {
// link: 'https://feitu.im/index.html?register=2cFF8mg4',
// icon: 'https://飞兔.com/img/logo.png',
// image: 'https://飞兔.com/img/logo.png',
// activity: '飞兔云 双11 狂欢来袭!',
// info1:
// '全场<span style="color: var(--vp-c-brand-3)"> 88 </span>折!全场<span style="color: var(--vp-c-brand-3)"> 88 </span>折!',
// info2:
// '优惠码 <span style="color: var(--vp-c-brand-3)"> 1111@88 </span>全场打折'
// info2: '优惠码 <span style="color: var(--vp-c-brand-3)"> 1111@88 </span>全场打折'
// },
{
link: 'https://github.com/sponsors/Theo-Messi',
icon: 'https://doc.theojs.cn/爱心.png',
icon: 'twemoji:red-heart',
name: '赞助我的项目'
},
{
link: 'https://github.com/Theo-Messi/lumen',
icon: 'https://lumen.theojs.cn/Logo.png',
image: 'https://lumen.theojs.cn/Logo.png',
name: '@theojs/Lumen',
hide1: '集成 Vue 功能组件',
hide2: 'VitePress 主题美化'
},
{
link: 'https://xx.theojs.cn/',
icon: 'https://i.theojs.cn/avatar.png',
image: 'https://i.theojs.cn/avatar.png',
name: '玄学宝典',
hide1: '传世经典著作',
hide2: '山医命相卜'
},
{
link: '/serve/sharing/account-sharing-guide',
icon: 'https://cdn.iconscout.com/icon/free/png-256/free-netflix-2296042-1912001.png',
icon: 'cbi:netflix-alt',
color: '#E50914',
name: '流媒体帐号合租',
hide1: '流媒体账号合租',
hide2: '共享车位'
},
{
link: 'https://github.com/Theo-Messi/dotfiles',
icon: 'https://img.icons8.com/?size=400&id=nuPce-GYYZeC&format=png&color=000000',
icon: 'eos-icons:configuration-file',
name: '常用配置 - dotfiles',
hide1: 'zshrc、系统优化一键脚本',
hide2: 'Clash/Loon/QX... 配置'
Expand Down
2 changes: 1 addition & 1 deletion content/asus/fancyss.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ RT-AX86U、GT-AX6000 等 armv8 机型(见上表),从 3.0.6 开始建议安
插件下载有两种方式:

1.`packages` 目录下,点击 tar.gz 后缀文件,下载当前最新版本的离线安装包
2. 在 <Pill name="fancyss_history_package" link="https://github.com/hq450/fancyss_history_package" :image="{ light: 'https://i.theojs.cn/logo/github.svg', dark: 'https://i.theojs.cn/logo/github-dark.svg' }" /> 项目中,包含**历史版本****最新版本**的离线安装包
2. 在 <Pill name="fancyss_history_package" link="https://github.com/hq450/fancyss_history_package" :icon="{ light: 'skill-icons:github-dark', dark: 'skill-icons:github-light', }" /> 项目中,包含**历史版本****最新版本**的离线安装包

插件离线包下载导航:

Expand Down
2 changes: 1 addition & 1 deletion content/asus/flashing-prerequisites.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ head:

## G 版梅林固件

另外一位开发者:**gnuton 大神** <Pill name="G版梅林固件源码" link="https://github.com/gnuton/asuswrt-merlin.ng" :image="{ light: 'https://i.theojs.cn/logo/github.svg', dark: 'https://i.theojs.cn/logo/github-dark.svg' }" />,在原版梅林代码的基础上,添加了更多机型的支持,最开始注意到他的项目是因为他做了 DSL-AX82U 的梅林固件。
另外一位开发者:**gnuton 大神** <Pill name="G版梅林固件源码" link="https://github.com/gnuton/asuswrt-merlin.ng" :icon="{ light: 'skill-icons:github-dark', dark: 'skill-icons:github-light', }" />,在原版梅林代码的基础上,添加了更多机型的支持,最开始注意到他的项目是因为他做了 DSL-AX82U 的梅林固件。

后来 gnuton 大神在源代码和硬件上都得到了华硕的进一步支持。所以又相继做了 TUF-AX5400、RT-AX82U、ZenWiFi_XT8 的梅林固件,相对于原版梅林固件,这里我愿意称之为 **G 版梅林固件**

Expand Down
2 changes: 1 addition & 1 deletion content/esxi/install/windows11.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ head:
---

<Links :items="[
{ name: '官网下载 Windows 11', icon:'logos:microsoft-windows-icon', color:'#0078D6', link: 'https://www.microsoft.com/zh-cn/software-download/windows11' },
{ name: '官网下载 Windows 11', icon:'logos:microsoft-windows-icon', link: 'https://www.microsoft.com/zh-cn/software-download/windows11' },
]" />

## 选择创建新的虚拟机
Expand Down
6 changes: 2 additions & 4 deletions content/esxi/openwrt/istore-plugin-package.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@ head:

## iStore插件包

<Box :items="[
{ name: 'iStore插件包',link: 'https://github.com/AUK9527/Are-u-ok/tree/main/apps', image: 'https://i.theojs.cn/logo/istoreos.png', tag: 'ARM 平台' },
{ name: 'iStore插件包',link: 'https://github.com/AUK9527/Are-u-ok/tree/main/x86', image: 'https://i.theojs.cn/logo/istoreos.png', tag: 'x86_64平台' }
]"/>
<Pill name="ARM 平台" link="https://github.com/AUK9527/Are-u-ok/tree/main/apps" image="https://i.theojs.cn/logo/istoreos.png" />
<Pill name="x86_64平台" link="https://github.com/AUK9527/Are-u-ok/tree/main/x86" image="https://i.theojs.cn/logo/istoreos.png" />

## 常用代理软件包

Expand Down
56 changes: 49 additions & 7 deletions content/fe/md.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,18 @@ head:
:items="[
//iconify图标
{ name: 'iconify', link: '#', icon: 'line-md:iconify2-static', color: '#1769AA' },
//深浅模式的iconify图标
{
name: 'Chrome',
link: '#',
icon: { light: 'mdi:google-chrome', dark: 'mdi:google-chrome' },
color: { light: '#161614', dark: '#f4f2ed' }
},
{
name: 'Vite js',
link: '#',
icon: { light: 'skill-icons:vite-light', dark: 'skill-icons:vite-dark' }
},
//图片
{
name: '支付宝',
Expand All @@ -30,19 +42,30 @@ head:
---

<Pill name="Iconify" link="#" icon="line-md:iconify2-static" color="#1769AA" />
<Pill name="支付宝" link="https://i.theojs.cn/docs/202405201752089.jpg" image="https://i.theojs.cn/logo/alipay.svg" />
<Pill
name="GitHub"
link="#"
:image="{ light: 'https://i.theojs.cn/logo/github.svg', dark: 'https://i.theojs.cn/logo/github-dark.svg' }"
/>
<Pill name="Chrome" link="#" :icon="{ light: 'mdi:google-chrome', dark: 'mdi:google-chrome' }" :color="{ light: '#161614', dark: '#f4f2ed' }" />
<Pill name="Vite js" link="#" :icon="{ light: 'skill-icons:vite-light', dark: 'skill-icons:vite-dark' }" />
<Pill name="支付宝" link="https://i.theojs.cn/docs/202405201752089.jpg" image="https://i.theojs.cn/logo/alipay.svg" />
<Pill name="GitHub" link="#" :image="{ light: 'https://i.theojs.cn/logo/github.svg', dark: 'https://i.theojs.cn/logo/github-dark.svg' }" />
<Pill name="Vue" link="#" icon="vscode-icons:file-type-vue" />

---

<Links
:items="[
//iconify图标
// iconify图标
{ name: 'iconify', link: '#', icon: 'line-md:iconify2-static', color: '#1769AA' },
//深浅模式的iconify图标
{
name: 'Chrome',
link: '#',
icon: { light: 'mdi:google-chrome', dark: 'mdi:google-chrome' },
color: { light: '#161614', dark: '#f4f2ed' }
},
{
name: 'Vite js',
link: '#',
icon: { light: 'skill-icons:vite-light', dark: 'skill-icons:vite-dark' }
},
//图片
{
name: '支付宝',
Expand All @@ -55,6 +78,13 @@ head:
link: '#',
image: { light: 'https://i.theojs.cn/logo/github.svg', dark: 'https://i.theojs.cn/logo/github-dark.svg' }
},
// 使用图标 + 描述
{
name: 'VitePress',
link: 'https://www.google.com',
image: 'https://vitepress.dev/vitepress-logo-large.webp',
desc: 'VitePress 是一个由 Vue 团队开发的静态网站生成器,基于 Vite 和 Vue 3,专注于文档、博客和轻量网站的构建。它支持 Markdown 和 Vue 组件,提供简洁的默认主题和灵活的自定义能力,适合快速创建高性能的技术文档和个人博客。'
},
// 不使用图标 + 描述
{ name: 'Google', link: 'https://www.google.com', desc: '全球最大的搜索引擎' }
]"
Expand All @@ -66,6 +96,18 @@ head:
:items="[
//iconify图标
{ name: 'iconify', link: '#', icon: 'line-md:iconify2-static', color: '#1769AA' },
//深浅模式的iconify图标
{
name: 'Chrome',
link: '#',
icon: { light: 'mdi:google-chrome', dark: 'mdi:google-chrome' },
color: { light: '#161614', dark: '#f4f2ed' }
},
{
name: 'Vite js',
link: '#',
icon: { light: 'skill-icons:vite-light', dark: 'skill-icons:vite-dark' }
},
//图片
{
name: '支付宝',
Expand Down
6 changes: 5 additions & 1 deletion content/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ hero:
alt: home

prelink:
title: '🎉 活动不停歇,青云梯四周年双旦特惠 </br>· 月/季/半年付85折 优惠码<span style="color: var(--vp-c-brand-3); font-weight: bold;"> qyt85 </span></br>· 年付以及年付以上8折 优惠码<span style="color: var(--vp-c-brand-3); font-weight: bold;"> qyt80</span></br>· 年付8折/2年付7折/3年付6折 配合优惠码折上折,最高可达<span style="color: var(--vp-c-brand-3); font-weight: bold;">48</span>折<div><iconify-icon icon="eos-icons:hourglass" style="font-size: 1rem;"></iconify-icon> 活动时间: 即日至 <span style="color: var(--vp-c-brand-3); font-weight: bold;">2025年1月7日23点59分</span></div>'
title: '🎉 活动不停歇,青云梯四周年双旦特惠'
content: '· 月/季/半年付85折 优惠码<span style="color: var(--vp-c-brand-3); font-weight: bold;"> qyt85 </span></br>· 年付以及年付以上8折 优惠码<span style="color: var(--vp-c-brand-3); font-weight: bold;"> qyt80</span></br>· 年付8折/2年付7折/3年付6折 配合优惠码折上折,最高可达<span style="color: var(--vp-c-brand-3); font-weight: bold;"> 48 </span>折'
date: '2025年1月7日23时59分'
# dateIcon: 'mdi:calendar-star'
# dateText: '活动截止日期'
link: https://qytcc01.qingyunti.pro/register?aff=jjgD79Jd
target: _blank

Expand Down
4 changes: 2 additions & 2 deletions content/notes/build-picture-bed.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ head:

## 准备工作

<Pill name="注册 Github 账号" link="https://github.com/" :image="{ light: 'https://i.theojs.cn/logo/github.svg', dark: 'https://i.theojs.cn/logo/github-dark.svg' }" />
<Pill name="注册 Github 账号" link="https://github.com/" :icon="{ light: 'skill-icons:github-dark', dark: 'skill-icons:github-light', }" />
<Pill name="下载 PicGo" link="https://molunerfinn.com/PicGo/" image="https://molunerfinn.com/PicGo/imgs/256x256--icons.png" />

## 创建新仓库
Expand Down Expand Up @@ -131,7 +131,7 @@ jobs:

## Vercel/Netlify 加速访问(二选一)

**使用 GitHub 账户登陆** <Pill name="Vercel" link="https://vercel.com/" icon="logos:vercel-icon" />
**使用 GitHub 账户登陆** <Pill name="Vercel" link="https://vercel.com/" :icon="{ light: 'skill-icons:vercel-dark', dark: 'skill-icons:vercel-light' }" />

![PicGo](https://i.theojs.cn/docs/20240102212030.png '添加项目')

Expand Down
9 changes: 3 additions & 6 deletions content/streaming/netflix-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,8 @@ Chrome、Firefox 等浏览器默认最高支持到 720P,不过你可以通过

硬件:最低安卓 5.0 系统以上的手机,基本都可以正常使用奈飞 APP。

软件:在 Google Play 搜索 `Netflix` 并下载即可

<Links :items="[
{ name: '在 APKPURE 上下载最新版 Netflix APK', image:'https://i.theojs.cn/logo/netflix.svg',link: 'https://apkpure.com/netflix/com.netflix.mediaclient' },
]" />
软件:
<Pill name="在 Google Play 搜索 Netflix 并下载即可" link="https://play.google.com/store/search?q=netflix&c=apps&hl=zh" icon="logos:google-play-icon" /> 或者 <Pill name="在 APKPURE 上下载最新版 Netflix APK" link="https://apkpure.com/netflix/com.netflix.mediaclient" icon="arcticons:apkpure" />

### Windows 10/11 PC 电脑(最高支持 4K)

Expand Down Expand Up @@ -219,7 +216,7 @@ Netflix 与国内的爱奇艺、优酷、腾讯视频等平台有着“天壤之

- 你的播放设备支持 4K(Mac 笔记本最高支持 4K ,Win 笔记 Edge 浏览器支持 1080P )

- 网速要足够快,建议最低 25Mbps,推荐使用 [fast.com](https://fast.com/) 测速(奈飞自家的测速网站)
- 网速要足够快,建议最低 25Mbps,推荐使用 <Pill name="fast.com" link="https://fast.com/" icon="arcticons:fast" color="#E50914" /> 测速(奈飞自家的测速网站)

### 用 Netflix 看视频每小时要消耗多少流量

Expand Down
3 changes: 2 additions & 1 deletion content/vps/serve/install-1panel.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ curl -sSL https://resource.fit2cloud.com/1panel/package/quick_start.sh -o quick_
{
name: '1Panel GitHub release',
desc: '现代化、开源的 Linux 服务器运维管理面板。',
image: 'https://www.1panel.wiki/favicon.png',
icon: 'simple-icons:1panel',
color: '#007BFF',
link: 'https://github.com/1Panel-dev/1Panel/releases'
}
]"
Expand Down
4 changes: 2 additions & 2 deletions content/vps/settings/ubuntu.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ head:
## 系统下载

<Box :items="[
{name: 'Ubuntu', link: 'https://cn.ubuntu.com/download/desktop', icon: 'logos:ubuntu', color: '#dd4814', tag: '24.04 LTS' },
{name: 'Debian',link: 'https://www.debian.org/', icon: 'logos:debian', color: '#a80030', tag: '12.5' }
{name: 'Ubuntu', link: 'https://cn.ubuntu.com/download/desktop', icon:{ light: 'skill-icons:ubuntu-light', dark: 'skill-icons:ubuntu-dark' } },
{name: 'Debian',link: 'https://www.debian.org/', icon:{ light: 'skill-icons:debian-light', dark: 'skill-icons:debian-dark' } }
]"/>

## 开启SSH服务远程登录
Expand Down
5 changes: 1 addition & 4 deletions content/vps/tools/r-bot.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@ head:
:items="[
{
name: 'GitHub 项目地址',
image: {
light: 'https://i.theojs.cn/logo/github.svg',
dark: 'https://i.theojs.cn/logo/github-dark.svg'
},
icon: { light: 'skill-icons:github-dark', dark: 'skill-icons:github-light', },
link: 'https://github.com/semicons/java_oci_manage'
}
]"
Expand Down
5 changes: 1 addition & 4 deletions content/vps/tools/streaming-unlocked.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,7 @@ Netflix CDN 分流测试依赖 DNS 解析。而如果您使用的本地设备开
:items="[
{
name: 'GitHub 项目地址',
image: {
light: 'https://i.theojs.cn/logo/github.svg',
dark: 'https://i.theojs.cn/logo/github-dark.svg'
},
icon: { light: 'skill-icons:github-dark', dark: 'skill-icons:github-light', },
link: 'https://github.com/lmc999/RegionRestrictionCheck'
}
]"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@mdit/plugin-footnote": "^0.14.0",
"@mdit/plugin-img-size": "^0.14.0",
"@mdit/plugin-tasklist": "^0.14.0",
"@theojs/lumen": "^5.2.0",
"@theojs/lumen": "^5.2.1",
"@trivago/prettier-plugin-sort-imports": "^5.2.0",
"lint-staged": "^15.3.0",
"prettier": "3.4.2",
Expand Down
Loading

0 comments on commit 9a12bd8

Please sign in to comment.