Compare commits

..

10 Commits

Author SHA1 Message Date
Black-Cyan 9f940fd2a0 添加 Gallery 页面,上传图片;新增文章“记录墨青的第一次三维化” 2026-11-15 21:11:18 +08:00
Black-Cyan 779a3ea27d feat: 添加 rehype-code-group 插件,优化代码块显示与样式,新增友链夜白的小空间 2026-10-16 22:13:46 +08:00
Black-Cyan 6f8fff461b feat: 添加封面图处理功能,支持从 frontmatter 解析绝对 URL,并为 RSS 项目附加封面 2026-10-04 18:55:35 +08:00
Black-Cyan a6f77e77d3 fix: 修正配置文件代码块语法高亮为 ini 2026-09-30 15:33:51 +08:00
Black-Cyan 4dc5ec3173 feat: 添加毛窝友链配置 2026-09-29 19:56:21 +08:00
Black-Cyan 059e269c9c feat: 更新朋友链接配置,添加新链接并修改标签为中文;更新导航栏配置,添加新工具链接;更新 LQIP 配置,添加赞助商图片;删除 Fedora ntfs3 文章及相关图片,新增 Linux ntfs3 文章 2026-09-24 13:51:43 +08:00
Black-Cyan c24c5dbebc feat: add March summary post and sponsor page
- Created a new post summarizing activities in March 2025, including learning SpringBoot and social interactions.
- Added a new sponsor page with support for displaying sponsorship methods, QR codes, and a list of sponsors.
- Implemented comment functionality on the sponsor page, with checks for configuration settings.
- Enhanced layout and styling for better user experience on the sponsor page.
2026-09-03 17:23:00 +08:00
Black-Cyan 7212a01c68 feat: update dependencies and add ntfs3 guide
- Updated dependencies in package.json and pnpm-lock.yaml for @astrojs/cloudflare, @astrojs/markdown-satteri, @astrojs/mdx, and astro.
- Added .gitignore entry for tar.gz files.
- Created a new post on enabling the ntfs3 filesystem driver on Fedora, detailing installation and performance improvements.
- Minor formatting fix in the gauss-jordan-kotlin.md post.
2026-07-24 15:48:28 +08:00
Black-Cyan 687851e2df feat: 更新音乐播放器配置,禁用导航栏显示并调整侧边栏组件启用状态;修正 GitHub 链接格式;更新关于页面个人信息 2026-07-22 22:00:10 +08:00
Black-Cyan c94d8c5c08 feat: 更新桌面背景图片并添加交叉编译文档 2026-07-19 21:57:30 +08:00
64 changed files with 1879 additions and 465 deletions
+6
View File
@@ -22,3 +22,9 @@ pnpm-debug.log*
# jetbrains setting folder # jetbrains setting folder
.idea/ .idea/
# 归档文件
*.tar.gz
# Windows 目录配置文件
desktop.ini
+2
View File
@@ -19,6 +19,7 @@ import mdx from "@astrojs/mdx";
import { pluginCollapsible } from "expressive-code-collapsible"; /* Collapsible */ import { pluginCollapsible } from "expressive-code-collapsible"; /* Collapsible */
import { pluginLanguageBadge } from "expressive-code-language-badge"; /* Language Badge */ import { pluginLanguageBadge } from "expressive-code-language-badge"; /* Language Badge */
import rehypeCallouts from "rehype-callouts"; import rehypeCallouts from "rehype-callouts";
import rehypeCodeGroup from "rehype-code-group";
import rehypeSlug from "rehype-slug"; import rehypeSlug from "rehype-slug";
import remarkAdmonitionToBlockquoteCallout from "remark-admonition-to-blockquote-callout"; import remarkAdmonitionToBlockquoteCallout from "remark-admonition-to-blockquote-callout";
import remarkDirective from "remark-directive"; /* Handle directives */ import remarkDirective from "remark-directive"; /* Handle directives */
@@ -243,6 +244,7 @@ export default defineConfig({
[remarkPlantuml, plantumlConfig], [remarkPlantuml, plantumlConfig],
], ],
rehypePlugins: [ rehypePlugins: [
[rehypeCodeGroup, { assets: "none" }],
[rehypeKatex, { katex }], [rehypeKatex, { katex }],
[rehypeCallouts, { theme: siteConfig.post.rehypeCallouts.theme }], [rehypeCallouts, { theme: siteConfig.post.rehypeCallouts.theme }],
rehypeSlug, rehypeSlug,
+11 -5
View File
@@ -19,10 +19,10 @@
}, },
"dependencies": { "dependencies": {
"@astrojs/check": "^0.9.9", "@astrojs/check": "^0.9.9",
"@astrojs/cloudflare": "^14.1.2", "@astrojs/cloudflare": "^14.1.4",
"@astrojs/markdown-remark": "^7.2.1", "@astrojs/markdown-remark": "^7.2.1",
"@astrojs/markdown-satteri": "^0.3.3", "@astrojs/markdown-satteri": "^0.3.4",
"@astrojs/mdx": "^7.0.2", "@astrojs/mdx": "^7.0.3",
"@astrojs/rss": "^4.0.19", "@astrojs/rss": "^4.0.19",
"@astrojs/sitemap": "^3.7.3", "@astrojs/sitemap": "^3.7.3",
"@astrojs/svelte": "9.0.1", "@astrojs/svelte": "9.0.1",
@@ -42,7 +42,7 @@
"@tailwindcss/typography": "^0.5.20", "@tailwindcss/typography": "^0.5.20",
"@types/hast": "^3.0.4", "@types/hast": "^3.0.4",
"@types/mdast": "^4.0.4", "@types/mdast": "^4.0.4",
"astro": "7.0.7", "astro": "7.1.3",
"astro-expressive-code": "^0.44.0", "astro-expressive-code": "^0.44.0",
"astro-icon": "^1.1.5", "astro-icon": "^1.1.5",
"ci-info": "^4.4.0", "ci-info": "^4.4.0",
@@ -59,6 +59,7 @@
"qrcode": "^1.5.4", "qrcode": "^1.5.4",
"reading-time": "^1.5.0", "reading-time": "^1.5.0",
"rehype-autolink-headings": "^7.1.0", "rehype-autolink-headings": "^7.1.0",
"rehype-code-group": "^1.0.1",
"rehype-components": "^0.3.0", "rehype-components": "^0.3.0",
"rehype-katex": "^7.0.1", "rehype-katex": "^7.0.1",
"rehype-slug": "^6.0.0", "rehype-slug": "^6.0.0",
@@ -91,5 +92,10 @@
"rehype-callouts": "^2.2.0", "rehype-callouts": "^2.2.0",
"subset-font": "^2.5.0" "subset-font": "^2.5.0"
}, },
"packageManager": "pnpm@9.14.4" "packageManager": "pnpm@9.14.4",
"pnpm": {
"overrides": {
"sharp": "0.35.3"
}
}
} }
+116 -318
View File
@@ -4,6 +4,9 @@ settings:
autoInstallPeers: true autoInstallPeers: true
excludeLinksFromLockfile: false excludeLinksFromLockfile: false
overrides:
sharp: 0.35.3
importers: importers:
.: .:
@@ -12,17 +15,17 @@ importers:
specifier: ^0.9.9 specifier: ^0.9.9
version: 0.9.9(prettier@3.9.5)(typescript@6.0.3) version: 0.9.9(prettier@3.9.5)(typescript@6.0.3)
'@astrojs/cloudflare': '@astrojs/cloudflare':
specifier: ^14.1.2 specifier: ^14.1.4
version: 14.1.3(@types/node@26.1.1)(astro@7.0.7(@astrojs/markdown-remark@7.2.1)(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)(@types/node@26.1.1)(jiti@2.7.0)(rollup@2.80.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))(esbuild@0.28.1)(jiti@2.7.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(workerd@1.20260708.1)(wrangler@4.110.0)(yaml@2.9.0) version: 14.1.4(@types/node@26.1.1)(astro@7.1.3(@astrojs/markdown-remark@7.2.1)(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)(@types/node@26.1.1)(jiti@2.7.0)(rollup@2.80.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))(esbuild@0.28.1)(jiti@2.7.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(workerd@1.20260708.1)(wrangler@4.110.0(@types/node@26.1.1))(yaml@2.9.0)
'@astrojs/markdown-remark': '@astrojs/markdown-remark':
specifier: ^7.2.1 specifier: ^7.2.1
version: 7.2.1 version: 7.2.1
'@astrojs/markdown-satteri': '@astrojs/markdown-satteri':
specifier: ^0.3.3 specifier: ^0.3.4
version: 0.3.4 version: 0.3.4
'@astrojs/mdx': '@astrojs/mdx':
specifier: ^7.0.2 specifier: ^7.0.3
version: 7.0.3(@astrojs/markdown-satteri@0.3.4)(astro@7.0.7(@astrojs/markdown-remark@7.2.1)(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)(@types/node@26.1.1)(jiti@2.7.0)(rollup@2.80.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)) version: 7.0.3(@astrojs/markdown-satteri@0.3.4)(astro@7.1.3(@astrojs/markdown-remark@7.2.1)(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)(@types/node@26.1.1)(jiti@2.7.0)(rollup@2.80.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))
'@astrojs/rss': '@astrojs/rss':
specifier: ^4.0.19 specifier: ^4.0.19
version: 4.0.19 version: 4.0.19
@@ -31,7 +34,7 @@ importers:
version: 3.7.3 version: 3.7.3
'@astrojs/svelte': '@astrojs/svelte':
specifier: 9.0.1 specifier: 9.0.1
version: 9.0.1(@types/node@26.1.1)(astro@7.0.7(@astrojs/markdown-remark@7.2.1)(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)(@types/node@26.1.1)(jiti@2.7.0)(rollup@2.80.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))(esbuild@0.28.1)(jiti@2.7.0)(stylus@0.64.0)(svelte@5.56.5)(terser@5.49.0)(tsx@4.23.1)(typescript@6.0.3)(yaml@2.9.0) version: 9.0.1(@types/node@26.1.1)(astro@7.1.3(@astrojs/markdown-remark@7.2.1)(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)(@types/node@26.1.1)(jiti@2.7.0)(rollup@2.80.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))(esbuild@0.28.1)(jiti@2.7.0)(stylus@0.64.0)(svelte@5.56.5)(terser@5.49.0)(tsx@4.23.1)(typescript@6.0.3)(yaml@2.9.0)
'@expressive-code/plugin-collapsible-sections': '@expressive-code/plugin-collapsible-sections':
specifier: ^0.44.0 specifier: ^0.44.0
version: 0.44.0 version: 0.44.0
@@ -81,11 +84,11 @@ importers:
specifier: ^4.0.4 specifier: ^4.0.4
version: 4.0.4 version: 4.0.4
astro: astro:
specifier: 7.0.7 specifier: 7.1.3
version: 7.0.7(@astrojs/markdown-remark@7.2.1)(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)(@types/node@26.1.1)(jiti@2.7.0)(rollup@2.80.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0) version: 7.1.3(@astrojs/markdown-remark@7.2.1)(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)(@types/node@26.1.1)(jiti@2.7.0)(rollup@2.80.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)
astro-expressive-code: astro-expressive-code:
specifier: ^0.44.0 specifier: ^0.44.0
version: 0.44.0(astro@7.0.7(@astrojs/markdown-remark@7.2.1)(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)(@types/node@26.1.1)(jiti@2.7.0)(rollup@2.80.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)) version: 0.44.0(astro@7.1.3(@astrojs/markdown-remark@7.2.1)(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)(@types/node@26.1.1)(jiti@2.7.0)(rollup@2.80.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))
astro-icon: astro-icon:
specifier: ^1.1.5 specifier: ^1.1.5
version: 1.1.5 version: 1.1.5
@@ -100,7 +103,7 @@ importers:
version: 0.1.0(@expressive-code/core@0.44.0) version: 0.1.0(@expressive-code/core@0.44.0)
expressive-code-language-badge: expressive-code-language-badge:
specifier: ^1.1.0 specifier: ^1.1.0
version: 1.1.0(@astrojs/starlight@0.41.3(@astrojs/markdown-remark@7.2.1)(astro@7.0.7(@astrojs/markdown-remark@7.2.1)(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)(@types/node@26.1.1)(jiti@2.7.0)(rollup@2.80.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))(typescript@6.0.3))(@expressive-code/core@0.44.0) version: 1.1.0(@astrojs/starlight@0.41.3(@astrojs/markdown-remark@7.2.1)(astro@7.1.3(@astrojs/markdown-remark@7.2.1)(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)(@types/node@26.1.1)(jiti@2.7.0)(rollup@2.80.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))(typescript@6.0.3))(@expressive-code/core@0.44.0)
glob: glob:
specifier: ^13.0.6 specifier: ^13.0.6
version: 13.0.6 version: 13.0.6
@@ -131,6 +134,9 @@ importers:
rehype-autolink-headings: rehype-autolink-headings:
specifier: ^7.1.0 specifier: ^7.1.0
version: 7.1.0 version: 7.1.0
rehype-code-group:
specifier: ^1.0.1
version: 1.0.1
rehype-components: rehype-components:
specifier: ^0.3.0 specifier: ^0.3.0
version: 0.3.0 version: 0.3.0
@@ -162,7 +168,7 @@ importers:
specifier: ^0.9.4 specifier: ^0.9.4
version: 0.9.5 version: 0.9.5
sharp: sharp:
specifier: ^0.35.3 specifier: 0.35.3
version: 0.35.3(@types/node@26.1.1) version: 0.35.3(@types/node@26.1.1)
stylus: stylus:
specifier: ^0.64.0 specifier: ^0.64.0
@@ -184,7 +190,7 @@ importers:
version: 5.1.0 version: 5.1.0
wrangler: wrangler:
specifier: ^4.107.1 specifier: ^4.107.1
version: 4.110.0 version: 4.110.0(@types/node@26.1.1)
devDependencies: devDependencies:
'@astrojs/ts-plugin': '@astrojs/ts-plugin':
specifier: ^1.10.10 specifier: ^1.10.10
@@ -237,8 +243,8 @@ packages:
peerDependencies: peerDependencies:
typescript: ^5.0.0 || ^6.0.0 typescript: ^5.0.0 || ^6.0.0
'@astrojs/cloudflare@14.1.3': '@astrojs/cloudflare@14.1.4':
resolution: {integrity: sha512-idZndLb/cm64JNayPepaM0Ews971KviYPIcj/xB7Pwp2RKvBjs3MePjZLE50n6EoggeWag3iAMYpAuEKs+3o5g==} resolution: {integrity: sha512-Zyo1E/5/dmegmKODbwUzOd67euNd6oKcbllhAwe3uFFprA7mIFNkpF6yBBa78vIkpMNuU13MkBJHCLd+yJSuEA==}
peerDependencies: peerDependencies:
astro: ^7.0.0 astro: ^7.0.0
wrangler: ^4.83.0 wrangler: ^4.83.0
@@ -325,9 +331,6 @@ packages:
'@astrojs/markdown-remark@7.2.1': '@astrojs/markdown-remark@7.2.1':
resolution: {integrity: sha512-jPVNIqTvk+yKviikszv/Y1U4jGUSKpp/Nw48QZV4qjWgp70j4Lkq3lhSDRbWwCfgKvEyO9GHuVbV1dM2WYXy1w==} resolution: {integrity: sha512-jPVNIqTvk+yKviikszv/Y1U4jGUSKpp/Nw48QZV4qjWgp70j4Lkq3lhSDRbWwCfgKvEyO9GHuVbV1dM2WYXy1w==}
'@astrojs/markdown-satteri@0.3.3':
resolution: {integrity: sha512-Lje33Ittd8UQGgbIIWQvhPkj5X5c4b1sZnZWX3JQV/AWpfbuQGxVi2ONt6+ScydcwfR4egilslEWyczMclrJ1g==}
'@astrojs/markdown-satteri@0.3.4': '@astrojs/markdown-satteri@0.3.4':
resolution: {integrity: sha512-6Lvt/bQZEBW+zzdhPblvfZEy5PGEYJaUsUqaCgwHeRPxZJL1gc9I+DRLKWJjjYTWDzVUTzXlMq4WwSK+X34CVw==} resolution: {integrity: sha512-6Lvt/bQZEBW+zzdhPblvfZEy5PGEYJaUsUqaCgwHeRPxZJL1gc9I+DRLKWJjjYTWDzVUTzXlMq4WwSK+X34CVw==}
@@ -1377,24 +1380,12 @@ packages:
resolution: {integrity: sha512-Td76q7j57o/tLVdgS746cYARfSyxk8iEfRxewL9h4OMzYhbW4TAcppl0mT4eyqXddh6L/jwoM75mo7ixa/pCeQ==} resolution: {integrity: sha512-Td76q7j57o/tLVdgS746cYARfSyxk8iEfRxewL9h4OMzYhbW4TAcppl0mT4eyqXddh6L/jwoM75mo7ixa/pCeQ==}
engines: {node: '>=18'} engines: {node: '>=18'}
'@img/sharp-darwin-arm64@0.34.5':
resolution: {integrity: sha512-imtQ3WMJXbMY4fxb/Ndp6HBTNVtWCUI0WdobyheGf5+ad6xX8VIDO8u2xE4qc/fr08CKG/7dDseFtn6M6g/r3w==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [arm64]
os: [darwin]
'@img/sharp-darwin-arm64@0.35.3': '@img/sharp-darwin-arm64@0.35.3':
resolution: {integrity: sha512-RMnFX7YQsMoh7lWfcM4NEHHymBX/rLuKNPVM84XE9ONPcaSCDgE7CHIHpSgPcO2xcRthgBy1HfNO319mwhIAkg==} resolution: {integrity: sha512-RMnFX7YQsMoh7lWfcM4NEHHymBX/rLuKNPVM84XE9ONPcaSCDgE7CHIHpSgPcO2xcRthgBy1HfNO319mwhIAkg==}
engines: {node: '>=20.9.0'} engines: {node: '>=20.9.0'}
cpu: [arm64] cpu: [arm64]
os: [darwin] os: [darwin]
'@img/sharp-darwin-x64@0.34.5':
resolution: {integrity: sha512-YNEFAF/4KQ/PeW0N+r+aVVsoIY0/qxxikF2SWdp+NRkmMB7y9LBZAVqQ4yhGCm/H3H270OSykqmQMKLBhBJDEw==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [x64]
os: [darwin]
'@img/sharp-darwin-x64@0.35.3': '@img/sharp-darwin-x64@0.35.3':
resolution: {integrity: sha512-Xo+5uFBtLN0BKqieTxiFzFPQAUlBbbH5iBKyRX/z1JrbnYsHTfKJnUfL8+p2TPXr1pXqao4eeL4Rl144uDpK9w==} resolution: {integrity: sha512-Xo+5uFBtLN0BKqieTxiFzFPQAUlBbbH5iBKyRX/z1JrbnYsHTfKJnUfL8+p2TPXr1pXqao4eeL4Rl144uDpK9w==}
engines: {node: '>=20.9.0'} engines: {node: '>=20.9.0'}
@@ -1406,207 +1397,104 @@ packages:
engines: {node: '>=20.9.0'} engines: {node: '>=20.9.0'}
os: [freebsd] os: [freebsd]
'@img/sharp-libvips-darwin-arm64@1.2.4':
resolution: {integrity: sha512-zqjjo7RatFfFoP0MkQ51jfuFZBnVE2pRiaydKJ1G/rHZvnsrHAOcQALIi9sA5co5xenQdTugCvtb1cuf78Vf4g==}
cpu: [arm64]
os: [darwin]
'@img/sharp-libvips-darwin-arm64@1.3.2': '@img/sharp-libvips-darwin-arm64@1.3.2':
resolution: {integrity: sha512-9J6ypZFpQBj4YnePGoq/S38w6nz+vqg5WZLrLGY4YuSemdMq47GMLBPO42MzwdGwpg/agZ7xzZcFHa48xlywfg==} resolution: {integrity: sha512-9J6ypZFpQBj4YnePGoq/S38w6nz+vqg5WZLrLGY4YuSemdMq47GMLBPO42MzwdGwpg/agZ7xzZcFHa48xlywfg==}
cpu: [arm64] cpu: [arm64]
os: [darwin] os: [darwin]
'@img/sharp-libvips-darwin-x64@1.2.4':
resolution: {integrity: sha512-1IOd5xfVhlGwX+zXv2N93k0yMONvUlANylbJw1eTah8K/Jtpi15KC+WSiaX/nBmbm2HxRM1gZ0nSdjSsrZbGKg==}
cpu: [x64]
os: [darwin]
'@img/sharp-libvips-darwin-x64@1.3.2': '@img/sharp-libvips-darwin-x64@1.3.2':
resolution: {integrity: sha512-m2pW1n6cns9VaubNwsZ+c3CRYjxNQWgJ5gPlnL1nbBcpkBvFm6SCFN5o0psFHI8w9n11NKhFkeEDns98tiqbEw==} resolution: {integrity: sha512-m2pW1n6cns9VaubNwsZ+c3CRYjxNQWgJ5gPlnL1nbBcpkBvFm6SCFN5o0psFHI8w9n11NKhFkeEDns98tiqbEw==}
cpu: [x64] cpu: [x64]
os: [darwin] os: [darwin]
'@img/sharp-libvips-linux-arm64@1.2.4':
resolution: {integrity: sha512-excjX8DfsIcJ10x1Kzr4RcWe1edC9PquDRRPx3YVCvQv+U5p7Yin2s32ftzikXojb1PIFc/9Mt28/y+iRklkrw==}
cpu: [arm64]
os: [linux]
'@img/sharp-libvips-linux-arm64@1.3.2': '@img/sharp-libvips-linux-arm64@1.3.2':
resolution: {integrity: sha512-dqVSFynCox4C/J8kT16V7SIFAns0IjgLwkvYT7p8LQVmJ5OS5b6tI9IGflxTeuBS//zXeFIUbwt5dwxyZ17cnA==} resolution: {integrity: sha512-dqVSFynCox4C/J8kT16V7SIFAns0IjgLwkvYT7p8LQVmJ5OS5b6tI9IGflxTeuBS//zXeFIUbwt5dwxyZ17cnA==}
cpu: [arm64] cpu: [arm64]
os: [linux] os: [linux]
'@img/sharp-libvips-linux-arm@1.2.4':
resolution: {integrity: sha512-bFI7xcKFELdiNCVov8e44Ia4u2byA+l3XtsAj+Q8tfCwO6BQ8iDojYdvoPMqsKDkuoOo+X6HZA0s0q11ANMQ8A==}
cpu: [arm]
os: [linux]
'@img/sharp-libvips-linux-arm@1.3.2': '@img/sharp-libvips-linux-arm@1.3.2':
resolution: {integrity: sha512-1eMLzy92I4J6rmi4mAT8yC3HxOtniyGELlzGbNMLLeqe052ahFQ0h6LFq+lh5DsDIdYViIDst08abvSbcEdLXQ==} resolution: {integrity: sha512-1eMLzy92I4J6rmi4mAT8yC3HxOtniyGELlzGbNMLLeqe052ahFQ0h6LFq+lh5DsDIdYViIDst08abvSbcEdLXQ==}
cpu: [arm] cpu: [arm]
os: [linux] os: [linux]
'@img/sharp-libvips-linux-ppc64@1.2.4':
resolution: {integrity: sha512-FMuvGijLDYG6lW+b/UvyilUWu5Ayu+3r2d1S8notiGCIyYU/76eig1UfMmkZ7vwgOrzKzlQbFSuQfgm7GYUPpA==}
cpu: [ppc64]
os: [linux]
'@img/sharp-libvips-linux-ppc64@1.3.2': '@img/sharp-libvips-linux-ppc64@1.3.2':
resolution: {integrity: sha512-3z0NHDxD6n5I9gc05U1eW1AyRm+Gznzq3naMrthPNqE6oYykcogW0l/jfpJdjYnuNl8R7yI9pNbE1XiUeyq0Aw==} resolution: {integrity: sha512-3z0NHDxD6n5I9gc05U1eW1AyRm+Gznzq3naMrthPNqE6oYykcogW0l/jfpJdjYnuNl8R7yI9pNbE1XiUeyq0Aw==}
cpu: [ppc64] cpu: [ppc64]
os: [linux] os: [linux]
'@img/sharp-libvips-linux-riscv64@1.2.4':
resolution: {integrity: sha512-oVDbcR4zUC0ce82teubSm+x6ETixtKZBh/qbREIOcI3cULzDyb18Sr/Wcyx7NRQeQzOiHTNbZFF1UwPS2scyGA==}
cpu: [riscv64]
os: [linux]
'@img/sharp-libvips-linux-riscv64@1.3.2': '@img/sharp-libvips-linux-riscv64@1.3.2':
resolution: {integrity: sha512-bsb4rI+NldGOsXuej2r8OdSS8+zXDVaCWxyWrcv6kneTOlgAHtZABRzBBCwdsPiD90J4myNJuHpg6kA20ImW/w==} resolution: {integrity: sha512-bsb4rI+NldGOsXuej2r8OdSS8+zXDVaCWxyWrcv6kneTOlgAHtZABRzBBCwdsPiD90J4myNJuHpg6kA20ImW/w==}
cpu: [riscv64] cpu: [riscv64]
os: [linux] os: [linux]
'@img/sharp-libvips-linux-s390x@1.2.4':
resolution: {integrity: sha512-qmp9VrzgPgMoGZyPvrQHqk02uyjA0/QrTO26Tqk6l4ZV0MPWIW6LTkqOIov+J1yEu7MbFQaDpwdwJKhbJvuRxQ==}
cpu: [s390x]
os: [linux]
'@img/sharp-libvips-linux-s390x@1.3.2': '@img/sharp-libvips-linux-s390x@1.3.2':
resolution: {integrity: sha512-/ABshyj8gCpyIrNXnHn4LorDJ0HHm1VhXPBlxZ8zAtfVPAaSafXPGn+sUSIRiwaSBy0mmFjSjiXI5mkcwdChKQ==} resolution: {integrity: sha512-/ABshyj8gCpyIrNXnHn4LorDJ0HHm1VhXPBlxZ8zAtfVPAaSafXPGn+sUSIRiwaSBy0mmFjSjiXI5mkcwdChKQ==}
cpu: [s390x] cpu: [s390x]
os: [linux] os: [linux]
'@img/sharp-libvips-linux-x64@1.2.4':
resolution: {integrity: sha512-tJxiiLsmHc9Ax1bz3oaOYBURTXGIRDODBqhveVHonrHJ9/+k89qbLl0bcJns+e4t4rvaNBxaEZsFtSfAdquPrw==}
cpu: [x64]
os: [linux]
'@img/sharp-libvips-linux-x64@1.3.2': '@img/sharp-libvips-linux-x64@1.3.2':
resolution: {integrity: sha512-ITPEtgffGJ0S6G9dRyw/366tJQqFRcHWPHhC+Stpg3Z8AEMrDrTr2lhdz4f/Y/HMbRh//7Z5mBzEpVdi62Oc3w==} resolution: {integrity: sha512-ITPEtgffGJ0S6G9dRyw/366tJQqFRcHWPHhC+Stpg3Z8AEMrDrTr2lhdz4f/Y/HMbRh//7Z5mBzEpVdi62Oc3w==}
cpu: [x64] cpu: [x64]
os: [linux] os: [linux]
'@img/sharp-libvips-linuxmusl-arm64@1.2.4':
resolution: {integrity: sha512-FVQHuwx1IIuNow9QAbYUzJ+En8KcVm9Lk5+uGUQJHaZmMECZmOlix9HnH7n1TRkXMS0pGxIJokIVB9SuqZGGXw==}
cpu: [arm64]
os: [linux]
'@img/sharp-libvips-linuxmusl-arm64@1.3.2': '@img/sharp-libvips-linuxmusl-arm64@1.3.2':
resolution: {integrity: sha512-zE9EdiUzUmg5mDT5a1rk5fYJ6GWPloTwWBYDS14naqHsL+EaMpDj1AWnpLgh3u0YCORv2Tt50wrcrpYqkP97Kw==} resolution: {integrity: sha512-zE9EdiUzUmg5mDT5a1rk5fYJ6GWPloTwWBYDS14naqHsL+EaMpDj1AWnpLgh3u0YCORv2Tt50wrcrpYqkP97Kw==}
cpu: [arm64] cpu: [arm64]
os: [linux] os: [linux]
'@img/sharp-libvips-linuxmusl-x64@1.2.4':
resolution: {integrity: sha512-+LpyBk7L44ZIXwz/VYfglaX/okxezESc6UxDSoyo2Ks6Jxc4Y7sGjpgU9s4PMgqgjj1gZCylTieNamqA1MF7Dg==}
cpu: [x64]
os: [linux]
'@img/sharp-libvips-linuxmusl-x64@1.3.2': '@img/sharp-libvips-linuxmusl-x64@1.3.2':
resolution: {integrity: sha512-m0lrLiUt+lBYnCFr8qV/65yMR4E/c7/wf78I5eKTdkEakFAlZ9QlzEM3QIhhAwVeUhLAHLcCq7a7Vszq/oFNZQ==} resolution: {integrity: sha512-m0lrLiUt+lBYnCFr8qV/65yMR4E/c7/wf78I5eKTdkEakFAlZ9QlzEM3QIhhAwVeUhLAHLcCq7a7Vszq/oFNZQ==}
cpu: [x64] cpu: [x64]
os: [linux] os: [linux]
'@img/sharp-linux-arm64@0.34.5':
resolution: {integrity: sha512-bKQzaJRY/bkPOXyKx5EVup7qkaojECG6NLYswgktOZjaXecSAeCWiZwwiFf3/Y+O1HrauiE3FVsGxFg8c24rZg==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [arm64]
os: [linux]
'@img/sharp-linux-arm64@0.35.3': '@img/sharp-linux-arm64@0.35.3':
resolution: {integrity: sha512-QgKDspHPnrU+GQ55XPhGwyhC8acLVOOSyAvo1oVfFmrIXLkDNmGWzAfDZ4xK8oSA1qBQrALcHX0G5UZni/SuFQ==} resolution: {integrity: sha512-QgKDspHPnrU+GQ55XPhGwyhC8acLVOOSyAvo1oVfFmrIXLkDNmGWzAfDZ4xK8oSA1qBQrALcHX0G5UZni/SuFQ==}
engines: {node: '>=20.9.0'} engines: {node: '>=20.9.0'}
cpu: [arm64] cpu: [arm64]
os: [linux] os: [linux]
'@img/sharp-linux-arm@0.34.5':
resolution: {integrity: sha512-9dLqsvwtg1uuXBGZKsxem9595+ujv0sJ6Vi8wcTANSFpwV/GONat5eCkzQo/1O6zRIkh0m/8+5BjrRr7jDUSZw==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [arm]
os: [linux]
'@img/sharp-linux-arm@0.35.3': '@img/sharp-linux-arm@0.35.3':
resolution: {integrity: sha512-affVWCTLooy8TSxbDx2qkzuDeaWLNVBA+P//FNBirHsXpP2fuBhk5AuboYUnrDnzoXes8GFjpTx0SBFOCRg+FA==} resolution: {integrity: sha512-affVWCTLooy8TSxbDx2qkzuDeaWLNVBA+P//FNBirHsXpP2fuBhk5AuboYUnrDnzoXes8GFjpTx0SBFOCRg+FA==}
engines: {node: '>=20.9.0'} engines: {node: '>=20.9.0'}
cpu: [arm] cpu: [arm]
os: [linux] os: [linux]
'@img/sharp-linux-ppc64@0.34.5':
resolution: {integrity: sha512-7zznwNaqW6YtsfrGGDA6BRkISKAAE1Jo0QdpNYXNMHu2+0dTrPflTLNkpc8l7MUP5M16ZJcUvysVWWrMefZquA==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [ppc64]
os: [linux]
'@img/sharp-linux-ppc64@0.35.3': '@img/sharp-linux-ppc64@0.35.3':
resolution: {integrity: sha512-sMd8rDxmpLOwv/7N44klFjOD5DUO7FLdjiXDI0hoxYaf7Ar262dQIEkosE98bps+5HPLtp/EvNqeqQtOycP/IA==} resolution: {integrity: sha512-sMd8rDxmpLOwv/7N44klFjOD5DUO7FLdjiXDI0hoxYaf7Ar262dQIEkosE98bps+5HPLtp/EvNqeqQtOycP/IA==}
engines: {node: '>=20.9.0'} engines: {node: '>=20.9.0'}
cpu: [ppc64] cpu: [ppc64]
os: [linux] os: [linux]
'@img/sharp-linux-riscv64@0.34.5':
resolution: {integrity: sha512-51gJuLPTKa7piYPaVs8GmByo7/U7/7TZOq+cnXJIHZKavIRHAP77e3N2HEl3dgiqdD/w0yUfiJnII77PuDDFdw==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [riscv64]
os: [linux]
'@img/sharp-linux-riscv64@0.35.3': '@img/sharp-linux-riscv64@0.35.3':
resolution: {integrity: sha512-0Eob78yjlYPfL5vMNWAW55l3R9Y6BQS/gOfe0ZcP9mEz9ohhKSt4im1hayiknXgf8AWrFqMvJcKIdmLmEe7yeQ==} resolution: {integrity: sha512-0Eob78yjlYPfL5vMNWAW55l3R9Y6BQS/gOfe0ZcP9mEz9ohhKSt4im1hayiknXgf8AWrFqMvJcKIdmLmEe7yeQ==}
engines: {node: '>=20.9.0'} engines: {node: '>=20.9.0'}
cpu: [riscv64] cpu: [riscv64]
os: [linux] os: [linux]
'@img/sharp-linux-s390x@0.34.5':
resolution: {integrity: sha512-nQtCk0PdKfho3eC5MrbQoigJ2gd1CgddUMkabUj+rBevs8tZ2cULOx46E7oyX+04WGfABgIwmMC0VqieTiR4jg==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [s390x]
os: [linux]
'@img/sharp-linux-s390x@0.35.3': '@img/sharp-linux-s390x@0.35.3':
resolution: {integrity: sha512-KgAxQ0DxpNOq1rG2t5cgTgShJFGSuU7XO45cqC+1NVOuZnP6tlgZRuSYOfNupGkHID0o3cJOsw4DVeJpMovcGw==} resolution: {integrity: sha512-KgAxQ0DxpNOq1rG2t5cgTgShJFGSuU7XO45cqC+1NVOuZnP6tlgZRuSYOfNupGkHID0o3cJOsw4DVeJpMovcGw==}
engines: {node: '>=20.9.0'} engines: {node: '>=20.9.0'}
cpu: [s390x] cpu: [s390x]
os: [linux] os: [linux]
'@img/sharp-linux-x64@0.34.5':
resolution: {integrity: sha512-MEzd8HPKxVxVenwAa+JRPwEC7QFjoPWuS5NZnBt6B3pu7EG2Ge0id1oLHZpPJdn3OQK+BQDiw9zStiHBTJQQQQ==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [x64]
os: [linux]
'@img/sharp-linux-x64@0.35.3': '@img/sharp-linux-x64@0.35.3':
resolution: {integrity: sha512-8pqvxubL2PGdhlPy6GLqzDYMUjyRmKAwKHYKixpdJYBUK7PJ0C029XdsnpFIdgRZG68fZiGdHVWcKPvtiPB4cA==} resolution: {integrity: sha512-8pqvxubL2PGdhlPy6GLqzDYMUjyRmKAwKHYKixpdJYBUK7PJ0C029XdsnpFIdgRZG68fZiGdHVWcKPvtiPB4cA==}
engines: {node: '>=20.9.0'} engines: {node: '>=20.9.0'}
cpu: [x64] cpu: [x64]
os: [linux] os: [linux]
'@img/sharp-linuxmusl-arm64@0.34.5':
resolution: {integrity: sha512-fprJR6GtRsMt6Kyfq44IsChVZeGN97gTD331weR1ex1c1rypDEABN6Tm2xa1wE6lYb5DdEnk03NZPqA7Id21yg==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [arm64]
os: [linux]
'@img/sharp-linuxmusl-arm64@0.35.3': '@img/sharp-linuxmusl-arm64@0.35.3':
resolution: {integrity: sha512-Vz0iQjzzcSX3HCbfwFfCSG/9SCIqyO0mH2sXyiHaAYfBk0cRsCWXRyQYX0ovCK/PAQBbTzQ0dsPQHh5MAFL59w==} resolution: {integrity: sha512-Vz0iQjzzcSX3HCbfwFfCSG/9SCIqyO0mH2sXyiHaAYfBk0cRsCWXRyQYX0ovCK/PAQBbTzQ0dsPQHh5MAFL59w==}
engines: {node: '>=20.9.0'} engines: {node: '>=20.9.0'}
cpu: [arm64] cpu: [arm64]
os: [linux] os: [linux]
'@img/sharp-linuxmusl-x64@0.34.5':
resolution: {integrity: sha512-Jg8wNT1MUzIvhBFxViqrEhWDGzqymo3sV7z7ZsaWbZNDLXRJZoRGrjulp60YYtV4wfY8VIKcWidjojlLcWrd8Q==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [x64]
os: [linux]
'@img/sharp-linuxmusl-x64@0.35.3': '@img/sharp-linuxmusl-x64@0.35.3':
resolution: {integrity: sha512-6O1NPKcDVj9QEdg7Hx549EX8U0rp6yXQERqru6yRN7fGBn32UvIRJUlWnk+8xDCiG76hXVBbX82NZ/ZKr0euIg==} resolution: {integrity: sha512-6O1NPKcDVj9QEdg7Hx549EX8U0rp6yXQERqru6yRN7fGBn32UvIRJUlWnk+8xDCiG76hXVBbX82NZ/ZKr0euIg==}
engines: {node: '>=20.9.0'} engines: {node: '>=20.9.0'}
cpu: [x64] cpu: [x64]
os: [linux] os: [linux]
'@img/sharp-wasm32@0.34.5':
resolution: {integrity: sha512-OdWTEiVkY2PHwqkbBI8frFxQQFekHaSSkUIJkwzclWZe64O1X4UlUjqqqLaPbUpMOQk6FBu/HtlGXNblIs0huw==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [wasm32]
'@img/sharp-wasm32@0.35.3': '@img/sharp-wasm32@0.35.3':
resolution: {integrity: sha512-cZ0XkcYGpHZkqW6iCkqTcmUC0CD9DhD5d/qeZlZkfRBn6GnHniZXLUo5+9xw8Iv76YE6LQFN9YNBlKREcCG76w==} resolution: {integrity: sha512-cZ0XkcYGpHZkqW6iCkqTcmUC0CD9DhD5d/qeZlZkfRBn6GnHniZXLUo5+9xw8Iv76YE6LQFN9YNBlKREcCG76w==}
engines: {node: '>=20.9.0'} engines: {node: '>=20.9.0'}
@@ -1616,36 +1504,18 @@ packages:
engines: {node: '>=20.9.0'} engines: {node: '>=20.9.0'}
cpu: [wasm32] cpu: [wasm32]
'@img/sharp-win32-arm64@0.34.5':
resolution: {integrity: sha512-WQ3AgWCWYSb2yt+IG8mnC6Jdk9Whs7O0gxphblsLvdhSpSTtmu69ZG1Gkb6NuvxsNACwiPV6cNSZNzt0KPsw7g==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [arm64]
os: [win32]
'@img/sharp-win32-arm64@0.35.3': '@img/sharp-win32-arm64@0.35.3':
resolution: {integrity: sha512-4bPwFdMbeC4JQ8L8LOyWp6nsHcboP5fxkp6iPOXz2Vg49R42TuMs2whkJ5OAP4/Ul035qOzy0AecOF9VOscn4w==} resolution: {integrity: sha512-4bPwFdMbeC4JQ8L8LOyWp6nsHcboP5fxkp6iPOXz2Vg49R42TuMs2whkJ5OAP4/Ul035qOzy0AecOF9VOscn4w==}
engines: {node: '>=20.9.0'} engines: {node: '>=20.9.0'}
cpu: [arm64] cpu: [arm64]
os: [win32] os: [win32]
'@img/sharp-win32-ia32@0.34.5':
resolution: {integrity: sha512-FV9m/7NmeCmSHDD5j4+4pNI8Cp3aW+JvLoXcTUo0IqyjSfAZJ8dIUmijx1qaJsIiU+Hosw6xM5KijAWRJCSgNg==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [ia32]
os: [win32]
'@img/sharp-win32-ia32@0.35.3': '@img/sharp-win32-ia32@0.35.3':
resolution: {integrity: sha512-r53mXsBN6lFUDiST764SvgwUdHAqM4rPAiDzAmf4fLoB6X/rkfyTrLCg6+g17wJJiCmB3JYgHuUldCWUIRFSXw==} resolution: {integrity: sha512-r53mXsBN6lFUDiST764SvgwUdHAqM4rPAiDzAmf4fLoB6X/rkfyTrLCg6+g17wJJiCmB3JYgHuUldCWUIRFSXw==}
engines: {node: ^20.9.0} engines: {node: ^20.9.0}
cpu: [ia32] cpu: [ia32]
os: [win32] os: [win32]
'@img/sharp-win32-x64@0.34.5':
resolution: {integrity: sha512-+29YMsqY2/9eFEiW93eqWnuLcWcufowXewwSNIT6UwZdUUCrM3oFjMWH/Z6/TMmb4hlFenmfAVbpWeup2jryCw==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [x64]
os: [win32]
'@img/sharp-win32-x64@0.35.3': '@img/sharp-win32-x64@0.35.3':
resolution: {integrity: sha512-D4y1vNeZrIIJCN+uHaWVtH86B+aCrdMYYjicy9pXHvbGZeGYLLSd3wdVuC37FxVXlU1ARsk84eKWfWMXGYEqvA==} resolution: {integrity: sha512-D4y1vNeZrIIJCN+uHaWVtH86B+aCrdMYYjicy9pXHvbGZeGYLLSd3wdVuC37FxVXlU1ARsk84eKWfWMXGYEqvA==}
engines: {node: '>=20.9.0'} engines: {node: '>=20.9.0'}
@@ -1935,6 +1805,10 @@ packages:
engines: {node: '>= 8.0.0'} engines: {node: '>= 8.0.0'}
hasBin: true hasBin: true
'@sindresorhus/is@4.6.0':
resolution: {integrity: sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==}
engines: {node: '>=10'}
'@sindresorhus/is@7.2.0': '@sindresorhus/is@7.2.0':
resolution: {integrity: sha512-P1Cz1dWaFfR4IR+U13mqqiGsLFf1KbayybWwdd2vfctdV6hDpUkgCY0nKOLLTMSoRd/jJNjtbqzf13K8DCCXQw==} resolution: {integrity: sha512-P1Cz1dWaFfR4IR+U13mqqiGsLFf1KbayybWwdd2vfctdV6hDpUkgCY0nKOLLTMSoRd/jJNjtbqzf13K8DCCXQw==}
engines: {node: '>=18'} engines: {node: '>=18'}
@@ -2344,8 +2218,8 @@ packages:
astro-icon@1.1.5: astro-icon@1.1.5:
resolution: {integrity: sha512-CJYS5nWOw9jz4RpGWmzNQY7D0y2ZZacH7atL2K9DeJXJVaz7/5WrxeyIxO8KASk1jCM96Q4LjRx/F3R+InjJrw==} resolution: {integrity: sha512-CJYS5nWOw9jz4RpGWmzNQY7D0y2ZZacH7atL2K9DeJXJVaz7/5WrxeyIxO8KASk1jCM96Q4LjRx/F3R+InjJrw==}
astro@7.0.7: astro@7.1.3:
resolution: {integrity: sha512-swqrKDSI/B83GFroYPZYMFcxqbSe9+tkynu1WDBk3GLgBfV9++qVM4Z+2uFT6uu9A53Q0TROnxLketfMEENuqQ==} resolution: {integrity: sha512-4dhPyAAXthf3xLEYnG8SeL7yr/nTPPABfY7e9YF0yuO+vK9Xp+8Q5j4xzsmL3GueukQv4oNwGNTBepLOiDGeJA==}
engines: {node: '>=22.12.0', npm: '>=9.6.5', pnpm: '>=7.1.0'} engines: {node: '>=22.12.0', npm: '>=9.6.5', pnpm: '>=7.1.0'}
hasBin: true hasBin: true
peerDependencies: peerDependencies:
@@ -2514,6 +2388,10 @@ packages:
resolution: {integrity: sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==} resolution: {integrity: sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==}
engines: {node: ^12.17.0 || ^14.13 || >=16.0.0} engines: {node: ^12.17.0 || ^14.13 || >=16.0.0}
char-regex@1.0.2:
resolution: {integrity: sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==}
engines: {node: '>=10'}
character-entities-html4@2.1.0: character-entities-html4@2.1.0:
resolution: {integrity: sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA==} resolution: {integrity: sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA==}
@@ -2620,6 +2498,10 @@ packages:
resolution: {integrity: sha512-ei8Aos7ja0weRpFzJnEA9UHJ/7XQmqglbRwnf2ATjcB9Wq874VKH9kfjjirM6UhU2/E5fFYadylyhFldcqSidQ==} resolution: {integrity: sha512-ei8Aos7ja0weRpFzJnEA9UHJ/7XQmqglbRwnf2ATjcB9Wq874VKH9kfjjirM6UhU2/E5fFYadylyhFldcqSidQ==}
engines: {node: '>=18'} engines: {node: '>=18'}
cookie@2.0.1:
resolution: {integrity: sha512-yuToqVvRrj6pfDXREyQAAv8SkAEk/8GS3jQRTiUMm66TVtBYmqQeoEjL2Lmq8Rpo6271vH76InTChTitEAm65w==}
engines: {node: '>=22'}
core-js-compat@3.49.0: core-js-compat@3.49.0:
resolution: {integrity: sha512-VQXt1jr9cBz03b331DFDCCP90b3fanciLkgiOoy8SBHy06gNf+vQ1A3WFLqG7I8TipYIKeYK9wxd0tUrvHcOZA==} resolution: {integrity: sha512-VQXt1jr9cBz03b331DFDCCP90b3fanciLkgiOoy8SBHy06gNf+vQ1A3WFLqG7I8TipYIKeYK9wxd0tUrvHcOZA==}
@@ -2878,6 +2760,9 @@ packages:
emoji-regex@9.2.2: emoji-regex@9.2.2:
resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==} resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==}
emojilib@2.4.0:
resolution: {integrity: sha512-5U0rVMU5Y2n2+ykNLQqMoqklN9ICBT/KsvC1Gz6vqHbz2AXXGkG+Pm5rMWk/8Vjrr/mY9985Hi8DYzn1F09Nyw==}
encoding-sniffer@0.2.1: encoding-sniffer@0.2.1:
resolution: {integrity: sha512-5gvq20T6vfpekVtqrYQsSCFZ1wEg5+wW0/QaZMWkFr6BqD3NfKs0rLCx4rrVlSWJeZb5NBJgVLswK/w2MWU+Gw==} resolution: {integrity: sha512-5gvq20T6vfpekVtqrYQsSCFZ1wEg5+wW0/QaZMWkFr6BqD3NfKs0rLCx4rrVlSWJeZb5NBJgVLswK/w2MWU+Gw==}
@@ -4042,13 +3927,17 @@ packages:
engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
hasBin: true hasBin: true
neotraverse@0.6.18: neotraverse@1.0.1:
resolution: {integrity: sha512-Z4SmBUweYa09+o6pG+eASabEpP6QkQ70yHj351pQoEXIs8uHbaU2DWVmzBANKgflPa47A50PtB2+NgRpQvr7vA==} resolution: {integrity: sha512-WmmLty1YWwJl9yZi77v2dVIV6X2kuYV8YYBI/G3LWGKdGHmHUvL1z7FW0iDvEvGAwNEoc5x1tOOOyDnf5jJw/w==}
engines: {node: '>= 10'} engines: {node: '>= 10'}
nlcst-to-string@4.0.0: nlcst-to-string@4.0.0:
resolution: {integrity: sha512-YKLBCcUYKAg0FNlOBT6aI91qFmSiFKiluk655WzPF+DDMA02qIyy8uiRqI8QXtcFpEvll12LpL5MXqEmAZ+dcA==} resolution: {integrity: sha512-YKLBCcUYKAg0FNlOBT6aI91qFmSiFKiluk655WzPF+DDMA02qIyy8uiRqI8QXtcFpEvll12LpL5MXqEmAZ+dcA==}
node-emoji@2.2.0:
resolution: {integrity: sha512-Z3lTE9pLaJF47NyMhd4ww1yFTAP8YhYI8SleJiHzM46Fgpm5cnNzSl9XfzFNqbaz+VlJrIj3fXQ4DeN1Rjm6cw==}
engines: {node: '>=18'}
node-fetch-native@1.6.7: node-fetch-native@1.6.7:
resolution: {integrity: sha512-g9yhqoedzIUm0nTnTqAQvueMPVOuIY16bqgAJJC8XOOubYFNwz6IER9qs0Gq2Xd0+CecCKFjtdDTMA4u4xG06Q==} resolution: {integrity: sha512-g9yhqoedzIUm0nTnTqAQvueMPVOuIY16bqgAJJC8XOOubYFNwz6IER9qs0Gq2Xd0+CecCKFjtdDTMA4u4xG06Q==}
@@ -4651,6 +4540,10 @@ packages:
resolution: {integrity: sha512-snwN1LkjLM3SuymqpsoLonoJ8gVy5yJN9WztBiyj8HAAj5Mv3Fez5vFzVwscLQdzMZo27xv2FycGzAGDkT4dNw==} resolution: {integrity: sha512-snwN1LkjLM3SuymqpsoLonoJ8gVy5yJN9WztBiyj8HAAj5Mv3Fez5vFzVwscLQdzMZo27xv2FycGzAGDkT4dNw==}
engines: {node: '>=18.0.0'} engines: {node: '>=18.0.0'}
rehype-code-group@1.0.1:
resolution: {integrity: sha512-fVpjTIgIic0f6qjTHw8Cm3FSdcBgrLO8Mjm6zJE2HswldvGM6/C0XpsJ4y4xB2pZ6oLD9gxNyhXEP20QLt7gpg==}
engines: {node: '>=20.0.0'}
rehype-components@0.3.0: rehype-components@0.3.0:
resolution: {integrity: sha512-yl2bUkZi+sU0gxwVCun7IkjiDLPczSs1SKMKHmjlSLkk4mMryBd/aYba5J8suhJdquBEKSw6ZNxU3MvVQ9xqoQ==} resolution: {integrity: sha512-yl2bUkZi+sU0gxwVCun7IkjiDLPczSs1SKMKHmjlSLkk4mMryBd/aYba5J8suhJdquBEKSw6ZNxU3MvVQ9xqoQ==}
@@ -4882,10 +4775,6 @@ packages:
resolution: {integrity: sha512-RJRdvCo6IAnPdsvP/7m6bsQqNnn1FCBX5ZNtFL98MmFF/4xAIJTIg1YbHW5DC2W5SKZanrC6i4HsJqlajw/dZw==} resolution: {integrity: sha512-RJRdvCo6IAnPdsvP/7m6bsQqNnn1FCBX5ZNtFL98MmFF/4xAIJTIg1YbHW5DC2W5SKZanrC6i4HsJqlajw/dZw==}
engines: {node: '>= 0.4'} engines: {node: '>= 0.4'}
sharp@0.34.5:
resolution: {integrity: sha512-Ou9I5Ft9WNcCbXrU9cMgPBcCK8LiwLqcbywW3t4oDV37n1pzpuNLsYiAV8eODnjbtQlSDwZ2cUEeQz4E54Hltg==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
sharp@0.35.3: sharp@0.35.3:
resolution: {integrity: sha512-ej0zVHuZGHCiABXcNxeYhpRnPNPAcvbG8RMdBAhDAxLKkCRVSpK3Iyu7qbqw3JMzoj0REeM6f3tJLtVwl0023Q==} resolution: {integrity: sha512-ej0zVHuZGHCiABXcNxeYhpRnPNPAcvbG8RMdBAhDAxLKkCRVSpK3Iyu7qbqw3JMzoj0REeM6f3tJLtVwl0023Q==}
engines: {node: '>=20.9.0'} engines: {node: '>=20.9.0'}
@@ -4945,6 +4834,10 @@ packages:
engines: {node: '>=20.19.5', npm: '>=10.8.2'} engines: {node: '>=20.19.5', npm: '>=10.8.2'}
hasBin: true hasBin: true
skin-tone@2.0.0:
resolution: {integrity: sha512-kUMbT1oBJCpgrnKoSr0o6wPtvRWT9W9UKvGLwfJYO2WuahZRHOpEyL1ckyMGgMWh0UdpmaoFqKKD29WTomNEGA==}
engines: {node: '>=8'}
slash@3.0.0: slash@3.0.0:
resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==}
engines: {node: '>=8'} engines: {node: '>=8'}
@@ -5219,6 +5112,10 @@ packages:
resolution: {integrity: sha512-dA8WbNeb2a6oQzAQ55YlT5vQAWGV9WXOsi3SskE3bcCdM0P4SDd+24zS/OCacdRq5BkdsRj9q3Pg6YyQoxIGqg==} resolution: {integrity: sha512-dA8WbNeb2a6oQzAQ55YlT5vQAWGV9WXOsi3SskE3bcCdM0P4SDd+24zS/OCacdRq5BkdsRj9q3Pg6YyQoxIGqg==}
engines: {node: '>=4'} engines: {node: '>=4'}
unicode-emoji-modifier-base@1.0.0:
resolution: {integrity: sha512-yLSH4py7oFH3oG/9K+XWrz1pSi3dfUrWEnInbxMfArOfc1+33BlGPQtLsOYwvdMy11AwUBetYuaRxSPqgkq+8g==}
engines: {node: '>=4'}
unicode-match-property-ecmascript@2.0.0: unicode-match-property-ecmascript@2.0.0:
resolution: {integrity: sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==} resolution: {integrity: sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==}
engines: {node: '>=4'} engines: {node: '>=4'}
@@ -5718,15 +5615,15 @@ snapshots:
- prettier - prettier
- prettier-plugin-astro - prettier-plugin-astro
'@astrojs/cloudflare@14.1.3(@types/node@26.1.1)(astro@7.0.7(@astrojs/markdown-remark@7.2.1)(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)(@types/node@26.1.1)(jiti@2.7.0)(rollup@2.80.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))(esbuild@0.28.1)(jiti@2.7.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(workerd@1.20260708.1)(wrangler@4.110.0)(yaml@2.9.0)': '@astrojs/cloudflare@14.1.4(@types/node@26.1.1)(astro@7.1.3(@astrojs/markdown-remark@7.2.1)(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)(@types/node@26.1.1)(jiti@2.7.0)(rollup@2.80.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))(esbuild@0.28.1)(jiti@2.7.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(workerd@1.20260708.1)(wrangler@4.110.0(@types/node@26.1.1))(yaml@2.9.0)':
dependencies: dependencies:
'@astrojs/internal-helpers': 0.10.1 '@astrojs/internal-helpers': 0.10.1
'@astrojs/underscore-redirects': 1.0.3 '@astrojs/underscore-redirects': 1.0.3
'@cloudflare/vite-plugin': 1.44.0(vite@8.1.4(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))(workerd@1.20260708.1)(wrangler@4.110.0) '@cloudflare/vite-plugin': 1.44.0(@types/node@26.1.1)(vite@8.1.4(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))(workerd@1.20260708.1)(wrangler@4.110.0(@types/node@26.1.1))
astro: 7.0.7(@astrojs/markdown-remark@7.2.1)(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)(@types/node@26.1.1)(jiti@2.7.0)(rollup@2.80.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0) astro: 7.1.3(@astrojs/markdown-remark@7.2.1)(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)(@types/node@26.1.1)(jiti@2.7.0)(rollup@2.80.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)
piccolore: 0.1.3 piccolore: 0.1.3
vite: 8.1.4(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0) vite: 8.1.4(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)
wrangler: 4.110.0 wrangler: 4.110.0(@types/node@26.1.1)
transitivePeerDependencies: transitivePeerDependencies:
- '@types/node' - '@types/node'
- '@vitejs/devtools' - '@vitejs/devtools'
@@ -5858,13 +5755,6 @@ snapshots:
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
'@astrojs/markdown-satteri@0.3.3':
dependencies:
'@astrojs/internal-helpers': 0.10.1
'@astrojs/prism': 4.0.2
github-slugger: 2.0.0
satteri: 0.9.5
'@astrojs/markdown-satteri@0.3.4': '@astrojs/markdown-satteri@0.3.4':
dependencies: dependencies:
'@astrojs/internal-helpers': 0.10.1 '@astrojs/internal-helpers': 0.10.1
@@ -5873,13 +5763,13 @@ snapshots:
hast-util-from-html: 2.0.3 hast-util-from-html: 2.0.3
satteri: 0.9.5 satteri: 0.9.5
'@astrojs/mdx@7.0.3(@astrojs/markdown-satteri@0.3.4)(astro@7.0.7(@astrojs/markdown-remark@7.2.1)(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)(@types/node@26.1.1)(jiti@2.7.0)(rollup@2.80.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))': '@astrojs/mdx@7.0.3(@astrojs/markdown-satteri@0.3.4)(astro@7.1.3(@astrojs/markdown-remark@7.2.1)(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)(@types/node@26.1.1)(jiti@2.7.0)(rollup@2.80.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))':
dependencies: dependencies:
'@astrojs/internal-helpers': 0.10.1 '@astrojs/internal-helpers': 0.10.1
'@astrojs/markdown-remark': 7.2.1 '@astrojs/markdown-remark': 7.2.1
'@mdx-js/mdx': 3.1.1 '@mdx-js/mdx': 3.1.1
acorn: 8.17.0 acorn: 8.17.0
astro: 7.0.7(@astrojs/markdown-remark@7.2.1)(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)(@types/node@26.1.1)(jiti@2.7.0)(rollup@2.80.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0) astro: 7.1.3(@astrojs/markdown-remark@7.2.1)(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)(@types/node@26.1.1)(jiti@2.7.0)(rollup@2.80.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)
es-module-lexer: 2.3.1 es-module-lexer: 2.3.1
estree-util-visit: 2.0.0 estree-util-visit: 2.0.0
hast-util-to-html: 9.0.5 hast-util-to-html: 9.0.5
@@ -5911,17 +5801,17 @@ snapshots:
stream-replace-string: 2.0.0 stream-replace-string: 2.0.0
zod: 4.4.3 zod: 4.4.3
'@astrojs/starlight@0.41.3(@astrojs/markdown-remark@7.2.1)(astro@7.0.7(@astrojs/markdown-remark@7.2.1)(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)(@types/node@26.1.1)(jiti@2.7.0)(rollup@2.80.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))(typescript@6.0.3)': '@astrojs/starlight@0.41.3(@astrojs/markdown-remark@7.2.1)(astro@7.1.3(@astrojs/markdown-remark@7.2.1)(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)(@types/node@26.1.1)(jiti@2.7.0)(rollup@2.80.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))(typescript@6.0.3)':
dependencies: dependencies:
'@astrojs/markdown-satteri': 0.3.4 '@astrojs/markdown-satteri': 0.3.4
'@astrojs/mdx': 7.0.3(@astrojs/markdown-satteri@0.3.4)(astro@7.0.7(@astrojs/markdown-remark@7.2.1)(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)(@types/node@26.1.1)(jiti@2.7.0)(rollup@2.80.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)) '@astrojs/mdx': 7.0.3(@astrojs/markdown-satteri@0.3.4)(astro@7.1.3(@astrojs/markdown-remark@7.2.1)(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)(@types/node@26.1.1)(jiti@2.7.0)(rollup@2.80.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))
'@astrojs/sitemap': 3.7.3 '@astrojs/sitemap': 3.7.3
'@pagefind/default-ui': 1.5.2 '@pagefind/default-ui': 1.5.2
'@types/hast': 3.0.5 '@types/hast': 3.0.5
'@types/js-yaml': 4.0.9 '@types/js-yaml': 4.0.9
'@types/mdast': 4.0.4 '@types/mdast': 4.0.4
astro: 7.0.7(@astrojs/markdown-remark@7.2.1)(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)(@types/node@26.1.1)(jiti@2.7.0)(rollup@2.80.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0) astro: 7.1.3(@astrojs/markdown-remark@7.2.1)(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)(@types/node@26.1.1)(jiti@2.7.0)(rollup@2.80.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)
astro-expressive-code: 0.44.0(astro@7.0.7(@astrojs/markdown-remark@7.2.1)(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)(@types/node@26.1.1)(jiti@2.7.0)(rollup@2.80.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)) astro-expressive-code: 0.44.0(astro@7.1.3(@astrojs/markdown-remark@7.2.1)(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)(@types/node@26.1.1)(jiti@2.7.0)(rollup@2.80.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))
bcp-47: 2.1.1 bcp-47: 2.1.1
hast-util-from-html: 2.0.3 hast-util-from-html: 2.0.3
hast-util-select: 6.0.4 hast-util-select: 6.0.4
@@ -5949,10 +5839,10 @@ snapshots:
- supports-color - supports-color
- typescript - typescript
'@astrojs/svelte@9.0.1(@types/node@26.1.1)(astro@7.0.7(@astrojs/markdown-remark@7.2.1)(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)(@types/node@26.1.1)(jiti@2.7.0)(rollup@2.80.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))(esbuild@0.28.1)(jiti@2.7.0)(stylus@0.64.0)(svelte@5.56.5)(terser@5.49.0)(tsx@4.23.1)(typescript@6.0.3)(yaml@2.9.0)': '@astrojs/svelte@9.0.1(@types/node@26.1.1)(astro@7.1.3(@astrojs/markdown-remark@7.2.1)(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)(@types/node@26.1.1)(jiti@2.7.0)(rollup@2.80.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))(esbuild@0.28.1)(jiti@2.7.0)(stylus@0.64.0)(svelte@5.56.5)(terser@5.49.0)(tsx@4.23.1)(typescript@6.0.3)(yaml@2.9.0)':
dependencies: dependencies:
'@sveltejs/vite-plugin-svelte': 7.2.0(svelte@5.56.5)(vite@8.1.4(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)) '@sveltejs/vite-plugin-svelte': 7.2.0(svelte@5.56.5)(vite@8.1.4(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))
astro: 7.0.7(@astrojs/markdown-remark@7.2.1)(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)(@types/node@26.1.1)(jiti@2.7.0)(rollup@2.80.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0) astro: 7.1.3(@astrojs/markdown-remark@7.2.1)(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)(@types/node@26.1.1)(jiti@2.7.0)(rollup@2.80.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)
svelte: 5.56.5 svelte: 5.56.5
svelte2tsx: 0.7.57(svelte@5.56.5)(typescript@6.0.3) svelte2tsx: 0.7.57(svelte@5.56.5)(typescript@6.0.3)
typescript: 6.0.3 typescript: 6.0.3
@@ -6825,15 +6715,16 @@ snapshots:
optionalDependencies: optionalDependencies:
workerd: 1.20260708.1 workerd: 1.20260708.1
'@cloudflare/vite-plugin@1.44.0(vite@8.1.4(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))(workerd@1.20260708.1)(wrangler@4.110.0)': '@cloudflare/vite-plugin@1.44.0(@types/node@26.1.1)(vite@8.1.4(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))(workerd@1.20260708.1)(wrangler@4.110.0(@types/node@26.1.1))':
dependencies: dependencies:
'@cloudflare/unenv-preset': 2.16.1(unenv@2.0.0-rc.24)(workerd@1.20260708.1) '@cloudflare/unenv-preset': 2.16.1(unenv@2.0.0-rc.24)(workerd@1.20260708.1)
miniflare: 4.20260708.1 miniflare: 4.20260708.1(@types/node@26.1.1)
unenv: 2.0.0-rc.24 unenv: 2.0.0-rc.24
vite: 8.1.4(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0) vite: 8.1.4(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)
wrangler: 4.110.0 wrangler: 4.110.0(@types/node@26.1.1)
ws: 8.21.0 ws: 8.21.0
transitivePeerDependencies: transitivePeerDependencies:
- '@types/node'
- bufferutil - bufferutil
- utf-8-validate - utf-8-validate
- workerd - workerd
@@ -7090,21 +6981,11 @@ snapshots:
'@img/colour@1.1.0': {} '@img/colour@1.1.0': {}
'@img/sharp-darwin-arm64@0.34.5':
optionalDependencies:
'@img/sharp-libvips-darwin-arm64': 1.2.4
optional: true
'@img/sharp-darwin-arm64@0.35.3': '@img/sharp-darwin-arm64@0.35.3':
optionalDependencies: optionalDependencies:
'@img/sharp-libvips-darwin-arm64': 1.3.2 '@img/sharp-libvips-darwin-arm64': 1.3.2
optional: true optional: true
'@img/sharp-darwin-x64@0.34.5':
optionalDependencies:
'@img/sharp-libvips-darwin-x64': 1.2.4
optional: true
'@img/sharp-darwin-x64@0.35.3': '@img/sharp-darwin-x64@0.35.3':
optionalDependencies: optionalDependencies:
'@img/sharp-libvips-darwin-x64': 1.3.2 '@img/sharp-libvips-darwin-x64': 1.3.2
@@ -7115,151 +6996,76 @@ snapshots:
'@img/sharp-wasm32': 0.35.3 '@img/sharp-wasm32': 0.35.3
optional: true optional: true
'@img/sharp-libvips-darwin-arm64@1.2.4':
optional: true
'@img/sharp-libvips-darwin-arm64@1.3.2': '@img/sharp-libvips-darwin-arm64@1.3.2':
optional: true optional: true
'@img/sharp-libvips-darwin-x64@1.2.4':
optional: true
'@img/sharp-libvips-darwin-x64@1.3.2': '@img/sharp-libvips-darwin-x64@1.3.2':
optional: true optional: true
'@img/sharp-libvips-linux-arm64@1.2.4':
optional: true
'@img/sharp-libvips-linux-arm64@1.3.2': '@img/sharp-libvips-linux-arm64@1.3.2':
optional: true optional: true
'@img/sharp-libvips-linux-arm@1.2.4':
optional: true
'@img/sharp-libvips-linux-arm@1.3.2': '@img/sharp-libvips-linux-arm@1.3.2':
optional: true optional: true
'@img/sharp-libvips-linux-ppc64@1.2.4':
optional: true
'@img/sharp-libvips-linux-ppc64@1.3.2': '@img/sharp-libvips-linux-ppc64@1.3.2':
optional: true optional: true
'@img/sharp-libvips-linux-riscv64@1.2.4':
optional: true
'@img/sharp-libvips-linux-riscv64@1.3.2': '@img/sharp-libvips-linux-riscv64@1.3.2':
optional: true optional: true
'@img/sharp-libvips-linux-s390x@1.2.4':
optional: true
'@img/sharp-libvips-linux-s390x@1.3.2': '@img/sharp-libvips-linux-s390x@1.3.2':
optional: true optional: true
'@img/sharp-libvips-linux-x64@1.2.4':
optional: true
'@img/sharp-libvips-linux-x64@1.3.2': '@img/sharp-libvips-linux-x64@1.3.2':
optional: true optional: true
'@img/sharp-libvips-linuxmusl-arm64@1.2.4':
optional: true
'@img/sharp-libvips-linuxmusl-arm64@1.3.2': '@img/sharp-libvips-linuxmusl-arm64@1.3.2':
optional: true optional: true
'@img/sharp-libvips-linuxmusl-x64@1.2.4':
optional: true
'@img/sharp-libvips-linuxmusl-x64@1.3.2': '@img/sharp-libvips-linuxmusl-x64@1.3.2':
optional: true optional: true
'@img/sharp-linux-arm64@0.34.5':
optionalDependencies:
'@img/sharp-libvips-linux-arm64': 1.2.4
optional: true
'@img/sharp-linux-arm64@0.35.3': '@img/sharp-linux-arm64@0.35.3':
optionalDependencies: optionalDependencies:
'@img/sharp-libvips-linux-arm64': 1.3.2 '@img/sharp-libvips-linux-arm64': 1.3.2
optional: true optional: true
'@img/sharp-linux-arm@0.34.5':
optionalDependencies:
'@img/sharp-libvips-linux-arm': 1.2.4
optional: true
'@img/sharp-linux-arm@0.35.3': '@img/sharp-linux-arm@0.35.3':
optionalDependencies: optionalDependencies:
'@img/sharp-libvips-linux-arm': 1.3.2 '@img/sharp-libvips-linux-arm': 1.3.2
optional: true optional: true
'@img/sharp-linux-ppc64@0.34.5':
optionalDependencies:
'@img/sharp-libvips-linux-ppc64': 1.2.4
optional: true
'@img/sharp-linux-ppc64@0.35.3': '@img/sharp-linux-ppc64@0.35.3':
optionalDependencies: optionalDependencies:
'@img/sharp-libvips-linux-ppc64': 1.3.2 '@img/sharp-libvips-linux-ppc64': 1.3.2
optional: true optional: true
'@img/sharp-linux-riscv64@0.34.5':
optionalDependencies:
'@img/sharp-libvips-linux-riscv64': 1.2.4
optional: true
'@img/sharp-linux-riscv64@0.35.3': '@img/sharp-linux-riscv64@0.35.3':
optionalDependencies: optionalDependencies:
'@img/sharp-libvips-linux-riscv64': 1.3.2 '@img/sharp-libvips-linux-riscv64': 1.3.2
optional: true optional: true
'@img/sharp-linux-s390x@0.34.5':
optionalDependencies:
'@img/sharp-libvips-linux-s390x': 1.2.4
optional: true
'@img/sharp-linux-s390x@0.35.3': '@img/sharp-linux-s390x@0.35.3':
optionalDependencies: optionalDependencies:
'@img/sharp-libvips-linux-s390x': 1.3.2 '@img/sharp-libvips-linux-s390x': 1.3.2
optional: true optional: true
'@img/sharp-linux-x64@0.34.5':
optionalDependencies:
'@img/sharp-libvips-linux-x64': 1.2.4
optional: true
'@img/sharp-linux-x64@0.35.3': '@img/sharp-linux-x64@0.35.3':
optionalDependencies: optionalDependencies:
'@img/sharp-libvips-linux-x64': 1.3.2 '@img/sharp-libvips-linux-x64': 1.3.2
optional: true optional: true
'@img/sharp-linuxmusl-arm64@0.34.5':
optionalDependencies:
'@img/sharp-libvips-linuxmusl-arm64': 1.2.4
optional: true
'@img/sharp-linuxmusl-arm64@0.35.3': '@img/sharp-linuxmusl-arm64@0.35.3':
optionalDependencies: optionalDependencies:
'@img/sharp-libvips-linuxmusl-arm64': 1.3.2 '@img/sharp-libvips-linuxmusl-arm64': 1.3.2
optional: true optional: true
'@img/sharp-linuxmusl-x64@0.34.5':
optionalDependencies:
'@img/sharp-libvips-linuxmusl-x64': 1.2.4
optional: true
'@img/sharp-linuxmusl-x64@0.35.3': '@img/sharp-linuxmusl-x64@0.35.3':
optionalDependencies: optionalDependencies:
'@img/sharp-libvips-linuxmusl-x64': 1.3.2 '@img/sharp-libvips-linuxmusl-x64': 1.3.2
optional: true optional: true
'@img/sharp-wasm32@0.34.5':
dependencies:
'@emnapi/runtime': 1.11.2
optional: true
'@img/sharp-wasm32@0.35.3': '@img/sharp-wasm32@0.35.3':
dependencies: dependencies:
'@emnapi/runtime': 1.11.2 '@emnapi/runtime': 1.11.2
@@ -7270,21 +7076,12 @@ snapshots:
'@img/sharp-wasm32': 0.35.3 '@img/sharp-wasm32': 0.35.3
optional: true optional: true
'@img/sharp-win32-arm64@0.34.5':
optional: true
'@img/sharp-win32-arm64@0.35.3': '@img/sharp-win32-arm64@0.35.3':
optional: true optional: true
'@img/sharp-win32-ia32@0.34.5':
optional: true
'@img/sharp-win32-ia32@0.35.3': '@img/sharp-win32-ia32@0.35.3':
optional: true optional: true
'@img/sharp-win32-x64@0.34.5':
optional: true
'@img/sharp-win32-x64@0.35.3': '@img/sharp-win32-x64@0.35.3':
optional: true optional: true
@@ -7568,6 +7365,8 @@ snapshots:
fflate: 0.7.4 fflate: 0.7.4
string.prototype.codepointat: 0.2.1 string.prototype.codepointat: 0.2.1
'@sindresorhus/is@4.6.0': {}
'@sindresorhus/is@7.2.0': {} '@sindresorhus/is@7.2.0': {}
'@speed-highlight/core@1.2.17': {} '@speed-highlight/core@1.2.17': {}
@@ -8004,9 +7803,9 @@ snapshots:
astring@1.9.0: {} astring@1.9.0: {}
astro-expressive-code@0.44.0(astro@7.0.7(@astrojs/markdown-remark@7.2.1)(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)(@types/node@26.1.1)(jiti@2.7.0)(rollup@2.80.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)): astro-expressive-code@0.44.0(astro@7.1.3(@astrojs/markdown-remark@7.2.1)(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)(@types/node@26.1.1)(jiti@2.7.0)(rollup@2.80.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)):
dependencies: dependencies:
astro: 7.0.7(@astrojs/markdown-remark@7.2.1)(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)(@types/node@26.1.1)(jiti@2.7.0)(rollup@2.80.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0) astro: 7.1.3(@astrojs/markdown-remark@7.2.1)(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)(@types/node@26.1.1)(jiti@2.7.0)(rollup@2.80.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)
rehype-expressive-code: 0.44.0 rehype-expressive-code: 0.44.0
url-extras: 0.1.0 url-extras: 0.1.0
@@ -8018,11 +7817,11 @@ snapshots:
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
astro@7.0.7(@astrojs/markdown-remark@7.2.1)(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)(@types/node@26.1.1)(jiti@2.7.0)(rollup@2.80.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0): astro@7.1.3(@astrojs/markdown-remark@7.2.1)(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)(@types/node@26.1.1)(jiti@2.7.0)(rollup@2.80.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0):
dependencies: dependencies:
'@astrojs/compiler-rs': 0.3.1(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1) '@astrojs/compiler-rs': 0.3.1(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)
'@astrojs/internal-helpers': 0.10.1 '@astrojs/internal-helpers': 0.10.1
'@astrojs/markdown-satteri': 0.3.3 '@astrojs/markdown-satteri': 0.3.4
'@astrojs/telemetry': 3.3.3 '@astrojs/telemetry': 3.3.3
'@capsizecss/unpack': 4.0.1 '@capsizecss/unpack': 4.0.1
'@clack/prompts': 1.7.0 '@clack/prompts': 1.7.0
@@ -8034,7 +7833,7 @@ snapshots:
ci-info: 4.4.0 ci-info: 4.4.0
clsx: 2.1.1 clsx: 2.1.1
common-ancestor-path: 2.0.0 common-ancestor-path: 2.0.0
cookie: 1.1.1 cookie: 2.0.1
devalue: 5.8.1 devalue: 5.8.1
diff: 8.0.4 diff: 8.0.4
dset: 3.1.4 dset: 3.1.4
@@ -8051,7 +7850,7 @@ snapshots:
magic-string: 0.30.21 magic-string: 0.30.21
magicast: 0.5.3 magicast: 0.5.3
mrmime: 2.0.1 mrmime: 2.0.1
neotraverse: 0.6.18 neotraverse: 1.0.1
obug: 2.1.3 obug: 2.1.3
p-limit: 7.3.0 p-limit: 7.3.0
p-queue: 9.3.1 p-queue: 9.3.1
@@ -8273,6 +8072,8 @@ snapshots:
chalk@5.6.2: {} chalk@5.6.2: {}
char-regex@1.0.2: {}
character-entities-html4@2.1.0: {} character-entities-html4@2.1.0: {}
character-entities-legacy@3.0.0: {} character-entities-legacy@3.0.0: {}
@@ -8370,6 +8171,8 @@ snapshots:
cookie@1.1.1: {} cookie@1.1.1: {}
cookie@2.0.1: {}
core-js-compat@3.49.0: core-js-compat@3.49.0:
dependencies: dependencies:
browserslist: 4.28.6 browserslist: 4.28.6
@@ -8659,6 +8462,8 @@ snapshots:
emoji-regex@9.2.2: {} emoji-regex@9.2.2: {}
emojilib@2.4.0: {}
encoding-sniffer@0.2.1: encoding-sniffer@0.2.1:
dependencies: dependencies:
iconv-lite: 0.6.3 iconv-lite: 0.6.3
@@ -8887,9 +8692,9 @@ snapshots:
dependencies: dependencies:
'@expressive-code/core': 0.44.0 '@expressive-code/core': 0.44.0
expressive-code-language-badge@1.1.0(@astrojs/starlight@0.41.3(@astrojs/markdown-remark@7.2.1)(astro@7.0.7(@astrojs/markdown-remark@7.2.1)(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)(@types/node@26.1.1)(jiti@2.7.0)(rollup@2.80.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))(typescript@6.0.3))(@expressive-code/core@0.44.0): expressive-code-language-badge@1.1.0(@astrojs/starlight@0.41.3(@astrojs/markdown-remark@7.2.1)(astro@7.1.3(@astrojs/markdown-remark@7.2.1)(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)(@types/node@26.1.1)(jiti@2.7.0)(rollup@2.80.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))(typescript@6.0.3))(@expressive-code/core@0.44.0):
dependencies: dependencies:
'@astrojs/starlight': 0.41.3(@astrojs/markdown-remark@7.2.1)(astro@7.0.7(@astrojs/markdown-remark@7.2.1)(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)(@types/node@26.1.1)(jiti@2.7.0)(rollup@2.80.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))(typescript@6.0.3) '@astrojs/starlight': 0.41.3(@astrojs/markdown-remark@7.2.1)(astro@7.1.3(@astrojs/markdown-remark@7.2.1)(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)(@types/node@26.1.1)(jiti@2.7.0)(rollup@2.80.0)(stylus@0.64.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))(typescript@6.0.3)
'@expressive-code/core': 0.44.0 '@expressive-code/core': 0.44.0
expressive-code@0.44.0: expressive-code@0.44.0:
@@ -10312,15 +10117,16 @@ snapshots:
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
miniflare@4.20260708.1: miniflare@4.20260708.1(@types/node@26.1.1):
dependencies: dependencies:
'@cspotcode/source-map-support': 0.8.1 '@cspotcode/source-map-support': 0.8.1
sharp: 0.34.5 sharp: 0.35.3(@types/node@26.1.1)
undici: 7.28.0 undici: 7.28.0
workerd: 1.20260708.1 workerd: 1.20260708.1
ws: 8.21.0 ws: 8.21.0
youch: 4.1.0-beta.10 youch: 4.1.0-beta.10
transitivePeerDependencies: transitivePeerDependencies:
- '@types/node'
- bufferutil - bufferutil
- utf-8-validate - utf-8-validate
@@ -10365,12 +10171,19 @@ snapshots:
nanoid@3.3.16: {} nanoid@3.3.16: {}
neotraverse@0.6.18: {} neotraverse@1.0.1: {}
nlcst-to-string@4.0.0: nlcst-to-string@4.0.0:
dependencies: dependencies:
'@types/nlcst': 2.0.3 '@types/nlcst': 2.0.3
node-emoji@2.2.0:
dependencies:
'@sindresorhus/is': 4.6.0
char-regex: 1.0.2
emojilib: 2.4.0
skin-tone: 2.0.0
node-fetch-native@1.6.7: {} node-fetch-native@1.6.7: {}
node-mock-http@1.0.4: {} node-mock-http@1.0.4: {}
@@ -10982,6 +10795,15 @@ snapshots:
hastscript: 9.0.1 hastscript: 9.0.1
unist-util-visit: 5.1.0 unist-util-visit: 5.1.0
rehype-code-group@1.0.1:
dependencies:
'@types/hast': 3.0.5
'@types/mdast': 4.0.4
hast-util-to-string: 3.0.1
node-emoji: 2.2.0
unified: 11.0.5
unist-util-visit: 5.1.0
rehype-components@0.3.0: rehype-components@0.3.0:
dependencies: dependencies:
hast-util-is-element: 3.0.0 hast-util-is-element: 3.0.0
@@ -11361,37 +11183,6 @@ snapshots:
es-errors: 1.3.0 es-errors: 1.3.0
es-object-atoms: 1.1.2 es-object-atoms: 1.1.2
sharp@0.34.5:
dependencies:
'@img/colour': 1.1.0
detect-libc: 2.1.2
semver: 7.8.5
optionalDependencies:
'@img/sharp-darwin-arm64': 0.34.5
'@img/sharp-darwin-x64': 0.34.5
'@img/sharp-libvips-darwin-arm64': 1.2.4
'@img/sharp-libvips-darwin-x64': 1.2.4
'@img/sharp-libvips-linux-arm': 1.2.4
'@img/sharp-libvips-linux-arm64': 1.2.4
'@img/sharp-libvips-linux-ppc64': 1.2.4
'@img/sharp-libvips-linux-riscv64': 1.2.4
'@img/sharp-libvips-linux-s390x': 1.2.4
'@img/sharp-libvips-linux-x64': 1.2.4
'@img/sharp-libvips-linuxmusl-arm64': 1.2.4
'@img/sharp-libvips-linuxmusl-x64': 1.2.4
'@img/sharp-linux-arm': 0.34.5
'@img/sharp-linux-arm64': 0.34.5
'@img/sharp-linux-ppc64': 0.34.5
'@img/sharp-linux-riscv64': 0.34.5
'@img/sharp-linux-s390x': 0.34.5
'@img/sharp-linux-x64': 0.34.5
'@img/sharp-linuxmusl-arm64': 0.34.5
'@img/sharp-linuxmusl-x64': 0.34.5
'@img/sharp-wasm32': 0.34.5
'@img/sharp-win32-arm64': 0.34.5
'@img/sharp-win32-ia32': 0.34.5
'@img/sharp-win32-x64': 0.34.5
sharp@0.35.3(@types/node@26.1.1): sharp@0.35.3(@types/node@26.1.1):
dependencies: dependencies:
'@img/colour': 1.1.0 '@img/colour': 1.1.0
@@ -11492,6 +11283,10 @@ snapshots:
arg: 5.0.2 arg: 5.0.2
sax: 1.6.0 sax: 1.6.0
skin-tone@2.0.0:
dependencies:
unicode-emoji-modifier-base: 1.0.0
slash@3.0.0: {} slash@3.0.0: {}
smol-toml@1.7.0: {} smol-toml@1.7.0: {}
@@ -11826,6 +11621,8 @@ snapshots:
unicode-canonical-property-names-ecmascript@2.0.1: {} unicode-canonical-property-names-ecmascript@2.0.1: {}
unicode-emoji-modifier-base@1.0.0: {}
unicode-match-property-ecmascript@2.0.0: unicode-match-property-ecmascript@2.0.0:
dependencies: dependencies:
unicode-canonical-property-names-ecmascript: 2.0.1 unicode-canonical-property-names-ecmascript: 2.0.1
@@ -12158,19 +11955,20 @@ snapshots:
'@cloudflare/workerd-linux-arm64': 1.20260708.1 '@cloudflare/workerd-linux-arm64': 1.20260708.1
'@cloudflare/workerd-windows-64': 1.20260708.1 '@cloudflare/workerd-windows-64': 1.20260708.1
wrangler@4.110.0: wrangler@4.110.0(@types/node@26.1.1):
dependencies: dependencies:
'@cloudflare/kv-asset-handler': 0.5.0 '@cloudflare/kv-asset-handler': 0.5.0
'@cloudflare/unenv-preset': 2.16.1(unenv@2.0.0-rc.24)(workerd@1.20260708.1) '@cloudflare/unenv-preset': 2.16.1(unenv@2.0.0-rc.24)(workerd@1.20260708.1)
blake3-wasm: 2.1.5 blake3-wasm: 2.1.5
esbuild: 0.28.1 esbuild: 0.28.1
miniflare: 4.20260708.1 miniflare: 4.20260708.1(@types/node@26.1.1)
path-to-regexp: 6.3.0 path-to-regexp: 6.3.0
unenv: 2.0.0-rc.24 unenv: 2.0.0-rc.24
workerd: 1.20260708.1 workerd: 1.20260708.1
optionalDependencies: optionalDependencies:
fsevents: 2.3.3 fsevents: 2.3.3
transitivePeerDependencies: transitivePeerDependencies:
- '@types/node'
- bufferutil - bufferutil
- utf-8-validate - utf-8-validate
+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="71" height="20" role="img" aria-label="Android"><title>Android</title><filter id="blur"><feGaussianBlur stdDeviation="16"/></filter><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="71" height="20" rx="3"/></clipPath><g clip-path="url(#r)"><rect width="0" height="20" fill="#555"/><rect x="0" width="71" height="20" fill="#3ddc84"/><rect width="71" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><image x="5" y="3" width="14" height="14" href="data:image/svg+xml;base64,PHN2ZyBmaWxsPSJ3aGl0ZSIgcm9sZT0iaW1nIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHRpdGxlPkFuZHJvaWQ8L3RpdGxlPjxwYXRoIGQ9Ik0xOC40Mzk1IDUuNTU4NmMtLjY3NSAxLjE2NjQtMS4zNTIgMi4zMzE4LTIuMDI3NCAzLjQ5OC0uMDM2Ni0uMDE1NS0uMDc0Mi0uMDI4Ni0uMTExMy0uMDQzLTEuODI0OS0uNjk1Ny0zLjQ4NC0uOC00LjQyLS43ODctMS44NTUxLjAxODUtMy4zNTQ0LjQ2NDMtNC4yNTk3LjgyMDMtLjA4NC0uMTQ5NC0xLjc1MjYtMy4wMjEtMi4wMjE1LTMuNDg2NGExLjE0NTEgMS4xNDUxIDAgMCAwLS4xNDA2LS4xOTE0Yy0uMzMxMi0uMzY0LS45MDU0LS40ODU5LTEuMzc5LS4yMDMtLjQ3NS4yODItLjcxMzYuOTM2MS0uMzg4NiAxLjUwMTkgMS45NDY2IDMuMzY5Ni0uMDk2Ni0uMjE1OCAxLjk0NzMgMy4zNTkzLjAxNzIuMDMxLS40OTQ2LjI2NDItMS4zOTI2IDEuMDE3N0MyLjg5ODcgMTIuMTc2LjQ1MiAxNC43NzIgMCAxOC45OTAyaDI0Yy0uMTE5LTEuMTEwOC0uMzY4Ni0yLjA5OS0uNzQ2MS0zLjA2ODMtLjc0MzgtMS45MTE4LTEuODQzNS0zLjI5MjgtMi43NDAyLTQuMTgzNmExMi4xMDQ4IDEyLjEwNDggMCAwIDAtMi4xMzA5LTEuNjg3NWMuNjU5NC0xLjEyMiAxLjMxMi0yLjI1NTkgMS45NjQ5LTMuMzg0OC4yMDc3LS4zNjE1LjE4ODYtLjc5NTYtLjAwNzktMS4xMTkxYTEuMTAwMSAxLjEwMDEgMCAwIDAtLjg1MTUtLjUzMzJjLS41MjI1LS4wNTM2LS45MzkyLjMxMjgtMS4wNDg4LjU0NDl6bS0uMDM5MSA4LjQ2MWMuMzk0NC41OTI2LjMyNCAxLjMzMDYtLjE1NjMgMS42NTAzLS40Nzk5LjMxOTctMS4xODguMDk4NS0xLjU4Mi0uNDk0MS0uMzk0NC0uNTkyNy0uMzI0LTEuMzMwNy4xNTYzLTEuNjUwNC40NzI3LS4zMTUgMS4xODEyLS4xMDg2IDEuNTgyLjQ5NDF6TTcuMjA3IDEzLjUyNzNjLjQ4MDMuMzE5Ny41NTA2IDEuMDU3Ny4xNTYzIDEuNjUwNC0uMzk0LjU5MjYtMS4xMDM4LjgxMzgtMS41ODQuNDk0MS0uNDgtLjMxOTctLjU1MDMtMS4wNTc3LS4xNTYzLTEuNjUwNC40MDA4LS42MDIxIDEuMTA4Ny0uODEwNiAxLjU4NC0uNDk0MXoiLz48L3N2Zz4="/><g transform="scale(.1)"><g aria-hidden="true" fill="#010101"><text x="445" y="150" fill-opacity=".8" filter="url(#blur)" textLength="430">Android</text><text x="445" y="150" fill-opacity=".3" textLength="430">Android</text></g><text x="445" y="140" textLength="430">Android</text></g></g></svg>

After

Width:  |  Height:  |  Size: 2.5 KiB

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="67" height="20" role="img" aria-label="C/C++"><title>C/C++</title><filter id="blur"><feGaussianBlur stdDeviation="16"/></filter><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="67" height="20" rx="3"/></clipPath><g clip-path="url(#r)"><rect width="0" height="20" fill="#555"/><rect x="0" width="67" height="20" fill="#00599c"/><rect width="67" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><image x="5" y="3" width="14" height="14" href="data:image/svg+xml;base64,PHN2ZyBmaWxsPSJ3aGl0ZSIgcm9sZT0iaW1nIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHRpdGxlPkMrKzwvdGl0bGU+PHBhdGggZD0iTTIyLjM5NCA2Yy0uMTY3LS4yOS0uMzk4LS41NDMtLjY1Mi0uNjlMMTIuOTI2LjIyYy0uNTA5LS4yOTQtMS4zNC0uMjk0LTEuODQ4IDBMMi4yNiA1LjMxYy0uNTA4LjI5My0uOTIzIDEuMDEzLS45MjMgMS42djEwLjE4YzAgLjI5NC4xMDQuNjIuMjcxLjkxLjE2Ny4yOS4zOTguNTQzLjY1Mi42OWw4LjgxNiA1LjA5Yy41MDguMjkzIDEuMzQuMjkzIDEuODQ4IDBsOC44MTYtNS4wOWMuMjU0LS4xNDcuNDg1LS40LjY1Mi0uNjkuMTY3LS4yOS4yNy0uNjE2LjI3LS45MVY2LjkxYy4wMDMtLjI5NC0uMS0uNjItLjI2OC0uOTF6TTEyIDE5LjExYy0zLjkyIDAtNy4xMDktMy4xOS03LjEwOS03LjExIDAtMy45MiAzLjE5LTcuMTEgNy4xMS03LjExYTcuMTMzIDcuMTMzIDAgMDE2LjE1NiAzLjU1M2wtMy4wNzYgMS43OGEzLjU2NyAzLjU2NyAwIDAwLTMuMDgtMS43OEEzLjU2IDMuNTYgMCAwMDguNDQ0IDEyIDMuNTYgMy41NiAwIDAwMTIgMTUuNTU1YTMuNTcgMy41NyAwIDAwMy4wOC0xLjc3OGwzLjA3OCAxLjc4QTcuMTM1IDcuMTM1IDAgMDExMiAxOS4xMXptNy4xMS02LjcxNWgtLjc5di43OWgtLjc5di0uNzloLS43OXYtLjc5aC43OXYtLjc5aC43OXYuNzloLjc5em0yLjk2MiAwaC0uNzl2Ljc5aC0uNzl2LS43OWgtLjc5di0uNzloLjc5di0uNzloLjc5di43OWguNzl6Ii8+PC9zdmc+"/><g transform="scale(.1)"><g aria-hidden="true" fill="#010101"><text x="425" y="150" fill-opacity=".8" filter="url(#blur)" textLength="390">C/C++</text><text x="425" y="150" fill-opacity=".3" textLength="390">C/C++</text></g><text x="425" y="140" textLength="390">C/C++</text></g></g></svg>

After

Width:  |  Height:  |  Size: 2.0 KiB

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="35" height="20" role="img" aria-label="C"><title>C</title><filter id="blur"><feGaussianBlur stdDeviation="16"/></filter><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="35" height="20" rx="3"/></clipPath><g clip-path="url(#r)"><rect width="0" height="20" fill="#555"/><rect x="0" width="35" height="20" fill="#00599c"/><rect width="35" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><image x="5" y="3" width="14" height="14" href="data:image/svg+xml;base64,PHN2ZyBmaWxsPSJ3aGl0ZSIgcm9sZT0iaW1nIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHRpdGxlPkM8L3RpdGxlPjxwYXRoIGQ9Ik0xNi41OTIxIDkuMTk2MnMtLjM1NC0zLjI5OC0zLjYyNy0zLjM5Yy0zLjI3NDEtLjA5LTQuOTU1MiAyLjQ3NC00Ljk1NTIgNi4xNCAwIDMuNjY1MSAxLjg1OCA2LjU5NzIgNS4wNDUxIDYuNTk3MiAzLjE4NCAwIDMuNTM4MS0zLjY2NSAzLjUzODEtMy42NjVsNi4xMDQxLjM2NXMuMzYgMy4zMS0yLjE5NiA1LjgzNmMtMi41NTIgMi41MjQxLTUuNjkwMSAyLjkzNzEtNy44NzYyIDIuOTIwMS0yLjE5LS4wMTctNS4yMjYxLjAzNC04LjE2MDItMi45Ny0yLjkzOC0zLjAxMDEtMy40MzYtNS45MzAyLTMuNDM2LTguODAwMiAwLTIuODcwMS41NTYtNi42NzAyIDQuMDQ3LTkuNTUwMkM3LjQ0NC43MiA5Ljg0OSAwIDEyLjI1NCAwYzEwLjA0MjIgMCAxMC43MTcyIDkuMjYwMiAxMC43MTcyIDkuMjYwMnoiLz48L3N2Zz4="/><g transform="scale(.1)"><g aria-hidden="true" fill="#010101"><text x="265" y="150" fill-opacity=".8" filter="url(#blur)" textLength="70">C</text><text x="265" y="150" fill-opacity=".3" textLength="70">C</text></g><text x="265" y="140" textLength="70">C</text></g></g></svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="87" height="20" role="img" aria-label="HTML/CSS"><title>HTML/CSS</title><filter id="blur"><feGaussianBlur stdDeviation="16"/></filter><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="87" height="20" rx="3"/></clipPath><g clip-path="url(#r)"><rect width="0" height="20" fill="#555"/><rect x="0" width="87" height="20" fill="#e34f26"/><rect width="87" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><image x="5" y="3" width="14" height="14" href="data:image/svg+xml;base64,PHN2ZyBmaWxsPSJ3aGl0ZSIgcm9sZT0iaW1nIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHRpdGxlPkhUTUw1PC90aXRsZT48cGF0aCBkPSJNMS41IDBoMjFsLTEuOTEgMjEuNTYzTDExLjk3NyAyNGwtOC41NjQtMi40MzhMMS41IDB6bTcuMDMxIDkuNzVsLS4yMzItMi43MTggMTAuMDU5LjAwMy4yMy0yLjYyMkw1LjQxMiA0LjQxbC42OTggOC4wMWg5LjEyNmwtLjMyNiAzLjQyNi0yLjkxLjgwNC0yLjk1NS0uODEtLjE4OC0yLjExSDYuMjQ4bC4zMyA0LjE3MUwxMiAxOS4zNTFsNS4zNzktMS40NDMuNzQ0LTguMTU3SDguNTMxeiIvPjwvc3ZnPg=="/><g transform="scale(.1)"><g aria-hidden="true" fill="#010101"><text x="525" y="150" fill-opacity=".8" filter="url(#blur)" textLength="590">HTML/CSS</text><text x="525" y="150" fill-opacity=".3" textLength="590">HTML/CSS</text></g><text x="525" y="140" textLength="590">HTML/CSS</text></g></g></svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="53" height="20" role="img" aria-label="Java"><title>Java</title><filter id="blur"><feGaussianBlur stdDeviation="16"/></filter><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="53" height="20" rx="3"/></clipPath><g clip-path="url(#r)"><rect width="0" height="20" fill="#555"/><rect x="0" width="53" height="20" fill="#ed8b00"/><rect width="53" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><image x="5" y="3" width="14" height="14" href="data:image/svg+xml;base64,PHN2ZyBmaWxsPSJ3aGl0ZSIgcm9sZT0iaW1nIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHRpdGxlPk9wZW5KREs8L3RpdGxlPjxwYXRoIGQ9Ik0xMS45MTUgMCAxMS43LjIxNUM5LjUxNSAyLjQgNy40NyA2LjM5IDYuMDQ2IDEwLjQ4M2MtMS4wNjQgMS4wMjQtMy42MzMgMi44MS0zLjcxMSAzLjU1MS0uMDkzLjg3IDEuNzQ2IDIuNjExIDEuNTUgMy4yMzUtLjE5OC42MjUtMS4zMDQgMS40MDgtMS4wMTQgMS45MzkuMS4xODguODIzLjAxMSAxLjI3Ny0uNDkxYTEzLjM4OSAxMy4zODkgMCAwIDAtLjAxNyAyLjE0Yy4wNzYuOTA2LjI3IDEuNjY4LjY0MyAyLjIzMi4zNzIuNTYzLjk1Ni45MTEgMS42NjcuOTExLjM5NyAwIC43MjctLjExNCAxLjAyNC0uMjY0LjI5OC0uMTQ5LjU3MS0uMzMuOTEtLjUuNjgtLjM0IDEuNjM0LS42NjYgMy41My0uNjA0IDEuOTAzLjA2MiAyLjg3Mi4zOSAzLjU1OS43MDQuNjg3LjMxNCAxLjE1LjY2NCAxLjkyNS42NjQuNzY3IDAgMS4zOTUtLjMzNiAxLjgwNy0uOS40MTItLjU2My42MzEtMS4zMy43Mi0yLjI0LjA2LS42MjMuMDU1LTEuMzIgMC0yLjA2Ni40NTQuNDUgMS4xMTcuNjA0IDEuMjEzLjQyNC4yOS0uNTMtLjgxNi0xLjMxNC0xLjAxMy0xLjkzNy0uMTk4LS42MjQgMS42NDItMi4zNjYgMS41NDktMy4yMzYtLjA4LS43NDgtMi43MDctMi41NjgtMy43NDgtMy41ODZDMTYuNDI4IDYuMzc0IDE0LjMwOCAyLjM5NCAxMi4xMy4yMTV6bS4xNzUgNi4wMzhhMi45NSAyLjk1IDAgMCAxIDIuOTQzIDIuOTQyIDIuOTUgMi45NSAwIDAgMS0yLjk0MyAyLjk0M0EyLjk1IDIuOTUgMCAwIDEgOS4xNDggOC45OGEyLjk1IDIuOTUgMCAwIDEgMi45NDItMi45NDJ6TTguNjg1IDcuOTgzYTMuNTE1IDMuNTE1IDAgMCAwLS4xNDUuOTk3YzAgMS45NTEgMS42IDMuNTUgMy41NSAzLjU1IDEuOTUgMCAzLjU1LTEuNTk4IDMuNTUtMy41NSAwLS4zMjktLjA0Ni0uNjQ4LS4xMzItLjk1MS4zMzQuMDk1LjY0LjIwOC45MTUuMzM2YTQyLjY5OSA0Mi42OTkgMCAwIDEgMi4wNDIgNS44MjljLjY3OCAyLjU0NSAxLjAxIDQuOTIuODQ2IDYuNjA3LS4wODIuODQ0LS4yOSAxLjUxLS42MDYgMS45NC0uMzE1LjQzMS0uNzEzLjY1MS0xLjMxNS42NTEtLjU5MyAwLS45MzItLjI3LTEuNjczLS42MS0uNzQxLS4zMzgtMS44MjUtLjY5NC0zLjc5Mi0uNzU4LTEuOTc0LS4wNjQtMy4wNzMuMjkzLTMuODIxLjY2OS0uMzc1LjE4OC0uNjU5LjM3My0uOTExLjVzLS40NjYuMi0uNzUyLjJjLS41MyAwLS44NzYtLjIwOS0xLjE2LS42NC0uMjg1LS40My0uNDc0LTEuMTAxLS41NDUtMS45NDgtLjE0MS0xLjY5My4xNzYtNC4wNjkuODIzLTYuNjE0YTQzLjE1NSA0My4xNTUgMCAwIDEgMS45MzQtNS43ODNjLjM0OC0uMTY3Ljc0OS0uMzEgMS4xOTItLjQyNXptLTMuMzgyIDQuMzYyYS4yMTYuMjE2IDAgMCAxIC4xMy4wMzFjLS4xNjYuNTYtLjMyMyAxLjExNi0uNDYzIDEuNjY1YTMzLjg0OSAzMy44NDkgMCAwIDAtLjU0NyAyLjU1NSAzLjkgMy45IDAgMCAwLS4yLS4zOWMtLjU4LTEuMDEyLS45MTQtMS42NDItMS4xNi0yLjA4LjMxNS0uMjQgMS42NzktMS43NTUgMi4yNC0xLjc4MXptMTMuMzk0LjAxYy41NjIuMDI3IDEuOTI2IDEuNTQzIDIuMjQgMS43ODMtLjI0Ni40MzgtLjU4IDEuMDY4LTEuMTYgMi4wOGE0LjQyOCA0LjQyOCAwIDAgMC0uMTYzLjMwOSAzMi4zNTQgMzIuMzU0IDAgMCAwLS41NjItMi40OSA0MC41NzkgNDAuNTc5IDAgMCAwLS40ODItMS42NTIuMjE2LjIxNiAwIDAgMSAuMTI3LS4wM3oiLz48L3N2Zz4="/><g transform="scale(.1)"><g aria-hidden="true" fill="#010101"><text x="355" y="150" fill-opacity=".8" filter="url(#blur)" textLength="250">Java</text><text x="355" y="150" fill-opacity=".3" textLength="250">Java</text></g><text x="355" y="140" textLength="250">Java</text></g></g></svg>

After

Width:  |  Height:  |  Size: 3.4 KiB

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="51" height="20" role="img" aria-label="KMP"><title>KMP</title><defs><linearGradient id="bg" x2="0" y2="100%"><stop offset="0" stop-color="#22004b"/><stop offset="1" stop-color="#15002f"/></linearGradient><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient></defs><clipPath id="r"><rect width="51" height="20" rx="3"/></clipPath><g clip-path="url(#r)"><rect width="51" height="20" fill="url(#bg)"/><rect width="51" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><image x="5" y="3" width="14" height="14" href="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5NiIgaGVpZ2h0PSI5NiIgZmlsbD0ibm9uZSIgdmlld0JveD0iMCAwIDk2IDk2Ij4KICAgIDxwYXRoIGZpbGw9InVybCgjYSkiIGQ9Ik0wIDQ1LjEyNlYuMTY3bDQ0Ljk1OSA0NC45NTl6bTAgNS43NDhWOTZoLjExNUw0NS4yNCA1MC44NzR6bTUxLjk4MS02Ljg1NUw5NiAwSDcuOTYzem0uMDU3IDguMTg3TDguMjQ1IDk2aDg3LjU4OXoiLz4KICAgIDxkZWZzPgogICAgICAgIDxyYWRpYWxHcmFkaWVudCBpZD0iYSIgY3g9IjAiIGN5PSIwIiByPSIxIiBncmFkaWVudFRyYW5zZm9ybT0icm90YXRlKDEzNSA0MS42MzYgMjIuNTE4KXNjYWxlKDEyMy4wMzcpIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iIzM3YmNmZCIvPjxzdG9wIG9mZnNldD0iLjU4IiBzdG9wLWNvbG9yPSIjN2Y1MmZmIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjYzcxMWUxIi8+PC9yYWRpYWxHcmFkaWVudD4KICAgIDwvZGVmcz4KPC9zdmc+"/><g transform="scale(.1)"><text x="345" y="140" textLength="230">KMP</text></g></g></svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="59" height="20" role="img" aria-label="Kotlin"><title>Kotlin</title><filter id="blur"><feGaussianBlur stdDeviation="16"/></filter><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="59" height="20" rx="3"/></clipPath><g clip-path="url(#r)"><rect width="0" height="20" fill="#555"/><rect x="0" width="59" height="20" fill="#7f52ff"/><rect width="59" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><image x="5" y="3" width="14" height="14" href="data:image/svg+xml;base64,PHN2ZyBmaWxsPSJ3aGl0ZSIgcm9sZT0iaW1nIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHRpdGxlPktvdGxpbjwvdGl0bGU+PHBhdGggZD0iTTI0IDI0SDBWMGgyNEwxMiAxMloiLz48L3N2Zz4="/><g transform="scale(.1)"><g aria-hidden="true" fill="#010101"><text x="385" y="150" fill-opacity=".8" filter="url(#blur)" textLength="310">Kotlin</text><text x="385" y="150" fill-opacity=".3" textLength="310">Kotlin</text></g><text x="385" y="140" textLength="310">Kotlin</text></g></g></svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="67" height="20" role="img" aria-label="Python"><title>Python</title><filter id="blur"><feGaussianBlur stdDeviation="16"/></filter><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="67" height="20" rx="3"/></clipPath><g clip-path="url(#r)"><rect width="0" height="20" fill="#555"/><rect x="0" width="67" height="20" fill="#3776ab"/><rect width="67" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><image x="5" y="3" width="14" height="14" href="data:image/svg+xml;base64,PHN2ZyBmaWxsPSJ3aGl0ZSIgcm9sZT0iaW1nIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHRpdGxlPlB5dGhvbjwvdGl0bGU+PHBhdGggZD0iTTE0LjI1LjE4bC45LjIuNzMuMjYuNTkuMy40NS4zMi4zNC4zNC4yNS4zNC4xNi4zMy4xLjMuMDQuMjYuMDIuMi0uMDEuMTNWOC41bC0uMDUuNjMtLjEzLjU1LS4yMS40Ni0uMjYuMzgtLjMuMzEtLjMzLjI1LS4zNS4xOS0uMzUuMTQtLjMzLjEtLjMuMDctLjI2LjA0LS4yMS4wMkg4Ljc3bC0uNjkuMDUtLjU5LjE0LS41LjIyLS40MS4yNy0uMzMuMzItLjI3LjM1LS4yLjM2LS4xNS4zNy0uMS4zNS0uMDcuMzItLjA0LjI3LS4wMi4yMXYzLjA2SDMuMTdsLS4yMS0uMDMtLjI4LS4wNy0uMzItLjEyLS4zNS0uMTgtLjM2LS4yNi0uMzYtLjM2LS4zNS0uNDYtLjMyLS41OS0uMjgtLjczLS4yMS0uODgtLjE0LTEuMDUtLjA1LTEuMjMuMDYtMS4yMi4xNi0xLjA0LjI0LS44Ny4zMi0uNzEuMzYtLjU3LjQtLjQ0LjQyLS4zMy40Mi0uMjQuNC0uMTYuMzYtLjEuMzItLjA1LjI0LS4wMWguMTZsLjA2LjAxaDguMTZ2LS44M0g2LjE4bC0uMDEtMi43NS0uMDItLjM3LjA1LS4zNC4xMS0uMzEuMTctLjI4LjI1LS4yNi4zMS0uMjMuMzgtLjIuNDQtLjE4LjUxLS4xNS41OC0uMTIuNjQtLjEuNzEtLjA2Ljc3LS4wNC44NC0uMDIgMS4yNy4wNXptLTYuMyAxLjk4bC0uMjMuMzMtLjA4LjQxLjA4LjQxLjIzLjM0LjMzLjIyLjQxLjA5LjQxLS4wOS4zMy0uMjIuMjMtLjM0LjA4LS40MS0uMDgtLjQxLS4yMy0uMzMtLjMzLS4yMi0uNDEtLjA5LS40MS4wOXptMTMuMDkgMy45NWwuMjguMDYuMzIuMTIuMzUuMTguMzYuMjcuMzYuMzUuMzUuNDcuMzIuNTkuMjguNzMuMjEuODguMTQgMS4wNC4wNSAxLjIzLS4wNiAxLjIzLS4xNiAxLjA0LS4yNC44Ni0uMzIuNzEtLjM2LjU3LS40LjQ1LS40Mi4zMy0uNDIuMjQtLjQuMTYtLjM2LjA5LS4zMi4wNS0uMjQuMDItLjE2LS4wMWgtOC4yMnYuODJoNS44NGwuMDEgMi43Ni4wMi4zNi0uMDUuMzQtLjExLjMxLS4xNy4yOS0uMjUuMjUtLjMxLjI0LS4zOC4yLS40NC4xNy0uNTEuMTUtLjU4LjEzLS42NC4wOS0uNzEuMDctLjc3LjA0LS44NC4wMS0xLjI3LS4wNC0xLjA3LS4xNC0uOS0uMi0uNzMtLjI1LS41OS0uMy0uNDUtLjMzLS4zNC0uMzQtLjI1LS4zNC0uMTYtLjMzLS4xLS4zLS4wNC0uMjUtLjAyLS4yLjAxLS4xM3YtNS4zNGwuMDUtLjY0LjEzLS41NC4yMS0uNDYuMjYtLjM4LjMtLjMyLjMzLS4yNC4zNS0uMi4zNS0uMTQuMzMtLjEuMy0uMDYuMjYtLjA0LjIxLS4wMi4xMy0uMDFoNS44NGwuNjktLjA1LjU5LS4xNC41LS4yMS40MS0uMjguMzMtLjMyLjI3LS4zNS4yLS4zNi4xNS0uMzYuMS0uMzUuMDctLjMyLjA0LS4yOC4wMi0uMjFWNi4wN2gyLjA5bC4xNC4wMXptLTYuNDcgMTQuMjVsLS4yMy4zMy0uMDguNDEuMDguNDEuMjMuMzMuMzMuMjMuNDEuMDguNDEtLjA4LjMzLS4yMy4yMy0uMzMuMDgtLjQxLS4wOC0uNDEtLjIzLS4zMy0uMzMtLjIzLS40MS0uMDgtLjQxLjA4eiIvPjwvc3ZnPg=="/><g transform="scale(.1)"><g aria-hidden="true" fill="#010101"><text x="425" y="150" fill-opacity=".8" filter="url(#blur)" textLength="390">Python</text><text x="425" y="150" fill-opacity=".3" textLength="390">Python</text></g><text x="425" y="140" textLength="390">Python</text></g></g></svg>

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 323 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 285 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 423 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

-10
View File
@@ -1,10 +0,0 @@
# 每行一个图片 URL,支持 jpg/png/webp/avif/gif后缀
# # 号开头的行为注释,空行会被忽略
# 示例:
https://s41.ax1x.com/2026/05/13/peXsfit.webp
https://s41.ax1x.com/2026/05/13/peXyh79.jpg
https://s41.ax1x.com/2026/05/13/peXshJP.webp
https://s41.ax1x.com/2026/05/13/peXyWm4.jpg
https://s41.ax1x.com/2026/05/13/peXsRII.webp
https://s41.ax1x.com/2026/05/13/peXyf0J.jpg
https://s41.ax1x.com/2026/05/13/peXs2dA.webp
Binary file not shown.

Before

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 94 KiB

-10
View File
@@ -1,10 +0,0 @@
# 每行一个图片 URL,支持 jpg/png/webp/avif/gif后缀
# # 号开头的行为注释,空行会被忽略
# 示例:
https://s41.ax1x.com/2026/05/13/peXsfit.webp
https://s41.ax1x.com/2026/05/13/peXyh79.jpg
https://s41.ax1x.com/2026/05/13/peXshJP.webp
https://s41.ax1x.com/2026/05/13/peXyWm4.jpg
https://s41.ax1x.com/2026/05/13/peXsRII.webp
https://s41.ax1x.com/2026/05/13/peXyf0J.jpg
https://s41.ax1x.com/2026/05/13/peXs2dA.webp
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 MiB

-12
View File
@@ -423,18 +423,6 @@ async function generatePoster() {
); );
} }
// Site Info (Left of QR)
const siteInfoX = qrX - 16 * scale;
ctx.textAlign = "right";
ctx.fillStyle = "#9ca3af";
ctx.font = `${12 * scale}px 'Roboto', sans-serif`;
ctx.fillText(i18n(I18nKey.scanToRead), siteInfoX, textCenterY - 20 * scale);
ctx.fillStyle = "#1f2937";
ctx.font = `700 ${20 * scale}px 'Roboto', sans-serif`;
ctx.fillText(siteTitle, siteInfoX, textCenterY + 4 * scale);
// Finalize // Finalize
posterImage = canvas.toDataURL("image/png"); posterImage = canvas.toDataURL("image/png");
generating = false; generating = false;
+2 -3
View File
@@ -43,7 +43,7 @@ export const backgroundWallpaper: BackgroundWallpaperConfig = {
// 桌面背景图片(支持单张或多张随机) // 桌面背景图片(支持单张或多张随机)
// desktop: "assets/images/DesktopWallpaper/d1.avif", // desktop: "assets/images/DesktopWallpaper/d1.avif",
desktop: [ desktop: [
"assets/images/DesktopWallpaper/musketeers.png", "assets/images/DesktopWallpaper/lycaon.jpg",
], ],
// 移动背景图片(支持单张或多张随机) // 移动背景图片(支持单张或多张随机)
// mobile: "assets/images/MobileWallpaper/m1.avif", // mobile: "assets/images/MobileWallpaper/m1.avif",
@@ -76,8 +76,7 @@ export const backgroundWallpaper: BackgroundWallpaperConfig = {
titleSize: "3.8rem", titleSize: "3.8rem",
// 主页横幅副标题 // 主页横幅副标题
subtitle: [ subtitle: [
"Vivo de mis sueños, porque la realidad es muy corta.", "爱能克服远距离 多远都要在一起"
"No por mucho madrugar amanece más temprano."
], ],
// 主页横幅副标题字体大小 // 主页横幅副标题字体大小
subtitleSize: "1.5rem", subtitleSize: "1.5rem",
+30 -3
View File
@@ -17,7 +17,7 @@ export const friendsPageConfig: FriendsPageConfig = {
showComment: false, showComment: false,
// 是否开启随机排序配置,如果开启,就会忽略权重,构建时进行一次随机排序 // 是否开启随机排序配置,如果开启,就会忽略权重,构建时进行一次随机排序
randomizeSort: false, randomizeSort: true,
}; };
// 友链配置 // 友链配置
@@ -27,7 +27,7 @@ export const friendsConfig: FriendLink[] = [
imgurl: "https://avatars.githubusercontent.com/u/91077200?v=4", imgurl: "https://avatars.githubusercontent.com/u/91077200?v=4",
desc: "初雪 · 冰", desc: "初雪 · 冰",
siteurl: "https://wolf.snowlyicewolf.club/", siteurl: "https://wolf.snowlyicewolf.club/",
tags: ["Blog"], tags: ["博客"],
weight: 10, // 权重,数字越大排序越靠前 weight: 10, // 权重,数字越大排序越靠前
enabled: true, // 是否启用 enabled: true, // 是否启用
}, },
@@ -36,8 +36,35 @@ export const friendsConfig: FriendLink[] = [
imgurl: "https://q.qlogo.cn/headimg_dl?dst_uin=2011332114&spec=640&img_type=png", imgurl: "https://q.qlogo.cn/headimg_dl?dst_uin=2011332114&spec=640&img_type=png",
desc: "The Wind", desc: "The Wind",
siteurl: "https://blog.thewinds.top/", siteurl: "https://blog.thewinds.top/",
tags: ["Blog"], tags: ["博客"],
weight: 9, weight: 9,
enabled: false,
},
{
title: "绀漓の锟斤拷",
imgurl: "https://avatars.githubusercontent.com/u/89193494?v=4",
desc: "锟斤拷烫烫烫",
siteurl: "https://blog.sevtinge.com/",
tags: ["博客"],
weight: 8,
enabled: true,
},
{
title: "夜白的小空间",
imgurl: "/avatars/yebai.jpg",
desc: "Live Today,Love Tomorrow,Unite Forever.",
siteurl: "https://blog.yebaiwn.top",
tags: ["博客"],
weight: 7,
enabled: true,
},
{
title: "毛窝",
imgurl: "https://maowo.space/wp-content/uploads/2026/09/512x_2.avif",
desc: "发现毛毛们在互联网上的小角落",
siteurl: "https://maowo.space/",
tags: ["博客聚合"],
weight: 1,
enabled: true, enabled: true,
}, },
]; ];
+4 -17
View File
@@ -16,23 +16,10 @@ export const galleryConfig: GalleryConfig = {
// passwordHint: 密码提示,设置后在输入密码错误时显示(可选,需配合password使用) // passwordHint: 密码提示,设置后在输入密码错误时显示(可选,需配合password使用)
// 每添加一个数组项就相当于添加了一个相册,记得在 public/gallery/ 目录下创建对应的子目录并放入图片 // 每添加一个数组项就相当于添加了一个相册,记得在 public/gallery/ 目录下创建对应的子目录并放入图片
{ {
id: "firefly-2026", id: "cyans-commissions",
name: "可爱流萤", name: "墨青的稿件",
description: "飞萤之火自无梦的长夜亮起,绽放在终竟的明天。", description: "这么可爱的小摩羯,在哪里可以吃到呀",
location: "崩坏:星穹铁道", tags: ["Furry", "Black Cyan"],
date: "2026-01-01",
tags: ["崩坏星穹铁道", "流萤"],
},
{
id: "encrypted-test",
name: "加密相册示例",
description:
"这是一个加密相册的示例,设置了访问密码,只有输入正确的密码才能查看相册内容。",
location: "崩坏:星穹铁道",
date: "2026-02-01",
tags: ["加密相册", "示例"],
password: "123456",
passwordHint: "示例密码123456",
}, },
], ],
+1 -1
View File
@@ -8,7 +8,7 @@ export const musicPlayerConfig: MusicPlayerConfig = {
// 2. 导航栏:在本配置文件把showInNavbar设为false禁用即可 // 2. 导航栏:在本配置文件把showInNavbar设为false禁用即可
// 是否在导航栏显示音乐播放器入口 // 是否在导航栏显示音乐播放器入口
showInNavbar: true, showInNavbar: false,
// 使用方式:"meting" 使用 Meting API,"local" 使用本地音乐列表 // 使用方式:"meting" 使用 Meting API,"local" 使用本地音乐列表
mode: "meting", mode: "meting",
+10 -1
View File
@@ -26,6 +26,9 @@ const getDynamicNavBarConfig = (): NavBarConfig => {
], ],
}, },
// 相册
LinkPresets.Gallery,
// 友链 // 友链
LinkPresets.Friends, LinkPresets.Friends,
@@ -47,10 +50,16 @@ const getDynamicNavBarConfig = (): NavBarConfig => {
children: [ children: [
{ {
name: "GitHub", name: "GitHub",
url: "https://github.com/BlackCyan", url: "https://github.com/Black-Cyan",
external: true, external: true,
icon: "fa7-brands:github", icon: "fa7-brands:github",
}, },
{
name: "墨青的工具",
url: "https://tools.blackcyan.top",
external: true,
icon: "material-symbols:brick-outline-rounded",
},
], ],
}, },
]; ];
+2 -2
View File
@@ -62,7 +62,7 @@ export const sidebarLayoutConfig: SidebarLayoutConfig = {
// 组件类型:音乐播放器 // 组件类型:音乐播放器
type: "music", type: "music",
// 是否启用该组件 // 是否启用该组件
enable: true, enable: false,
// 组件位置 // 组件位置
position: "sticky", position: "sticky",
// 是否在文章详情页显示 // 是否在文章详情页显示
@@ -241,7 +241,7 @@ export const sidebarLayoutConfig: SidebarLayoutConfig = {
// 组件类型:音乐播放器 // 组件类型:音乐播放器
type: "music", type: "music",
// 是否启用该组件 // 是否启用该组件
enable: true, enable: false,
// 是否在文章详情页显示 // 是否在文章详情页显示
showOnPostPage: true, showOnPostPage: true,
}, },
+2 -2
View File
@@ -96,10 +96,10 @@ export const siteConfig: SiteConfig = {
// 页面开关配置 // 页面开关配置
pages: { pages: {
friends: true, friends: true,
sponsor: false, sponsor: true,
guestbook: false, guestbook: false,
bangumi: false, bangumi: false,
gallery: false, gallery: true,
anime: false, anime: false,
}, },
+15 -15
View File
@@ -26,7 +26,7 @@ export const sponsorConfig: SponsorConfig = {
name: "支付宝", name: "支付宝",
icon: "fa7-brands:alipay", icon: "fa7-brands:alipay",
// 收款码图片路径(需要放在 public 目录下) // 收款码图片路径(需要放在 public 目录下)
qrCode: "/assets/images/sponsor/alipay.png", qrCode: "/assets/images/sponsor/alipay.jpg",
link: "", link: "",
description: "使用 支付宝 扫码打赏", description: "使用 支付宝 扫码打赏",
enabled: true, enabled: true,
@@ -43,7 +43,7 @@ export const sponsorConfig: SponsorConfig = {
name: "ko-fi", name: "ko-fi",
icon: "simple-icons:kofi", icon: "simple-icons:kofi",
qrCode: "", qrCode: "",
link: "https://ko-fi.com/cuteleaf", link: "https://ko-fi.com/blackcyan",
description: "Buy a Coffee for Firefly", description: "Buy a Coffee for Firefly",
enabled: true, enabled: true,
}, },
@@ -60,20 +60,20 @@ export const sponsorConfig: SponsorConfig = {
// 打赏者列表(可选) // 打赏者列表(可选)
sponsors: [ sponsors: [
// 示例:已实名打赏者 // 示例:已实名打赏者
{ // {
name: "夏叶", // name: "夏叶",
avatar: // avatar:
"https://weavatar.com/avatar/d252655d40d6874417a720bad0a6c5f77f8f6a1fd2f882f8f338402dc37e4190?s=640", // "https://weavatar.com/avatar/d252655d40d6874417a720bad0a6c5f77f8f6a1fd2f882f8f338402dc37e4190?s=640",
amount: "¥50", // amount: "¥50",
date: "2025-10-01", // date: "2025-10-01",
}, // },
// 示例:匿名打赏者 // 示例:匿名打赏者
{ // {
name: "匿名用户", // name: "匿名用户",
// avatar: "", // // avatar: "",
amount: "¥20", // amount: "¥20",
date: "2025-10-01", // date: "2025-10-01",
}, // },
], ],
}; };
+16 -3
View File
@@ -1,9 +1,22 @@
{ {
"src:assets/images/firefly.png": "72d3af9ee699aced93", "src:assets/images/firefly.png": "72d3af9ee699aced93",
"public:gallery/firefly-2026/cover.avif": "7588a28a8f989e8d88",
"public:gallery/firefly-2026/1.avif": "c8bca9dde6d2babfb5",
"public:assets/images/other/beian.png": "c18975c3886cc99d5e", "public:assets/images/other/beian.png": "c18975c3886cc99d5e",
"src:assets/images/blog.jpg": "b8bde8b3bce89a9fce", "src:assets/images/blog.jpg": "b8bde8b3bce89a9fce",
"src:assets/images/MobileWallpaper/hunter.png": "7b8b9085a8bd83818d", "src:assets/images/MobileWallpaper/hunter.png": "7b8b9085a8bd83818d",
"src:assets/images/DesktopWallpaper/musketeers.png": "b2aba1bac3c9bfc2c5" "src:assets/images/DesktopWallpaper/musketeers.png": "b2aba1bac3c9bfc2c5",
"src:assets/images/DesktopWallpaper/lycaon.jpg": "7f99b45f7389555963",
"public:assets/images/sponsor/wechat.png": "dad9d7dbdad8dad6d0",
"public:assets/images/sponsor/alipay.jpg": "9393929a9a9a989897",
"src:content/posts/ensure-ntfs3-on-linux/paragon-ntfs3.avif": "bfc4c4c0c0bcb2b8b9",
"public:avatars/yebai.jpg": "76bfe588cef1a0b2c6",
"src:content/posts/custom-screensaver-kde-plasma/screensaver.webp": "000000000000000000",
"src:content/posts/custom-screensaver-kde-plasma/power-management.png": "ebeef0eaeaebedeced",
"public:gallery/cyans-commissions/05.png": "7089c94564bf757bc9",
"public:gallery/cyans-commissions/04.png": "c1c3d3c6c9d7b5b9c4",
"public:gallery/cyans-commissions/03.png": "969de5c8c8d1afc4ec",
"public:gallery/cyans-commissions/02.png": "eceff6dadfeecbd3e7",
"public:gallery/cyans-commissions/01.jpg": "d4ddfad8e0faedf1fa",
"src:content/posts/documenting-cyans-first-3d-rendering/vrm.png": "8e68478d6c4e876b44",
"src:content/posts/documenting-cyans-first-3d-rendering/unity-interface.png": "6f7781676f783e3e3d",
"src:content/posts/documenting-cyans-first-3d-rendering/unexpected.png": "3839553a3b4432333e"
} }
+3 -3
View File
@@ -1,9 +1,9 @@
--- ---
title: 关于 5 月 14 日在写博客时发现的代码高亮显示问题 title: Prism.js C++ 代码高亮不生效的解决方法
published: 2025-05-15 published: 2025-05-15
tags: ["博客", "代码高亮"] tags: ["博客", "代码高亮", "Prism.js", "前端", "踩坑"]
category: 技术 category: 技术
description: 关于 5 月 14 日在写博客时发现的代码高亮显示问题 description: 使用 Prism.js 实现 C++ 代码高亮时发现需要先引入 prism-c.min.js 才能生效,记录一次博客开发中的踩坑经历
--- ---
昨天在写博客的时候,调用了 Prism 的 cpp 代码高亮显示: 昨天在写博客的时候,调用了 Prism 的 cpp 代码高亮显示:
+3 -3
View File
@@ -1,9 +1,9 @@
--- ---
title: C++ 输入输出流的 operator title: C++ 输入输出流运算符重载为什么用友元函数
published: 2025-05-14 published: 2025-05-14
tags: ["C++", "IO流"] tags: ["C++", "运算符重载", "友元函数", "IO流", "C++基础"]
category: 技术 category: 技术
description: C++ 输入输出流的 operator description: 深入理解 C++ 中 std::ostream 和 std::istream 的 << >> 运算符重载必须使用友元函数而非成员函数的原因,涉及 this 指针与左操作数绑定机制。
--- ---
今天是朝鲜主体历114年5月14日 (喜) 今天是朝鲜主体历114年5月14日 (喜)
@@ -0,0 +1,235 @@
---
title: 如何在 Linux 上实现屏保
published: 2026-10-16
tags: ["Linux", "屏保", "ASCII", "Omarchy", "KDE Plasma"]
category: 教程
description: 在 Linux (KDE Plasma) 上通过 Kitty 与 ttfx 实现如 Omarchy 般酷炫的 ASCII 字符动画屏保,并支持 Bash 与 Fish 双 Shell 兼容。
image: "./screensaver.webp"
---
> [!NOTE]
> 此教程实现的最终效果灵感来源于 [Omarchy](https://omarchy.org/) 屏保,且实现的桌面环境为 [KDE Plasma](https://invent.kde.org/plasma/plasma-desktop),在其他桌面环境下的效果暂未可知。
对于很多 Linux 极客与桌面美化爱好者来说,Omarchy 发行版中最吸睛的特色之一,莫过于其独具一格的终端 ASCII 字符屏保。在系统空闲进入待机状态时,全屏黑底终端缓缓浮现出炫酷的 ASCII 艺术字,伴随着各种粒子流动、解密扫描、雨滴坠落等终端视觉特效轮番登场;只需轻触任意按键,便能毫无滞后感地唤醒系统并回到工作桌面。
然而,Omarchy 默认深度绑定了 Hyprland 及其定制环境。那么,在主流且强大的 KDE Plasma 桌面环境下,我们能否复刻出同样行云流水、极客范十足的字符动画屏保呢?
答案是肯定的。本文将带大家通过 GPU 加速终端 [Kitty](https://github.com/kovidgoyal/kitty)、高性能终端特效引擎 [ttfx](https://github.com/omacom/ttfx) 以及 KDE Plasma 自带的电源管理机制,打造一个专属于自己的终端字符屏保。同时,考虑到不同用户的 Shell 使用习惯,本文提供同时兼容 Bash 与 Fish 的两套脚本实现。
## 核心工具与原理解析
整套方案的核心实现非常轻量,仅依赖几个优秀的开源工具与系统原生功能:
1. **终端模拟器:[Kitty](https://github.com/kovidgoyal/kitty)**
Kitty 是一款基于 GPU 加速的跨平台现代化终端模拟器。它具备极快的启动速度,并且原生支持 `--start-as=fullscreen`(启动即全屏)与 `--override background_opacity=1`(强制覆盖背景为纯黑不透明,避免桌面壁纸透出)。
2. **字符特效引擎:[ttfx](https://github.com/omacom/ttfx)**
ttfx 是知名终端视觉特效项目 [TerminalTextEffects (TTE)](https://github.com/ChrisBuilds/terminaltexteffects) 的 Rust 高性能实现。相较于 Python 原版,Rust 编写的 ttfx 是单个自包含的可执行静态二进制文件,启动飞快且内存占用极低,内置数十种视觉效果,极其适合屏保循环渲染。
3. **空闲触发器:KDE Plasma 系统设置中的电源管理**
KDE Plasma 自带的「电源管理」模块内置了空闲动作监听,支持在系统空闲指定分钟后执行自定义脚本,无需额外安装复杂的空闲守护进程。
---
## 准备工作
### 1. 安装 Kitty
在大多数主流 Linux 发行版中,Kitty 均可通过系统包管理器直接安装:
::: code-group labels=[Arch Linux,Fedora,Ubuntu / Debian]
```bash
sudo pacman -S kitty
```
```bash
sudo dnf install -y kitty
```
```bash
sudo apt update && sudo apt install -y kitty
```
:::
> [!TIP]
> 也可以参考 [Kitty 官方安装指南](https://sw.kovidgoyal.net/kitty/binary/) 使用官方独立安装脚本进行安装。
### 2. 安装 ttfx
`ttfx` 采用 Rust 编写,推荐直接通过 Rust 的包管理器 `cargo` 进行安装:
```bash
cargo install ttfx
```
安装完成后,请确保 `~/.cargo/bin` 已经加入到你的系统 `PATH` 环境变量中。
可以通过运行 `ttfx --help` 检查是否安装成功。若成功安装,可以看到包含 `beams`、`blackhole`、`decrypt`、`fireworks`、`matrix` 等数十种动效子命令的帮助文档。
> [!NOTE]
> 如果你的系统尚未配置 Rust 环境,也可以前往 [omacom/ttfx Releases](https://github.com/omacom/ttfx/releases) 下载预编译的二进制包,或使用 upstream Python 版本的 [TerminalTextEffects](https://github.com/ChrisBuilds/terminaltexteffects)(`pip install terminaltexteffects`)。
### 3. 准备 ASCII 艺术字文本
我们需要一份作为屏保展示内容的纯文本文件。你可以使用 [FIGlet](https://github.com/cmatsuoka/figlet)、`toilet` 或在线 ASCII Art 生成器制作自己的名字、Logo 或座右铭。
创建保存屏保文本的目录,并将 ASCII 艺术字保存至 `~/.local/share/screensaver/<文件名>.txt`:
::: code-group labels=[Bash,Fish]
```bash
mkdir -p "$HOME/.local/share/screensaver"
cat << 'EOF' > "$HOME/.local/share/screensaver/black-cyan.txt"
____ __ ___ ________ __________ _____ _ __
/ __ )/ / / | / ____/ //_/ ____/\ \/ / | / | / /
/ __ / / / /| |/ / / ,< / / \ / /| | / |/ /
/ /_/ / /___/ ___ / /___/ /| / /___ / / ___ |/ /| /
/_____/_____/_/ |_\____/_/ |_\____/ /_/_/ |_/_/ |_/
EOF
```
```fish
mkdir -p $HOME/.local/share/screensaver
printf '%s\n' ' ____ __ ___ ________ __________ _____ _ __
/ __ )/ / / | / ____/ //_/ ____/\ \/ / | / | / /
/ __ / / / /| |/ / / ,< / / \ / /| | / |/ /
/ /_/ / /___/ ___ / /___/ /| / /___ / / ___ |/ /| /
/_____/_____/_/ |_\____/_/ |_\____/ /_/_/ |_/_/ |_/ ' > $HOME/.local/share/screensaver/black-cyan.txt
```
:::
你可以根据个人喜好替换其中的字符内容。
---
## 编写屏保控制脚本
创建脚本目录并新建屏保脚本 `~/.local/bin/ascii-screensaver`。
由于不同 Shell 之间的语法差异,请根据你偏好的环境选择对应版本的脚本:
::: code-group labels=[Bash,Fish]
```bash
#!/usr/bin/env bash
kitty --start-as=fullscreen \
--class=ascii-screensaver \
--override background_opacity=1 \
bash -c '
bash -c "
while true; do
ttfx \
--canvas-width 0 \
--canvas-height 0 \
--anchor-canvas c \
--anchor-text c \
--reuse-canvas \
--random-effect \
-i \"$HOME/.local/share/screensaver/black-cyan.txt\"
done
" &
anim_pid=$!
read -s -n 1 -r key
pkill -TERM -P "$anim_pid" 2>/dev/null
kill "$anim_pid" 2>/dev/null
wait "$anim_pid" 2>/dev/null
'
```
```fish
#!/usr/bin/env fish
kitty --start-as=fullscreen \
--class=ascii-screensaver \
--override background_opacity=1 \
fish -c '
fish -c "
while true
ttfx \
--canvas-width 0 \
--canvas-height 0 \
--anchor-canvas c \
--anchor-text c \
--reuse-canvas \
--random-effect \
-i \"$HOME/.local/share/screensaver/black-cyan.txt\"
end
" &
set anim_pid $last_pid
read -s -n 1 key
pkill -TERM -P $anim_pid 2>/dev/null
kill $anim_pid 2>/dev/null
wait $anim_pid 2>/dev/null
'
```
:::
### 脚本关键参数解析
- **Kitty 启动参数**:
- `--start-as=fullscreen`:启动时强制进入全屏状态,遮蔽任务栏与顶栏。
- `--class=ascii-screensaver`:指定窗口类名,方便后续有需要时在窗口管理器中单独针对该类名编写规则。
- `--override background_opacity=1`:强制将背景不透明度设为 `1.0`(纯黑不透明)。即使你日常使用的 Kitty 终端设置了毛玻璃或半透明背景,屏保启动时也不会透出桌面内容。
- **ttfx 动效参数**:
- `--canvas-width 0` 与 `--canvas-height 0`:将画布大小自适应设置为全终端窗口尺寸。
- `--anchor-canvas c` 与 `--anchor-text c`:分别将画布和文本锚点定位在正中心(Center),保证文本在屏幕居中显示。
- `--reuse-canvas`:动效交替时复用当前画布,避免全屏闪烁。
- `--random-effect`(或 `-R`):每次循环随机挑选不同的字符动画效果。
- `-i "$HOME/.local/share/screensaver/black-cyan.txt"`:指定读取的 ASCII 艺术字文件路径。
### 赋予执行权限并测试
为脚本赋予可执行权限:
```bash
chmod +x ~/.local/bin/ascii-screensaver
```
> [!TIP]
> 请确保 `~/.local/bin` 在当前系统的环境变量 `PATH` 中。
> 此时你可以直接在终端中输入 `~/.local/bin/ascii-screensaver` 进行测试。若配置无误,屏幕将立刻切换为全屏 ASCII 动效;敲击键盘任意键即可退出。
---
## 在 KDE Plasma 中配置空闲自动触发
编写好脚本后,只需将其交由 KDE Plasma 的电源管理接管即可。
1. 打开 **系统设置**。
2. 在左侧导航栏中找到 **系统** -> **电源管理**。
3. 将 **空闲时** 下拉选项设置为需要的超时时间(例如:**空闲 5 分钟后运行**)。
4. 在下方的可执行文件路径框中,点击「选择...」或者直接填入脚本路径:
```
~/.local/bin/ascii-screensaver
```
(或者完整绝对路径,如 `/home/black/.local/bin/ascii-screensaver`)。
5. 点击右下角的 **应用(A)** 保存配置。
![KDE Plasma 电源管理配置](./power-management.png)
配置完成后,当系统静置无操作达到设定时间(例如 5 分钟)后,KDE Plasma 便会自动唤起全屏终端屏保。
---
## 进阶技巧:绑定快捷键
除了等待系统空闲自动触发外,你还可以像 Omarchy 一样为屏保设置一个随时随地手动触发的全局快捷键:
1. 打开 **系统设置** -> **键盘** -> **快捷键** -> **新增**。
2. 添加一个新的命令快捷键:
- **名称**:`ASCII Screensaver`
- **命令**:`~/.local/bin/ascii-screensaver`
- **触发快捷键**:例如 `Meta + S`(即 `Super + S`)。
保存后,只需按下快捷键,即可一键进入屏保模式。
---
## 总结
通过现代化的 GPU 终端 [Kitty](https://github.com/kovidgoyal/kitty) 搭配 [ttfx](https://github.com/omacom/ttfx) 强大的文本特效引擎,再结合 [KDE Plasma](https://invent.kde.org/plasma/plasma-desktop) 原生易用的电源管理与空闲动作,我们无需安装庞杂繁琐的第三方屏保管理器,就能在任何常规 Linux 桌面环境下轻松复刻出 [Omarchy](https://omarchy.org/) 般炫酷的字符屏保。
无论是想要展示个性化的 ASCII Logo,还是享受终端字符带来的视觉盛宴,赶紧去打造属于你的终端字符屏保吧!
Binary file not shown.

After

Width:  |  Height:  |  Size: 153 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 387 KiB

@@ -0,0 +1,42 @@
---
title: 记录墨青的第一次三维化
published: 2026-11-15
tags: ["3D", "Blender", "Unity", "Furry"]
category: 杂谈
description: 经历两周鏖战,终于将墨青三维化
image: "./vrm.png"
---
大三开学也有两个月了,除了准备考研之外,我总还想给自己找点什么事情做。
于是我在日常逛 B 站的时候,在主页看到了 **[@左旋葡萄酸](https://space.bilibili.com/1493996813)** 大佬发布的 Furry 建模教程。我抱着试一试的心态去学习,没想到大佬的教程非常详细,从来没有学过 Blender 和 Unity 的我也能跟着他的教程一步一步做下去。
![Unity界面](unity-interface.png)
## 用来干什么?
我其实一直都想拥有一个属于自己的 3D 模型,最开始是有想当虚拟主播的梦想。但是你墨青叔叔老了,吃不上这碗饭了,声音也不咋好听,这个梦想也就此作罢了。不过我现在一直在进修各种代码和技术栈,或许我可以录制一些课程?有一个虚拟形象总归是好的,课程看起来不会太枯燥,我这个社恐也不至于直接露脸。
## 踩的一些坑
1. **獭可工具导入 Blender 报错**
我在建模的过程中,用到了獭可大佬开发的獭可工具。不过工具中的脚本有一些脏引用(可能来源于开发时编辑器加上的一些测试库?),按理来说是不会影响插件正常使用的,但是在 Blender 5.1.0 及以后的版本中导入插件会遇到一些问题。具体原因是 Blender 5.1.0 已经将内置的 Python 版本更新为 `3.13`,脚本中 `Core/Mesh.py` 导入的 `cgitb` 模块和 `05_Shape_Key_Tool.py` 导入的 `msilib.schema` 已经被弃用,导致插件导入时触发 `ModuleNotFountError`。这些模块并没有被使用,只需要手动将这些模块相应的 import 声明删除即可。
::github{repo="Takko233/Takko_Avatar_Blender_Plugin"}
2. **奇怪的脖子右拧现象**
![脖子右拧](unexpected.png)
我被这个现象困扰了很久,一遍又一遍地检查权重和顶点状态,都没有找出来是什么原因。最后我找到了一个专门检测类似异常的插件:
::github{repo="XinyiRan0001/Blender-Skin-Deformation-Validator"}
这个插件能够扫描蒙皮权重、分析当前姿态、实时变形分析、查找问题区域。基于此脚本,我进行了二次开发,为脚本实现汉化,并添加了导出分析结果的功能,最终我成功找到了问题所在:脖子上的一百六十多个顶点中,有六十多个顶点被异常绑定到了手部的骨骼上,导致播放动画时有异常拉伸。由于我的 GitHub 账号在前几天很不幸地被暂停了,我无法直接上传到仓库,所以需要此脚本的小伙伴可以[联系我](mailto:blackcyan07@outlook.com)。
---
## 指路
<iframe src="//player.bilibili.com/player.html?isOutside=true&bvid=BV1aH5a6EE4Q&p=1&autoplay=0" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"></iframe>
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 419 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 MiB

@@ -0,0 +1,142 @@
---
title: Linux 启用 ntfs3 内核驱动提升 NTFS 读写性能
published: 2026-07-24
updated: 2026-09-18
pinned: true
tags: ["Linux", "文件系统", "NTFS", "ntfs3", "内核模块", "NVMe"]
category: 技术
description: 在 Linux 上启用 Linux 内核原生 ntfs3 驱动以替代 ntfs-3g,大幅提升 NTFS 移动硬盘读写速度,包含内核模块检查、mount 配置及双系统注意事项。
image: "./paragon-ntfs3.avif"
---
前几天突然想起来自己还有一个 256G 的 NVMe SSD,是大一的时候买来当移动硬盘用的,可惜之前两次由于对这方面知识的欠缺,购买的硬盘盒都比较差劲,硬盘就一直搁置着。现如今,我还是认为自己需要一个移动硬盘,于是又新购入了一个硬盘盒。组装好后,我尝试在 Fedora 上测试它的读写速度,发现原本理论上是 10 Gbps 的传输速度,在使用 `dd` 测试顺序写入时,平均速度只有约 142 MB/s!我查阅了大量资料,发现貌似是文件系统的原因,我的硬盘使用的文件系统是 NTFS,而我并不想改用别的文件系统,所以只能找找看有没有两全其美的办法。
于是我发现了 ntfs3 文件系统驱动。
## 为什么用 NTFS ?
`NTFS` 是微软为 Windows NT 系列设计的现代文件系统,也是目前 Windows 系统盘指定的文件系统。众所周知,`exFAT` 文件系统是大家使用移动硬盘的默认选择,因为其兼容性良好,符合移动硬盘跨平台使用的需求。但我使用的并不是传统的 U 盘。对于采用 NVMe SSD 的移动硬盘,其使用方式通常已经从 "**移动存储介质**" 转变为 "**移动工作磁盘**" 。相比主要面向移动存储设备兼容性的 exFAT,NTFS 提供日志保护、B+Tree 元数据索引、更完善的权限模型以及对链接、稀疏文件等高级特性的支持,在大量小文件、开发环境和长期数据存储场景下具有明显优势。
## 什么是 ntfs3 ?
`ntfs3` 是 Linux 内核中的一个原生 ntfs 读写文件系统驱动,由 [Paragon Software Group](https://www.paragon-software.com/about/) 开发并贡献给 Linux 内核,在 Linux v5.15-rc1 的 commit [f746406](https://github.com/torvalds/linux/commit/f7464060f7ab9a2424428008f0ee9f1e267e410f) 中正式合并。它的目标是替代早期 Linux 内核中功能有限的只读 ntfs 驱动以及基于 FUSE 的 ntfs-3g。
> [!WARNING]
> 如果你的电脑是 Windows 与 Linux 双系统,那么请[关闭 Windows 的快速启动](https://learn.microsoft.com/zh-cn/troubleshoot/windows-client/setup-upgrade-and-drivers/wake-on-lan-feature?utm_source=chatgpt.com#more-information)。Windows 的快速启动本质上是休眠,即将完整的内存快照写入到磁盘,在下次启动 Windows 时再将其还原到内存,从而达到快速启动的效果。使用 ntfs3 挂载 Windows 系统盘并写入数据时,有可能会破坏这部分数据,进而造成 Windows 系统在启动时出现不同程度的异常。
## 开始使用
### 检查配置
首先,需要确认内核是否加载了 ntfs3 模块:
```bash
grep ntfs3 /proc/filesystems
```
如果已经有输出,请跳转至[挂载](#挂载)。如果没有输出,说明内核并没有加载 ntfs3 模块,需要手动加载:
```bash
sudo modprobe ntfs3
```
> [!NOTE]
> Linux 内核从 5.15 开始正式合并 ntfs3 驱动,如果不确定你的内核版本,可使用 `uname -r` 来确认。
### 挂载
#### 手动挂载
在 /mnt 目录下新建一个或多个目录作为挂载点:
```bash
mkdir /mnt/mydrive
```
将硬盘分区通过 ntfs3 挂载在此挂载点:
```bash
# 以我的单分区移动硬盘为例
sudo mount -t ntfs3 /dev/sda1 /mnt/mydrive
```
确认:
```bash
mount | grep sda1
```
输出应该类似:
```
/dev/sda1 on /mnt/mydrive type ntfs3 (rw,relatime,uid=0,gid=0,acl,iocharset=utf8,prealloc)
```
#### 自动挂载
以 udisk2 为例,查看 udisk2 服务运行状态:
```bash
sudo systemctl status udisks2.service
```
创建 udisk2 配置文件,然后编辑:
```bash
sudo touch /etc/udisks2/mount_options.conf
sudo nano /etc/udisks2/mount_options.conf
```
写入以下内容:
```ini
[defaults]
ntfs:ntfs3_defaults=uid=$UID,gid=$GID
ntfs_drivers=ntfs3,ntfs
```
重启 udisk2 服务:
```bash
sudo systemctl restart udisks2.service
```
然后尝试使用 Dolphin 或桌面提示挂载硬盘,再检查:
```bash
mount | grep sda1
```
输出应该类似:
```
/dev/sda1 on /run/media/black/5A0580082D5EA6A1 type ntfs3 (rw,nosuid,nodev,relatime,uid=1000,gid=1000,acl,iocharset=utf8,prealloc,uhelper=udisks2)
```
## 性能测试
- 使用 ntfs-3g:
```
❰black❙/mnt/mydrive❱✔≻ dd if=/dev/zero of=testfile bs=1G count=4 conv=fdatasync status=progress
4294967296 字节 (4.3 GB, 4.0 GiB) 已复制,28 s,153 MB/s
输入了 4+0 块记录
输出了 4+0 块记录
4294967296 字节 (4.3 GB, 4.0 GiB) 已复制,28.4704 s,151 MB/s
```
- 使用 ntfs3:
```
❰black❙/run/media/black/5A0580082D5EA6A1❱✔≻ dd if=/dev/zero of=testfile bs=1G count=4 conv=fdatasync status=progress
4294967296 字节 (4.3 GB, 4.0 GiB) 已复制,4 s,971 MB/s
输入了 4+0 块记录
输出了 4+0 块记录
4294967296 字节 (4.3 GB, 4.0 GiB) 已复制,6.33572 s,678 MB/s
```
可以看到,ntfs3 确实让硬盘的读写速度提升了不少。
## 参考文档
- [NTFS3 —— Linux 内核文档](https://linuxkernel.org.cn/doc/html/latest/filesystems/ntfs3.html)
Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

+4 -4
View File
@@ -1,14 +1,14 @@
--- ---
title: 高斯-约旦消元法的 Kotlin 实现 title: 高斯-约旦消元法的 Kotlin 实现:矩阵行最简形式与秩的计算
published: 2025-06-24 published: 2025-06-24
tags: ["Kotlin", "算法", "线性代数"] tags: ["Kotlin", "算法", "线性代数", "矩阵", "高斯消元"]
category: 技术 category: 技术
description: 高斯-约旦消元法的 Kotlin 实现 description: 使用 Kotlin 实现高斯-约旦消元法(Gauss-Jordan Elimination),将矩阵化为行最简阶梯形矩阵(RREF),并计算矩阵的秩,附完整代码。
--- ---
最让我头疼的几门课已经考完试了,讲讲前几天复习线性代数的时候学到的东西 最让我头疼的几门课已经考完试了,讲讲前几天复习线性代数的时候学到的东西
> **注意:** 主要是一开始突发奇想,我能不能写一个Kotlin程序,输入矩阵,一键计算矩阵的秩,并输出其行最简形式,然后查阅资料的时候认识到了高斯-约旦消元法 > 主要是一开始突发奇想,我能不能写一个 Kotlin 程序,输入矩阵,一键计算矩阵的秩,并输出其行最简形式,然后查阅资料的时候认识到了高斯-约旦消元法
## 高斯-约旦消元法 ## 高斯-约旦消元法
+3 -3
View File
@@ -1,9 +1,9 @@
--- ---
title: Kotlin 输出 HelloWorld title: Kotlin 入门:Hello World 与基础语法
published: 2025-01-18 published: 2025-01-18
tags: ["Kotlin", "入门"] tags: ["Kotlin", "入门", "JVM", "Kotlin基础"]
category: 技术 category: 技术
description: Kotlin 输出 HelloWorld description: Kotlin 语言入门第一篇,介绍如何用 Kotlin 输出 Hello World,涵盖 main 函数、println、集合遍历等基础语法,适合零基础新手。
--- ---
以下是Kotlin输出"Hello, world!"的简单代码: 以下是Kotlin输出"Hello, world!"的简单代码:
+3 -3
View File
@@ -1,9 +1,9 @@
--- ---
title: Kruskal 算法与 Prim 算法 title: Kruskal 与 Prim 最小生成树算法详解(Kotlin 实现)
published: 2025-06-25 published: 2025-06-25
tags: ["算法", "图论", "Kruskal", "Prim", "Kotlin"] tags: ["算法", "图论", "最小生成树", "Kruskal", "Prim", "Kotlin", "并查集"]
category: 技术 category: 技术
description: Kruskal 算法与 Prim 算法 description: 图论经典算法 Kruskal 和 Prim 求解最小生成树(MST)的原理与 Kotlin 实现,包含贪心策略、并查集、邻接矩阵等核心知识点。
--- ---
Kruskal 算法与 Prim 算法是图论中经典的算法,用于求解最小生成树问题。 Kruskal 算法与 Prim 算法是图论中经典的算法,用于求解最小生成树问题。
@@ -0,0 +1,304 @@
---
title: 树莓派 4B OpenCV 交叉编译完整指南(Linux + Docker)
published: 2026-07-18
tags: ["Linux", "交叉编译", "C++", "树莓派", "OpenCV", "Docker", "CMake", "ARM"]
category: 技术
description: 在 x86 Linux 上为树莓派 4B 配置 OpenCV C++ 交叉编译环境的完整教程,涵盖根文件系统同步、交叉工具链配置、Docker 容器化方案及 CMake 集成。
---
这两天大家都在火热地准备电赛,我也不例外。去年我使用的摄像头是 [MaixCam Pro](https://wiki.sipeed.com/hardware/zh/maixcam/maixcam_pro.html),编程语言我选择了 Python,使用了 [MaixPy](https://github.com/sipeed/MaixPy) 和 [Python OpenCV](https://github.com/opencv/opencv-python) 库。苦于性能瓶颈,今年我打算用 C++ 重写图像处理逻辑,目标平台是[树莓派 4B](https://www.raspberrypi.com/products/raspberry-pi-4-model-b/)。
## 为什么需要交叉编译
树莓派 4B 用的是 ARM Cortex-A72,编译 C++ 本来就慢,加上 OpenCV 的头文件和模板展开量巨大,哪怕是一个小项目也可能需要编译几十秒。开发过程中改一行代码就要重新编译,十分影响开发效率。交叉编译让我们在 x86 PC 上直接生成 ARM 二进制文件,编译速度能快不少。
整个流程大致是:
1. 在树莓派上安装 OpenCV 的开发包
2. 将树莓派的根文件系统同步到 PC,这样 PC 上的交叉编译器就能够使用树莓派 ARM 架构的 OpenCV 头文件和库
3. 在 PC 上配置交叉编译工具链
4. 使用 CMake + 交叉工具链编译你自己的项目
5. 将编译好的二进制部署到树莓派
## 准备工作
首先确保树莓派已开启 SSH,并能从你的 PC 连接。
SSH 到树莓派,安装 OpenCV 开发包:
```bash
sudo apt update
sudo apt install -y --no-install-recommends \
libopencv-dev
```
`libopencv-dev` 会自动拉入所有 OpenCV 模块以及它们的头文件和 `.so` 链接。后续 `rsync` sysroot 时,这些头文件和库会被一起同步到 PC,编译器就能找到它们了。
## 获取树莓派 sysroot
sysroot 是交叉编译的核心。它让 PC 上的编译器能识别目标设备的头文件和库。我们需要将树莓派的整个根文件系统复制到 PC。
在 PC 上创建 sysroot 目录,然后使用 `rsync` 同步:
```bash
mkdir -p ~/rpi-sysroot
rsync -avz --copy-unsafe-links \
--exclude=/proc --exclude=/sys --exclude=/dev \
--exclude=/tmp --exclude=/run --exclude=/mnt \
pi@<树莓派IP>:/ ~/rpi-sysroot/
```
> **注意**:将 `<树莓派IP>` 替换为你的树莓派 IP 地址。`--copy-unsafe-links` 会将绝对路径符号链接转换为相对路径的副本,避免链接指向宿主机路径。
## 配置宿主机交叉编译环境
这里出现了分水岭:**你的 PC 用的是什么 Linux 发行版?**
### Debian 系(Debian、Ubuntu、Mint 等)
如果你用的是 Debian 系,事情很简单。Debian 的 multiarch 支持非常成熟,直接 `apt install` 即可获得交叉编译工具链:
```bash
sudo dpkg --add-architecture arm64
sudo apt update
sudo apt install -y --no-install-recommends \
gcc-aarch64-linux-gnu g++-aarch64-linux-gnu \
binutils-aarch64-linux-gnu
```
然后配置 CMake 工具链文件,指定 sysroot 路径和交叉编译器即可开始编译。
### 非 Debian 系(Fedora、Arch、openSUSE 等)
如果你用的是 Fedora、Arch Linux、openSUSE 等非 Debian 系发行版,问题就复杂了。这些发行版虽然也提供 `aarch64-linux-gnu-*` 交叉工具链包,但存在几个棘手的问题:
1. 工具链版本不一致,不同发行版提供的 binutils/gcc 版本可能与树莓派 sysroot 中的库 ABI 不兼容。
2. 库路径布局差异,非 Debian 系的 aarch64 工具链默认搜索路径与 Debian 的 multiarch 布局 `/usr/lib/aarch64-linux-gnu/` 不同,导致链接器找不到库。
3. glibc 版本不匹配,Arch 等滚动发行版的 glibc 版本往往更新,链接到树莓派旧版 glibc 时可能出现符号未定义的问题。
**使用容器是非常好的一种解决方案**。在 Docker/Podman 容器中运行一个完整的 Debian 环境,将树莓派 sysroot 挂载进去,所有编译操作都在容器内完成。这样工具链和 sysroot 同属 Debian 生态,自然兼容。
## 容器方案详解
我选择 `debian:trixie` 作为基础镜像(Trixie 是 Debian 13,也是当前的 testing 分支,包版本较新且稳定)。以下是我的 Dockerfile:
```dockerfile
FROM debian:trixie
ENV DEBIAN_FRONTEND=noninteractive
ENV TARGET_TRIPLE=aarch64-linux-gnu
ENV TOOLCHAIN_PREFIX=/usr/${TARGET_TRIPLE}
ENV SYSROOT_MOUNT=/sysroot
RUN apt update && apt install -y --no-install-recommends \
build-essential \
gcc-${TARGET_TRIPLE} g++-${TARGET_TRIPLE} binutils-${TARGET_TRIPLE} \
cmake ninja-build make git rsync wget pkg-config dpkg-dev \
&& rm -rf /var/lib/apt/lists/*
RUN echo '#!/bin/bash' > /entrypoint.sh \
&& echo 'mkdir -p ${TOOLCHAIN_PREFIX}/{include,lib}' >> /entrypoint.sh \
&& echo 'rm -rf ${TOOLCHAIN_PREFIX}/include ${TOOLCHAIN_PREFIX}/lib/*' >> /entrypoint.sh \
&& echo 'ln -sf ${SYSROOT_MOUNT}/usr/include ${TOOLCHAIN_PREFIX}/include' >> /entrypoint.sh \
&& echo 'ln -sf ${SYSROOT_MOUNT}/usr/lib/${TARGET_TRIPLE} ${TOOLCHAIN_PREFIX}/lib' >> /entrypoint.sh \
&& echo 'exec "$@"' >> /entrypoint.sh \
&& chmod +x /entrypoint.sh
ENV CC=${TARGET_TRIPLE}-gcc --sysroot=${SYSROOT_MOUNT}
ENV CXX=${TARGET_TRIPLE}-g++ --sysroot=${SYSROOT_MOUNT}
ENV AR=${TARGET_TRIPLE}-ar
ENV PKG_CONFIG_SYSROOT_DIR=${SYSROOT_MOUNT}
ENV PKG_CONFIG_PATH=\
${SYSROOT_MOUNT}/usr/lib/${TARGET_TRIPLE}/pkgconfig:\
${SYSROOT_MOUNT}/usr/share/pkgconfig
WORKDIR /workspace
ENTRYPOINT ["/entrypoint.sh"]
```
### 各部分说明
**ENV 环境变量**定义了交叉编译的目标三元组 `aarch64-linux-gnu`,以及工具链和 sysroot 的挂载路径。将这些路径抽取为变量,方便使用者替换为自己需要的版本。
**apt 安装的软件包**分为几类:
- `build-essential`:编译基础设施
- `gcc-aarch64-linux-gnu`:ARM64 交叉编译器、汇编器和链接器
- `cmake ninja-build`:Ninja 构建系统
- `rsync`:从树莓派同步文件
- `pkg-config dpkg-dev`:用于查找依赖库和生成正确的 pkg-config 路径
**entrypoint.sh**是容器启动时自动执行的脚本。它的任务是建立符号链接,让交叉工具链的默认搜索路径指向我们挂载的树莓派 sysroot:
- 将 `${SYSROOT_MOUNT}/usr/include` 链接为工具链的 include 目录
- 将 `${SYSROOT_MOUNT}/usr/lib/${TARGET_TRIPLE}` 链接为工具链的 lib 目录
这样当你使用 `#include <opencv2/core.hpp>` 时,编译器实际上会从树莓派的 sysroot 中寻找这个头文件。
**CC/CXX 环境变量**指定了交叉编译器,并通过 `--sysroot` 参数将 sysroot 设置为编译的根目录。GCC 的 `--sysroot` 选项会改变所有标准搜索路径(`/usr/include`、`/usr/lib` 等)的根前缀,效果等同于将 sysroot 模拟为 `/`。
**PKG_CONFIG_SYSROOT_DIR** 告诉 `pkg-config` 在 sysroot 中查找 `.pc` 文件,而 **PKG_CONFIG_PATH** 指定了 `.pc` 文件的具体搜索路径。这对于 CMake 找到 OpenCV 的依赖库至关重要。
### 构建和运行容器
```bash
# 构建镜像
docker build -t rpi-cross-compiler .
# 运行容器,将 sysroot 挂载进去
docker run --rm -it \
-v ~/rpi-sysroot:/sysroot:ro \
-v $(pwd):/workspace \
rpi-cross-compiler \
bash
```
> **说明**:`/sysroot` 以只读 `:ro` 方式挂载,防止编译过程意外修改树莓派系统文件。工作目录 `/workspace` 以读写方式挂载当前目录,用于存放源码和编译输出。
## Sysroot 预处理:为什么需要这一步
此前我在尝试交叉编译时,发现从树莓派 `rsync` 下来的 sysroot 不能直接使用,需要经过预处理。
### 1. 修复 merged-usr 目录结构
Debian 从 Buster 开始采用了 **merged-usr** 方案(即 `/bin`、`/sbin`、`/lib` 统一迁移到 `/usr/bin`、`/usr/sbin`、`/usr/lib` 下,原路径保留为符号链接)。树莓派的 Raspberry Pi OS 基于 Debian,自然也遵循此布局。
但 `rsync` 在复制符号链接时,如果目标路径的解析出现问题(例如 `--copy-unsafe-links` 的处理时机),可能导致 sysroot 根目录下的 `/include` 或 `/lib` 符号链接变成空目录或指向错误位置。编译器查找头文件时,会期望 `/sysroot/usr/include` 是真实目录。如果 rsync 产物的结构不对,预处理脚本会将其修正为:
```
/sysroot/
├── include -> usr/include # 符号链接
├── lib -> usr/lib # 符号链接
└── usr/
├── include/ # 真实头文件目录
└── lib/
└── aarch64-linux-gnu/ # multiarch 库目录
```
### 2. 修复 C++ 标准库的多架构符号链接
GCC 的 C++ 标准库头文件按架构组织,结构如下:
```
/usr/include/c++/14/
├── <平台无关头文件>
└── aarch64-linux-gnu/ # 平台相关头文件 → 链接到 ../../aarch64-linux-gnu/c++/14
```
在树莓派上,`/usr/include/c++/14/aarch64-linux-gnu/` 应该是一个符号链接,指向 `/usr/include/aarch64-linux-gnu/c++/14/`,即 Debian multiarch 的 C++ 头文件存放位置。
这个符号链接使用的是绝对路径。当你用 rsync 拉取 sysroot 时,如果链接目标没有被完整保留,或者链接断掉了,编译 C++ 代码时就会找不到 `<bits/c++config.h>` 等平台相关头文件,报错:
```
fatal error: bits/c++config.h: No such file or directory
```
预处理会检查这个链接,如果断裂就重新创建。
> 我就是在这一步踩了坑。如果树莓派上没有 `/usr/include/c++/14/aarch64-linux-gnu` 也没关系,预处理会自动创建链接的。
### 3. 修复 alternatives 机制的断裂符号链接
Debian 使用 **update-alternatives** 系统来管理同一软件的多个实现。BLAS 和 LAPACK(线性代数库,OpenCV 的核心依赖)就是典型例子:
```
/usr/lib/aarch64-linux-gnu/
├── libblas.so.3 -> blas/libblas.so.3.12.1 # alternatives 管理的链接
├── libblas.so -> blas/libblas.so # 开发用的 .so 链接
├── liblapack.so.3 -> lapack/liblapack.so.3.12.1
└── liblapack.so -> lapack/liblapack.so
```
这些符号链接指向 `blas/` 和 `lapack/` 子目录下的实际库文件。但 rsync 同步时,这些相对路径链接可能因为 rsync 的 `--copy-unsafe-links` 选项或者文件系统差异而断裂或变成悬空链接。
后果就是链接阶段 CMake 找不到 `-lblas` 和 `-llapack`,链接器直接报 `cannot find -lblas`。
预处理脚本遍历 sysroot 中的库目录,检查这些关键的 `libblas.*` 和 `liblapack.*` 链接,如果断裂就手动修复,重新指向正确的目标文件。虽然逻辑看起来是重复的 case 分支,但每个链接的目标版本号可能不同(`liblapack.so.3.12.1`、`libblas.so.3.12.1`),必须逐一处理。
## 编译你自己的项目
进入挂载了 sysroot 的容器后,就可以编译你自己的 C++ 项目了。
### 项目的 CMakeLists.txt
跨平台编译的第一步是把 CMakeLists.txt 写对。下面是一个典型的 OpenCV 项目配置:
```cmake
cmake_minimum_required(VERSION 3.16)
project(MyCVProject LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
find_package(OpenCV REQUIRED)
add_executable(my_app main.cpp)
target_link_libraries(my_app PRIVATE ${OpenCV_LIBS})
```
`find_package(OpenCV REQUIRED)` 会去 sysroot 里搜索 OpenCV 的 CMake 配置文件(`OpenCVConfig.cmake`),找到后自动设置好 include 路径和链接库。
### 交叉编译工具链文件
CMake 靠工具链文件来知道你要交叉编译。创建一个 `toolchain.cmake`:
```cmake
set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR aarch64)
set(CMAKE_SYSROOT /sysroot)
set(CMAKE_C_COMPILER aarch64-linux-gnu-gcc)
set(CMAKE_CXX_COMPILER aarch64-linux-gnu-g++)
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
```
配置说明:
- `CMAKE_SYSROOT`:告诉 CMake 所有搜索都以此为根
- `CMAKE_C_COMPILER` / `CMAKE_CXX_COMPILER`:指定交叉编译器。由于容器的 ENV 已经设了 `CC`/`CXX`(带 `--sysroot`),如果你想省略这两个变量,CMake 会自动从环境变量中获取
- `CMAKE_FIND_ROOT_PATH_MODE`:控制 `find_*` 命令的查找策略。`PROGRAM NEVER` 表示不从 sysroot 中查找程序,而 `LIBRARY ONLY`、`INCLUDE ONLY`、`PACKAGE ONLY` 表示库、头文件、包都只从 sysroot 中查找,避免污染宿主机的头文件
### 编译
```bash
# 在容器内执行
cd /workspace
mkdir build && cd build
cmake -GNinja \
-DCMAKE_TOOLCHAIN_FILE=../toolchain.cmake \
-DCMAKE_BUILD_TYPE=Release \
..
ninja -j$(nproc)
```
编译完成后,`build/` 目录下就是可以在树莓派上直接运行的 ARM64 二进制文件。用 `file` 命令确认一下:
```bash
file my_app
# my_app: ELF 64-bit LSB executable, ARM aarch64, dynamically linked, ...
```
## 部署到树莓派
编译产物只是一个可执行文件,直接 `scp` 过去就行:
```bash
scp build/my_app pi@<树莓派IP>:~/my_app
```
然后在树莓派上运行:
```bash
ssh pi@<树莓派IP> ./my_app
```
如果程序跑起来输出了预期结果,恭喜你,交叉编译成功了!
## 总结
整个方案的核心思路是统一编译环境:让交叉工具链和 sysroot 来自同一个生态,避免跨发行版的 ABI 不兼容。对于使用 Fedora、Arch 等非 Debian 系发行版的开发者,Docker 容器以极低的额外开销解决了这个问题。
+3 -3
View File
@@ -1,9 +1,9 @@
--- ---
title: Sipeed 麦克风阵列获取声源角度 title: Sipeed 麦克风阵列声源定位:MicroPython 获取声源角度
published: 2025-07-06 published: 2025-07-06
tags: ["Sipeed", "麦克风阵列", "声源定位"] tags: ["Sipeed", "麦克风阵列", "声源定位", "MicroPython", "MaixPy", "嵌入式", "DOA"]
category: 技术 category: 技术
description: Sipeed 麦克风阵列获取声源角度 description: 使用 Sipeed MicArray 麦克风阵列模块进行声源定位(DOA),通过 MicroPython / MaixPy 获取声源方向角度并驱动 RGB LED 显示,附官方示例代码。
--- ---
官方文档:[MicArray 麦克风阵列 - Sipeed Wiki](https://wiki.sipeed.com/hardware/zh/modules/micarray.html) 官方文档:[MicArray 麦克风阵列 - Sipeed Wiki](https://wiki.sipeed.com/hardware/zh/modules/micarray.html)
-15
View File
@@ -1,15 +0,0 @@
---
title: 一年了
published: 2026-01-10
tags: ["博客", "周年"]
category: 杂谈
description: 一年了
---
时间过得真快啊,网站不知不觉已经要一年了
前不久申请了宝塔砺行计划,最近给老师发邮件的时候才发现申请通过了,于是我马上为我的云服务器部署了宝塔面板(嘻嘻)
宝塔面板确实十分方便,他们推出的砺行计划对学生用户也十分有帮助,如果大家有条件的话,推荐大家都去申请一下
在 2026 年,我决定先修一下算法,然后尽量掌握 Jetpack Compose 安卓开发。看见网上很多人说学这个没用,国内没啥公司用这个写安卓,我想说的是,技术从来不应该通过有没有被广泛使用来衡量其必要性。不管是什么技术栈,其在传播时肯定不是第一天无人问津而第二天就做到家喻户晓的。有许多人愿意学习这门技术并且传播,就说明这门技术有前景有希望,并不会被一两盆冷水淹没。总之就一句话:程序员要多学、多练,而不是整天卖弄自己的才华,嘴里蹦出几个高级的专业词汇来唬人,然后对某门技术栈评头论足,去争个高低贵贱。
+11 -16
View File
@@ -2,14 +2,12 @@
## 个人档案 ## 个人档案
- **昵称:** 墨青 / BlackCyan / NegroCian - **昵称:** 墨青 / BlackCyan / Cyanus Nigrius
- **种族:** 摩羯
- **专业:** 软件工程 - **专业:** 软件工程
- **语言:** 简体中文 / 繁體中文 / English / Español - **语言:** 中文 / English
- **编程语言:** Java, Kotlin, Python, HTML/CSS, C++ - **编程语言:** <img src="/assets/images/badge-java.svg" alt="Java" style="display:inline;vertical-align:middle;margin:2px" /> <img src="/assets/images/badge-kotlin.svg" alt="Kotlin" style="display:inline;vertical-align:middle;margin:2px" /> <img src="/assets/images/badge-python.svg" alt="Python" style="display:inline;vertical-align:middle;margin:2px" /> <img src="/assets/images/badge-c.svg" alt="C" style="display:inline;vertical-align:middle;margin:2px" />
- **技术栈:** Android 开发,KMP - **技术栈:** <img src="/assets/images/badge-android.svg" alt="Android" style="display:inline;vertical-align:middle;margin:2px" /> <img src="/assets/images/badge-kmp.svg" alt="KMP" style="display:inline;vertical-align:middle;margin:2px" />
- **兴趣爱好:** 编程, 游戏, 音乐, 美食 - **兴趣爱好:** 编程, 游戏, 音乐, 美食
- **厌恶:** 虚伪, 浮夸, 自负
--- ---
@@ -23,36 +21,33 @@
--- ---
## 标签 ## 印象标签
- 二次元 - 二次元
- Furry - Furry
- Minecraft - Minecraft
- 火影忍者
- 时光代理人 - 时光代理人
- 开源 - 开源
- 反对内卷 - 反内卷
- 反对 AI 创作(特指绘画、音乐、文学作品) - 反 AI (画作、乐曲)
--- ---
## 自我介绍 ## 自我介绍
¡Hola! 这里是墨青,本科全日制软件工程专业大学生,现在正在读书。 你好呀!这里是墨青,目前是软件工程本科生,现在正在读书。
我喜欢捣鼓各种编程语言,容易写码上瘾,一写就是几小时甚至一天。最喜欢的语言是能够在 JVM 上运行的一系列语言,如 Java 与 Kotlin。 我喜欢捣鼓各种编程语言,容易写码上瘾,一写就是几小时甚至一天。最喜欢的语言是能够在 JVM 上运行的语言,如 Java 与 Kotlin。
我不喜欢 AI 绘画与 AI 音乐,请不要随意地将 AI 创作的艺术作品分享给我鉴赏。 我不喜欢 AI 画作与 AI 乐曲,请不要随意地将 AI ~~创作~~ 融合的尸块作品分享给我鉴赏。
我不喜欢内卷,也不喜欢被人说内卷。我学习的目的并不是为了将任何人比下去,而是拓展自己的知识储备,让自己能够更好地面对这个世界;又或者仅仅是为了应付考试。 我不喜欢内卷,也不喜欢被人说内卷。我学习的目的并不是为了将任何人比下去,而是拓展自己的知识储备,让自己能够更好地面对这个世界;又或者仅仅是为了应付考试。
过多的扩列让我发现,与其多多找人扩列,不如就定居在自己的舒适圈,与身边的朋友保持联络就好。所以我暂时不扩列了。
--- ---
## 联系方式 ## 联系方式
如果想与我联系,请尽量使用邮箱,QQ 一般不通过。 如果想与我联系,请尽量使用邮箱。
- **Email:** [blackcyan07@outlook.com](mailto:blackcyan07@outlook.com) - **Email:** [blackcyan07@outlook.com](mailto:blackcyan07@outlook.com)
- *不要使用 QQ 邮箱给我的 Outlook 邮箱发送邮件,会被视为垃圾邮件。* - *不要使用 QQ 邮箱给我的 Outlook 邮箱发送邮件,会被视为垃圾邮件。*
+21 -1
View File
@@ -39,9 +39,12 @@ interface Props {
lang?: string; lang?: string;
setOGTypeArticle?: boolean; setOGTypeArticle?: boolean;
postSlug?: string; postSlug?: string;
articlePublishedTime?: string;
articleModifiedTime?: string;
articleTags?: string[];
} }
let { title, description, lang, setOGTypeArticle, postSlug } = Astro.props; let { title, description, lang, setOGTypeArticle, postSlug, articlePublishedTime, articleModifiedTime, articleTags } = Astro.props;
// apply a class to the body element to decide the height of the banner, only used for initial page load // apply a class to the body element to decide the height of the banner, only used for initial page load
// Swup can update the body for each page visit, but it's after the page transition, causing a delay for banner height change // Swup can update the body for each page visit, but it's after the page transition, causing a delay for banner height change
@@ -91,6 +94,7 @@ const siteLang = lang.replace("_", "-");
<html lang={siteLang} class="bg-(--page-bg) text-[14px] md:text-[16px]" data-wallpaper-mode={backgroundWallpaper.mode}> <html lang={siteLang} class="bg-(--page-bg) text-[14px] md:text-[16px]" data-wallpaper-mode={backgroundWallpaper.mode}>
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="google-site-verification" content="vqxlq1Y5Wr1S2GIyivSSKZCTRymhHJGpqqzOj3FP8aQ" />
{analyticsConfig?.googleAnalyticsId && ( {analyticsConfig?.googleAnalyticsId && (
<GoogleAnalytics analyticsId={analyticsConfig.googleAnalyticsId} /> <GoogleAnalytics analyticsId={analyticsConfig.googleAnalyticsId} />
)} )}
@@ -153,9 +157,20 @@ const siteLang = lang.replace("_", "-");
name="twitter:description" name="twitter:description"
content={description || siteConfig.description || pageTitle} content={description || siteConfig.description || pageTitle}
/> />
{ogImageUrl && <meta name="twitter:image" content={ogImageUrl} />}
{setOGTypeArticle && articlePublishedTime && (
<meta property="article:published_time" content={articlePublishedTime} />
)}
{setOGTypeArticle && articleModifiedTime && (
<meta property="article:modified_time" content={articleModifiedTime} />
)}
{setOGTypeArticle && articleTags && articleTags.map((tag) => (
<meta property="article:tag" content={tag} />
))}
<meta name="viewport" content="width=device-width" /> <meta name="viewport" content="width=device-width" />
<meta name="generator" content={Astro.generator} /> <meta name="generator" content={Astro.generator} />
<link rel="canonical" href={new URL(Astro.url.pathname, Astro.site).href} />
{ {
favicons.map((favicon) => ( favicons.map((favicon) => (
<link <link
@@ -1700,4 +1715,9 @@ function disableAnimation() {
document.addEventListener('swup:contentReplaced', () => { document.addEventListener('swup:contentReplaced', () => {
requestAnimationFrame(initImageLoadFadeIn); requestAnimationFrame(initImageLoadFadeIn);
}); });
// 初始化代码组 (rehype-code-group)
import { initCodeGroups } from "rehype-code-group/client";
initCodeGroups(document);
document.addEventListener('astro:page-load', () => initCodeGroups(document));
</script> </script>
+182
View File
@@ -0,0 +1,182 @@
---
import { Icon } from "astro-icon/components";
import EncryptedContent from "@/components/features/EncryptedContent.astro";
import PhotoCard from "@/components/pages/gallery/PhotoCard.astro";
import { galleryConfig, siteConfig } from "@/config";
import I18nKey from "@/i18n/i18nKey";
import { i18n } from "@/i18n/translation";
import MainGridLayout from "@/layouts/MainGridLayout.astro";
import "@/styles/pages/gallery-album.css";
import { getAlbumCover, scanAlbumPhotos } from "@/utils/gallery-utils";
import { getLqipProps } from "@/utils/lqip-utils";
import { url } from "@/utils/url-utils";
// 检查页面是否启用
if (!siteConfig.pages.gallery) {
return Astro.redirect("/404/");
}
export function getStaticPaths() {
return galleryConfig.albums.map((album) => ({
params: { album: album.id },
}));
}
const { album: albumId } = Astro.params;
const albumMeta = galleryConfig.albums.find((a) => a.id === albumId);
if (!albumMeta) {
return Astro.redirect("/404/");
}
const photos = scanAlbumPhotos(albumMeta.id);
const cover = getAlbumCover(albumMeta, photos);
const columnWidth = galleryConfig.columnWidth || 240;
// LQIP 渐变占位
const coverLqipProps = cover
? getLqipProps(cover, undefined, true)
: { style: "" };
---
<MainGridLayout title={albumMeta.name} description={albumMeta.description || ""}>
<!-- 相册封面横幅 -->
<div class="w-full rounded-(--radius-large) overflow-hidden relative">
{cover ? (
<div class="relative w-full min-h-[260px] sm:min-h-[280px] md:min-h-[320px] flex flex-col justify-between p-5 sm:p-6">
<div class="lqip-placeholder absolute inset-0 pointer-events-none" style={coverLqipProps.style} aria-hidden="true"></div>
<img
src={cover}
alt={albumMeta.name}
class="absolute inset-0 w-full h-full object-cover opacity-0 transition-opacity duration-500 ease-out"
/>
<div class="absolute inset-0 bg-linear-to-t from-black/80 via-black/40 to-black/20 pointer-events-none" />
<!-- 顶部:返回按钮 -->
<div class="relative z-20 self-start">
<a
href={url("/gallery/")}
class="inline-flex items-center gap-1.5 text-sm text-white/90 hover:text-white bg-black/40 hover:bg-black/60 backdrop-blur-md px-3 py-1.5 rounded-lg transition-colors border border-white/10 active:scale-95"
>
<Icon name="material-symbols:arrow-back" class="text-base" />
{i18n(I18nKey.galleryBackToAlbums)}
</a>
</div>
<!-- 底部:封面上的信息 -->
<div class="relative z-10 pt-4">
<div class="text-2xl sm:text-3xl font-bold text-white mb-2 drop-shadow-lg">
{albumMeta.name}
</div>
{albumMeta.description && (
<p class="text-sm text-white/80 leading-relaxed mb-2 max-w-2xl line-clamp-2">
{albumMeta.description}
</p>
)}
<div class="flex items-center gap-4 text-sm text-white/80 flex-wrap">
{albumMeta.date && (
<span class="inline-flex items-center gap-1">
<Icon name="material-symbols:calendar-today" class="text-sm" />
{albumMeta.date}
</span>
)}
{albumMeta.location && (
<span class="inline-flex items-center gap-1">
<Icon name="material-symbols:location-on" class="text-sm" />
{albumMeta.location}
</span>
)}
<span class="inline-flex items-center gap-1">
<Icon name="material-symbols:photo-library" class="text-sm" />
{photos.length} {i18n(I18nKey.galleryPhotos)}
</span>
</div>
{albumMeta.tags && albumMeta.tags.length > 0 && (
<div class="flex flex-wrap gap-1.5 mt-2.5">
{albumMeta.tags.map((tag) => (
<span class="text-xs px-2 py-0.5 rounded bg-white/20 text-white/90 backdrop-blur-sm">
{tag}
</span>
))}
</div>
)}
</div>
</div>
) : (
<div class="card-base px-6 py-4">
<a
href={url("/gallery/")}
class="inline-flex items-center gap-1 text-sm text-(--primary) hover:underline mb-3"
>
<Icon name="material-symbols:arrow-back" class="text-base" />
{i18n(I18nKey.galleryBackToAlbums)}
</a>
<div class="text-2xl sm:text-3xl font-bold text-neutral-900 dark:text-neutral-100">
{albumMeta.name}
</div>
{albumMeta.description && (
<p class="text-sm text-neutral-600 dark:text-neutral-400 leading-relaxed mt-2 mb-2 max-w-2xl">
{albumMeta.description}
</p>
)}
<div class="flex items-center gap-4 text-sm text-neutral-500 dark:text-neutral-400 mt-2 flex-wrap">
{albumMeta.date && (
<span class="inline-flex items-center gap-1">
<Icon name="material-symbols:calendar-today" class="text-sm" />
{albumMeta.date}
</span>
)}
{albumMeta.location && (
<span class="inline-flex items-center gap-1">
<Icon name="material-symbols:location-on" class="text-sm" />
{albumMeta.location}
</span>
)}
<span>{photos.length} {i18n(I18nKey.galleryPhotos)}</span>
</div>
{albumMeta.tags && albumMeta.tags.length > 0 && (
<div class="flex flex-wrap gap-1.5 mt-2.5">
{albumMeta.tags.map((tag) => (
<span class="text-xs px-2 py-0.5 rounded bg-neutral-100 dark:bg-neutral-800 text-neutral-600 dark:text-neutral-400">
{tag}
</span>
))}
</div>
)}
</div>
)}
</div>
<!-- 瀑布流照片网格 -->
<div class="w-full rounded-(--radius-large) overflow-hidden relative mt-4">
<div class="card-base z-10 px-6 py-6 relative w-full">
{photos.length > 0 ? (
albumMeta.password ? (
<EncryptedContent password={albumMeta.password} slug={albumMeta.id} hint={albumMeta.passwordHint}>
<div
class="gallery-masonry"
style={`column-count: 2; column-gap: 0.75rem; --col-width: ${columnWidth}px;`}
>
{photos.map((photo) => (
<PhotoCard src={photo} albumId={albumMeta.id} />
))}
</div>
</EncryptedContent>
) : (
<div
class="gallery-masonry"
style={`column-count: 2; column-gap: 0.75rem; --col-width: ${columnWidth}px;`}
>
{photos.map((photo) => (
<PhotoCard src={photo} albumId={albumMeta.id} />
))}
</div>
)
) : (
<div class="flex flex-col items-center justify-center py-16 text-neutral-400 dark:text-neutral-500">
<Icon name="material-symbols:photo-library" class="text-6xl mb-4 opacity-50" />
<p class="text-lg">{i18n(I18nKey.galleryNoAlbums)}</p>
</div>
)}
</div>
</div>
</MainGridLayout>
+202
View File
@@ -0,0 +1,202 @@
---
import { Icon } from "astro-icon/components";
import AlbumCard from "@/components/pages/gallery/AlbumCard.astro";
import { galleryConfig, siteConfig } from "@/config";
import I18nKey from "@/i18n/i18nKey";
import { i18n } from "@/i18n/translation";
import MainGridLayout from "@/layouts/MainGridLayout.astro";
import "@/styles/pages/common.css";
import { getAlbumCover, scanAlbumPhotos } from "@/utils/gallery-utils";
import "@/styles/pages/card-grid.css";
// 检查页面是否启用
if (!siteConfig.pages.gallery) {
return Astro.redirect("/404/");
}
const title = i18n(I18nKey.gallery);
const description = i18n(I18nKey.galleryDescription);
// 构建相册数据(扫描照片、获取封面)
const albums = galleryConfig.albums.map((album) => {
const photos = scanAlbumPhotos(album.id);
const cover = getAlbumCover(album, photos);
return { ...album, cover, photoCount: photos.length };
});
// 收集所有标签用于筛选
const allTags = [...new Set(albums.flatMap((a) => a.tags || []))].sort();
---
<MainGridLayout title={title} description={description}>
<div class="page-shell">
<!-- 页面标题和描述面板(与下方相册列表分离) -->
<div class="card-base z-10 px-9 py-6 mb-4 relative w-full">
<div class="mb-4">
<div class="page-heading">
<div class="page-icon" aria-hidden="true">
<Icon name="material-symbols:photo-library" />
</div>
<div>
<h2>{title}</h2>
{description && <p>{description}</p>}
</div>
</div>
</div>
<!-- 搜索框 + 标签筛选 -->
{albums.length > 0 && (
<gallery-filter class="mb-6">
<div class="relative mb-3">
<Icon
name="material-symbols:search"
class="absolute left-3 top-1/2 -translate-y-1/2 text-neutral-400 dark:text-neutral-500 text-lg pointer-events-none"
/>
<input
type="text"
data-search
placeholder={i18n(I18nKey.searchAlbums)}
class="w-full pl-10 pr-4 py-2.5 rounded-xl border border-(--line-divider) bg-transparent text-neutral-900 dark:text-neutral-100 placeholder-neutral-400 dark:placeholder-neutral-500 focus:border-(--primary) focus:ring-1 focus:ring-(--primary) outline-none transition-all duration-200 text-sm"
/>
</div>
{allTags.length > 0 && (
<div class="flex flex-wrap gap-2">
<button
data-tag="all"
class="category-pill px-3 py-1.5 rounded-full text-sm font-medium transition-colors duration-200"
data-active
>
{i18n(I18nKey.all)}
</button>
{allTags.map((tag) => (
<button
data-tag={tag}
class="category-pill px-3 py-1.5 rounded-full text-sm font-medium transition-colors duration-200"
>
{tag}
</button>
))}
</div>
)}
</gallery-filter>
)}
</div>
<!-- 相册卡片网格(独立于标题面板) -->
{albums.length > 0 ? (
<>
<div class="card-grid" style="--card-grid-min-width: 320px">
{albums.map((album) => (
<AlbumCard
id={album.id}
name={album.name}
cover={album.cover}
description={album.description}
date={album.date}
location={album.location}
tags={album.tags}
photoCount={album.photoCount}
encrypted={!!album.password}
/>
))}
</div>
{/* 搜索无结果提示 */}
<div class="albums-empty hidden flex-col items-center justify-center py-12 text-neutral-400 dark:text-neutral-500">
<Icon name="material-symbols:search-off-rounded" class="text-4xl mb-3" />
<div class="text-sm">{i18n(I18nKey.searchNoResults)}</div>
</div>
</>
) : (
<div class="card-base flex flex-col items-center justify-center py-16 text-neutral-400 dark:text-neutral-500">
<Icon name="material-symbols:photo-library" class="text-6xl mb-4 opacity-50" />
<p class="text-lg">{i18n(I18nKey.galleryNoAlbums)}</p>
</div>
)}
</div>
<script slot="head" is:inline>
if (!customElements.get("gallery-filter")) {
class GalleryFilter extends HTMLElement {
selectedTag = "all";
constructor() {
super();
}
connectedCallback() {
this.addEventListener("click", this.handleClick);
const input = this.querySelector("[data-search]");
if (input) {
input.addEventListener("input", () => this.applyFilters());
}
}
disconnectedCallback() {
this.removeEventListener("click", this.handleClick);
}
handleClick(e) {
const target = e.target;
const button = target.closest("button");
if (!button) return;
this.selectedTag = button.dataset.tag;
const filters = this.querySelectorAll("button");
filters.forEach((f) => {
f.removeAttribute("data-active");
});
button.setAttribute("data-active", "");
this.applyFilters();
}
applyFilters() {
const container = this.closest(".page-shell");
if (!container) return;
const input = this.querySelector("[data-search]");
const query = (input?.value || "").toLowerCase().trim();
const cards = container.querySelectorAll(".album-card");
let hasVisible = false;
cards.forEach((card) => {
const cardEl = card;
const tags = (cardEl.dataset.tags || "").split(",");
const name = (cardEl.querySelector(".album-card-title")?.textContent || "").toLowerCase();
const desc = (cardEl.querySelector(".album-card-desc")?.textContent || "").toLowerCase();
const location = (cardEl.querySelector(".album-card-location")?.textContent || "").toLowerCase();
const tagMatch =
this.selectedTag === "all" ||
(this.selectedTag && tags.includes(this.selectedTag));
const searchMatch =
!query ||
name.includes(query) ||
desc.includes(query) ||
location.includes(query) ||
tags.some((t) => t.toLowerCase().includes(query));
if (tagMatch && searchMatch) {
cardEl.style.display = "";
cardEl.classList.add("animate-fade-in-up");
hasVisible = true;
} else {
cardEl.style.display = "none";
cardEl.classList.remove("animate-fade-in-up");
}
});
const emptyEl = container.querySelector(".albums-empty");
if (emptyEl) {
emptyEl.classList.toggle("hidden", hasVisible);
emptyEl.classList.toggle("flex", !hasVisible);
}
}
}
customElements.define("gallery-filter", GalleryFilter);
}
</script>
</MainGridLayout>
+11 -1
View File
@@ -116,16 +116,23 @@ const jsonLd = {
headline: entry.data.title, headline: entry.data.title,
description: entry.data.description || entry.data.title, description: entry.data.description || entry.data.title,
keywords: entry.data.tags, keywords: entry.data.tags,
url: Astro.url.href,
author: { author: {
"@type": "Person", "@type": "Person",
name: profileConfig.name, name: profileConfig.name,
url: Astro.site, url: Astro.site,
}, },
publisher: {
"@type": "Person",
name: profileConfig.name,
url: Astro.site,
},
datePublished: formatDateToYYYYMMDD(entry.data.published), datePublished: formatDateToYYYYMMDD(entry.data.published),
dateModified: formatDateToYYYYMMDD(entry.data.updated || entry.data.published),
...(processedImage ? { image: new URL(processedImage.startsWith("/") ? processedImage : `/${processedImage}`, Astro.site).href } : {}),
inLanguage: entry.data.lang inLanguage: entry.data.lang
? entry.data.lang.replace("_", "-") ? entry.data.lang.replace("_", "-")
: siteConfig.lang.replace("_", "-"), : siteConfig.lang.replace("_", "-"),
// TODO include cover image here
}; };
const relatedPosts = await getRelatedPosts(entry, 5); const relatedPosts = await getRelatedPosts(entry, 5);
@@ -142,6 +149,9 @@ const relatedPosts = await getRelatedPosts(entry, 5);
headings={headings} headings={headings}
encrypted={!!entry.data.password} encrypted={!!entry.data.password}
bannerPostMeta={bannerPostMeta} bannerPostMeta={bannerPostMeta}
articlePublishedTime={formatDateToYYYYMMDD(entry.data.published)}
articleModifiedTime={formatDateToYYYYMMDD(entry.data.updated || entry.data.published)}
articleTags={entry.data.tags}
> >
<!-- KaTeX 按需加载 - 仅在文章页面 --> <!-- KaTeX 按需加载 - 仅在文章页面 -->
<KatexManager slot="head" /> <KatexManager slot="head" />
+98 -11
View File
@@ -6,9 +6,12 @@ import I18nKey from "@i18n/i18nKey";
import { i18n } from "@i18n/translation"; import { i18n } from "@i18n/translation";
import { getSortedPosts } from "@utils/content-utils"; import { getSortedPosts } from "@utils/content-utils";
import { formatDateI18nWithTime } from "@utils/date-utils"; import { formatDateI18nWithTime } from "@utils/date-utils";
import { url } from "@utils/url-utils"; import { processCoverImageSync } from "@utils/image-utils";
import type { APIContext } from "astro"; import { getFileDirFromPath, url } from "@utils/url-utils";
import type { APIContext, ImageMetadata } from "astro";
import type { CollectionEntry } from "astro:content";
import { experimental_AstroContainer as AstroContainer } from "astro/container"; import { experimental_AstroContainer as AstroContainer } from "astro/container";
import * as path from "node:path";
import sanitizeHtml from "sanitize-html"; import sanitizeHtml from "sanitize-html";
import { siteConfig } from "@/config"; import { siteConfig } from "@/config";
import pkg from "../../package.json"; import pkg from "../../package.json";
@@ -16,44 +19,128 @@ import pkg from "../../package.json";
function stripInvalidXmlChars(str: string): string { function stripInvalidXmlChars(str: string): string {
return str.replace( return str.replace(
// biome-ignore lint/suspicious/noControlCharactersInRegex: https://www.w3.org/TR/xml/#charsets // biome-ignore lint/suspicious/noControlCharactersInRegex: https://www.w3.org/TR/xml/#charsets
/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]/g, /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x9F﷐-﷯￾￿]/g,
"", "",
); );
} }
// 本地封面图:import.meta.glob 让 Vite 将资源纳入构建产物(dist/_astro/...)
const coverFiles = import.meta.glob<ImageMetadata>(
"../**/*.{png,jpg,jpeg,webp,avif,gif,svg}",
{ import: "default" },
);
function getImageMime(imageUrl: string): string {
const ext = imageUrl.split(/[?#]/)[0].split(".").pop()?.toLowerCase();
switch (ext) {
case "avif":
return "image/avif";
case "webp":
return "image/webp";
case "png":
return "image/png";
case "gif":
return "image/gif";
case "svg":
return "image/svg+xml";
default:
// 随机封面 API 通常无扩展名,默认按 jpeg 处理
return "image/jpeg";
}
}
/**
* 将 frontmatter 的 image 字段解析为绝对 URL,供 RSS 阅读器显示封面。
* 支持:本地相对路径、"/" 开头的 public 路径、http(s) 远程图、"api" 随机封面。
*/
async function resolveCoverUrl(
post: CollectionEntry<"posts">,
siteOrigin: string,
): Promise<string> {
const raw = processCoverImageSync(post.data.image, post.id);
if (!raw || raw.startsWith("data:")) {
return "";
}
if (
raw.startsWith("http://") ||
raw.startsWith("https://") ||
raw.startsWith("//")
) {
return raw;
}
if (raw.startsWith("/")) {
return new URL(raw, siteOrigin).href;
}
// 本地相对路径:相对于文章所在目录
const basePath = getFileDirFromPath(post.filePath ?? "");
const normalizedPath = path
.normalize(path.join("../", basePath, raw))
.replace(/\\/g, "/");
const file = coverFiles[normalizedPath];
if (!file) {
return "";
}
const img = await file();
return new URL(img.src, siteOrigin).href;
}
// 为 item 添加封面:enclosure(标准 RSS)、media:thumbnail(MRSS),
// 并将封面作为正文第一张图(Feedly、Inoreader 等按首图提取封面的阅读器)
function attachCover(item: RSSFeedItem, coverUrl: string, body?: string): void {
item.enclosure = { url: coverUrl, length: 0, type: getImageMime(coverUrl) };
item.customData = `<media:thumbnail url="${coverUrl.replace(/&/g, "&amp;")}"/>`;
if (body !== undefined) {
item.content = `<img src="${coverUrl}" alt="" />${body}`;
}
}
export async function GET(context: APIContext) { export async function GET(context: APIContext) {
const blog = await getSortedPosts(); const blog = await getSortedPosts();
const renderers = await loadRenderers([getMDXRenderer()]); const renderers = await loadRenderers([getMDXRenderer()]);
const container = await AstroContainer.create({ renderers }); const container = await AstroContainer.create({ renderers });
// dev 下 context.url.origin 为当前开发服务器地址;静态构建时由配置的 site 决定
const siteOrigin =
context.url?.origin || context.site || "https://firefly.cuteleaf.cn";
const feedItems: RSSFeedItem[] = []; const feedItems: RSSFeedItem[] = [];
for (const post of blog) { for (const post of blog) {
const coverUrl = await resolveCoverUrl(post, siteOrigin);
if (post.data.password) { if (post.data.password) {
feedItems.push({ const item: RSSFeedItem = {
title: post.data.title, title: post.data.title,
pubDate: post.data.published, pubDate: post.data.published,
description: post.data.description || "", description: post.data.description || "",
link: url(`/posts/${post.id}/`), link: url(`/posts/${post.id}/`),
content: i18n(I18nKey.passwordProtectedRss), content: i18n(I18nKey.passwordProtectedRss),
}); };
if (coverUrl) {
attachCover(item, coverUrl);
}
feedItems.push(item);
continue; continue;
} }
const { Content } = await render(post); const { Content } = await render(post);
const rawContent = await container.renderToString(Content); const rawContent = await container.renderToString(Content);
const cleanedContent = stripInvalidXmlChars(rawContent); const cleanedContent = stripInvalidXmlChars(rawContent);
feedItems.push({ const body = sanitizeHtml(cleanedContent, {
allowedTags: sanitizeHtml.defaults.allowedTags.concat(["img"]),
});
const item: RSSFeedItem = {
title: post.data.title, title: post.data.title,
pubDate: post.data.published, pubDate: post.data.published,
description: post.data.description || "", description: post.data.description || "",
link: url(`/posts/${post.id}/`), link: url(`/posts/${post.id}/`),
content: sanitizeHtml(cleanedContent, { content: body,
allowedTags: sanitizeHtml.defaults.allowedTags.concat(["img"]), };
}), if (coverUrl) {
}); attachCover(item, coverUrl, body);
}
feedItems.push(item);
} }
return rss({ return rss({
title: siteConfig.title, title: siteConfig.title,
description: siteConfig.subtitle || "No description", description: siteConfig.subtitle || "No description",
site: context.site ?? "https://firefly.cuteleaf.cn", site: siteOrigin,
xmlns: { media: "http://search.yahoo.com/mrss/" },
customData: `<templateTheme>Firefly</templateTheme> customData: `<templateTheme>Firefly</templateTheme>
<templateThemeVersion>${pkg.version}</templateThemeVersion> <templateThemeVersion>${pkg.version}</templateThemeVersion>
<templateThemeUrl>https://github.com/CuteLeaf/Firefly</templateThemeUrl> <templateThemeUrl>https://github.com/CuteLeaf/Firefly</templateThemeUrl>
+215
View File
@@ -0,0 +1,215 @@
---
import Comment from "@components/comment/index.astro";
import { Icon } from "astro-icon/components";
import { commentConfig, siteConfig, sponsorConfig } from "@/config";
import I18nKey from "@/i18n/i18nKey";
import { i18n } from "@/i18n/translation";
import MainGridLayout from "@/layouts/MainGridLayout.astro";
import { getLqipProps } from "@/utils/lqip-utils";
import { url } from "@/utils/url-utils";
// 检查页面是否启用
if (!siteConfig.pages.sponsor) {
return Astro.redirect("/404/");
}
// 检查评论系统是否启用
const isCommentEnabled =
commentConfig?.type &&
commentConfig.type !== "none" &&
sponsorConfig.showComment !== false;
const title = sponsorConfig.title || i18n(I18nKey.sponsorTitle);
const description =
sponsorConfig.description || i18n(I18nKey.sponsorDescription);
const enabledMethods = sponsorConfig.methods.filter((method) => method.enabled);
const sponsors = sponsorConfig.sponsors || [];
const showSponsorsList = sponsorConfig.showSponsorsList !== false;
// LQIP 渐变占位
function getQrLqipProps(qrCode: string) {
return getLqipProps(qrCode, undefined, true);
}
---
<MainGridLayout title={title} description={description}>
<div class="flex w-full rounded-(--radius-large) overflow-hidden relative min-h-32">
<div class="card-base z-10 px-9 py-6 relative w-full">
<!-- 页面标题和描述 -->
<div class="mb-8">
<div class="flex items-center gap-3 mb-3">
<div class="h-8 w-8 rounded-lg bg-(--primary) flex items-center justify-center text-white dark:text-black/70">
<Icon name="material-symbols:favorite" class="text-[1.5rem]"></Icon>
</div>
<div class="text-3xl font-bold text-neutral-900 dark:text-neutral-100">
{title}
</div>
</div>
{description && (
<p class="text-base text-neutral-600 dark:text-neutral-400 leading-relaxed mb-4">
{description}
</p>
)}
{sponsorConfig.usage && (
<div class="mb-8 p-4 rounded-lg bg-(--primary)/8 dark:bg-(--btn-regular-bg) border border-(--primary)/30 dark:border-none backdrop-blur-xs shadow-xs usage-info-box">
<div class="flex items-start gap-2">
<Icon name="material-symbols:info-outline" class="text-(--primary) text-lg shrink-0 mt-0.5" />
<p class="text-sm text-neutral-700 dark:text-neutral-200 leading-relaxed">
<span class="font-semibold text-(--primary)"></span>
{sponsorConfig.usage}
</p>
</div>
</div>
)}
</div>
<!-- 打赏方式 -->
<div class="mb-8">
<div class="grid grid-cols-1 sm:grid-cols-2 gap-6">
{enabledMethods.map((method) => (
<div class="flex flex-col items-center card-base p-6 rounded-lg bg-neutral-50 dark:bg-neutral-900/50 border border-neutral-200 dark:border-neutral-800 hover:border-(--primary) transition-colors">
<!-- 图标和名称 -->
<div class="flex items-center gap-3 mb-4">
{method.icon && (
<Icon name={method.icon} class="text-2xl text-neutral-900 dark:text-neutral-100 transition-colors" />
)}
<h3 class="text-xl font-semibold text-neutral-900 dark:text-neutral-100">
{method.name}
</h3>
</div>
<!-- 描述 -->
{method.description && (
<p class="text-sm text-neutral-600 dark:text-neutral-400 mb-4 text-center">
{method.description}
</p>
)}
<!-- 二维码或链接 -->
{method.qrCode && (
<div class="relative w-full max-w-[200px] aspect-square bg-white rounded-lg p-4 shadow-md mb-4 overflow-hidden">
<div class="lqip-placeholder absolute inset-0 rounded-lg pointer-events-none" style={getQrLqipProps(method.qrCode).style} aria-hidden="true"></div>
<img
src={url(method.qrCode)}
alt={`${method.name} ${i18n(I18nKey.scanToSponsor)}`}
class="relative w-full h-full object-contain opacity-0 transition-opacity duration-500 ease-out"
loading="lazy"
/>
</div>
)}
{method.link && (
<a
href={method.link}
target="_blank"
rel="noopener noreferrer"
class="inline-flex items-center gap-2 px-4 py-2 bg-(--primary) text-white dark:text-black/70 rounded-lg font-medium hover:bg-(--primary)/90 active:scale-95 transition-all"
>
<span>{i18n(I18nKey.sponsorGoTo)}</span>
<Icon name="fa7-solid:arrow-up-right-from-square" class="text-sm" />
</a>
)}
</div>
))}
</div>
</div>
</div>
</div>
<!-- 打赏者列表 -->
{showSponsorsList && (
<div class="flex w-full rounded-(--radius-large) overflow-hidden relative mt-4">
<div class="card-base z-10 px-9 py-6 relative w-full">
<div class="flex items-center justify-between mb-6">
<div class="flex items-center gap-3">
<div class="h-8 w-8 rounded-lg bg-(--primary)/10 flex items-center justify-center">
<Icon name="material-symbols:emoji-people-rounded" class="text-[1.25rem] text-(--primary)" />
</div>
<h2 class="text-xl font-bold text-neutral-900 dark:text-neutral-100">
{i18n(I18nKey.sponsorList)}
</h2>
</div>
{sponsors.length > 0 && (
<span class="text-xs text-neutral-400 dark:text-neutral-500">
{sponsors.length}
</span>
)}
</div>
{sponsors.length > 0 ? (
<div class="sponsor-grid">
{sponsors.map((sponsor) => (
<div class="group flex items-center gap-3 p-3 rounded-xl border border-(--line-divider) hover:border-(--primary) transition-all duration-200">
{/* 头像占位 */}
<!-- 新的头像逻辑:有头像用图片,没有用首字母 -->
{sponsor.avatar ? (
<img
src={url(sponsor.avatar)}
alt={sponsor.name}
class="w-9 h-9 rounded-full object-cover shrink-0"
loading="lazy"
onerror="this.style.display='none'; this.nextElementSibling.style.display='flex';"
/>
) : null}
<!-- 首字母头像(作为兜底,图片加载失败也会显示这个) -->
<div
class={`w-9 h-9 rounded-full bg-(--primary)/10 flex items-center justify-center shrink-0 group-hover:bg-(--primary)/20 transition-colors ${sponsor.avatar ? 'hidden' : ''}`}
>
<span class="text-sm font-bold text-(--primary)">{sponsor.name.charAt(0)}</span>
</div>
{/* 信息 */}
<div class="flex-1 min-w-0">
<div class="flex items-center gap-2">
<span class="font-semibold text-sm text-neutral-900 dark:text-neutral-100 truncate">
{sponsor.name}
</span>
{sponsor.amount && (
<span class="shrink-0 text-xs font-bold text-(--primary)">
{sponsor.amount}
</span>
)}
</div>
{sponsor.date && (
<span class="text-[0.65rem] text-neutral-400 dark:text-neutral-500">
{new Date(sponsor.date).toLocaleDateString()}
</span>
)}
</div>
</div>
))}
</div>
) : (
<div class="text-center py-12 text-neutral-500 dark:text-neutral-500">
<p>{i18n(I18nKey.sponsorEmpty)}</p>
</div>
)}
</div>
</div>
)}
<!-- 评论区 -->
{isCommentEnabled && (
<div class="mt-4">
<Comment customPath="/sponsor/" title="sponsor" />
</div>
)}
</MainGridLayout>
<style>
/* 透明模式下使用半透明背景 */
:global(body.wallpaper-transparent .usage-info-box) {
background-color: rgba(var(--primary-rgb, 70, 130, 180), 0.15) !important;
}
:global(:root.dark body.wallpaper-transparent .usage-info-box) {
background-color: oklch(from var(--primary) l c h / 0.15) !important;
}
</style>
<style is:global>
.sponsor-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
gap: 0.75rem;
}
</style>
+49
View File
@@ -1,3 +1,5 @@
@import "rehype-code-group/styles.css";
.expressive-code { .expressive-code {
.frame { .frame {
@apply shadow-none!; @apply shadow-none!;
@@ -58,3 +60,50 @@ body.wallpaper-transparent .expressive-code .frame {
background: var(--card-bg-transparent) !important; background: var(--card-bg-transparent) !important;
} }
/* rehype-code-group 主题适配与代码块显示修复 */
.rehype-code-group {
--rcg-accent: var(--primary);
--rcg-border-color: var(--line-color);
--rcg-focus-color: var(--primary);
--rcg-tab-background: transparent;
--rcg-tab-background-active: var(--btn-regular-bg);
--rcg-tab-color: var(--btn-content);
margin-top: 1rem;
margin-bottom: 1rem;
.rcg-tab-container {
border-bottom: 1px solid var(--line-color);
padding-bottom: 0;
}
.rcg-tab {
font-size: 0.875rem;
padding: 0.375rem 0.875rem;
border-radius: 0.5rem 0.5rem 0 0;
transition: all 0.2s ease;
border-bottom: 2px solid transparent;
&:hover {
background-color: var(--btn-plain-bg-hover);
color: var(--primary);
}
&.active {
border-bottom-color: var(--primary);
background-color: var(--btn-regular-bg);
color: var(--primary);
font-weight: 600;
}
}
/* 核心修复:进入页面时仅显示激活的代码块,杜绝多代码块同时渲染及闪烁 */
.rcg-block:not(.active) {
display: none !important;
}
.rcg-block.active {
display: block !important;
}
}
+9
View File
@@ -0,0 +1,9 @@
/* 卡片列表通用网格:auto-fill 自动换列,列宽下限由页面通过 --card-grid-min-width 指定 */
.card-grid {
display: grid;
grid-template-columns: repeat(
auto-fill,
minmax(var(--card-grid-min-width, 320px), 1fr)
);
gap: 1rem;
}
+107
View File
@@ -0,0 +1,107 @@
/* 页面通用外壳与页头:各列表页共用的 .page-* 骨架(按页引入) */
.page-shell {
box-sizing: border-box;
min-width: 0;
width: 100%;
max-width: 100%;
}
.page-header {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 1rem;
margin-bottom: 1rem;
padding: 1.5rem 2rem;
}
.page-heading {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.875rem;
}
.page-count {
display: inline-flex;
align-items: baseline;
gap: 0.3rem;
align-self: center;
color: var(--primary);
white-space: nowrap;
}
.page-count svg {
align-self: center;
font-size: 1.35rem;
}
.page-count strong {
font-size: 1.3rem;
font-weight: 700;
line-height: 1;
}
.page-count span {
color: var(--content-meta);
font-size: 0.8rem;
font-weight: 500;
}
.page-icon {
display: grid;
width: 3.5rem;
height: 3.5rem;
flex: 0 0 3.5rem;
place-items: center;
border-radius: var(--radius-large);
background: var(--primary);
color: white;
font-size: 2.5rem;
}
:root.dark .page-icon {
color: rgb(0 0 0 / 70%);
}
.page-heading h2 {
margin: 0;
color: rgb(0 0 0 / 90%);
font-size: 1.5rem;
font-weight: 700;
line-height: 1.25;
}
.page-heading p {
margin: 0.2rem 0 0;
color: var(--content-meta);
font-size: 0.875rem;
}
/* 更新时间等次要说明行 */
.page-heading .page-updated {
margin: 0 0 0 auto;
align-self: center;
color: var(--content-meta);
font-size: 0.75rem;
line-height: 1.5;
text-align: center;
}
.page-heading .page-updated span {
display: block;
}
:root.dark .page-heading h2 {
color: rgb(255 255 255 / 90%);
}
@media (max-width: 640px) {
.page-header {
padding: 1.25rem;
}
.page-count {
align-self: center;
}
}
+7
View File
@@ -0,0 +1,7 @@
/* Gallery masonry responsive layout */
@media (min-width: 640px) {
.gallery-masonry {
column-width: var(--col-width, 240px) !important;
column-count: auto !important;
}
}