diff --git a/README.md b/README.md index a6fb937..29b3405 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ - - Yufan Blog Logo + + Yufan Blog Logo # Yufan Personal Weblog diff --git a/package-lock.json b/package-lock.json index ae45921..33c39e9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "fuse.js": "^7.0.0", "lodash": "^4.17.21", "luxon": "^3.5.0", - "marked": "^14.1.3", + "marked": "^14.1.4", "pg": "^8.13.1", "qrcode-svg": "^1.1.0", "ultrahtml": "^1.5.3" @@ -25,7 +25,7 @@ "devDependencies": { "@astrojs/check": "^0.9.4", "@biomejs/biome": "^1.9.4", - "@napi-rs/canvas": "^0.1.59", + "@napi-rs/canvas": "^0.1.60", "@types/lodash": "^4.17.13", "@types/luxon": "^3.4.2", "@types/node": "^22.9.0", @@ -1726,30 +1726,30 @@ } }, "node_modules/@napi-rs/canvas": { - "version": "0.1.59", - "resolved": "https://registry.npmjs.org/@napi-rs/canvas/-/canvas-0.1.59.tgz", - "integrity": "sha512-3vUtQ8DzYcz9xy86UUe8OfDiXNuuLB9zFAUs5N/I2GpkY/MWBJ2M7w5FqH380oC44IzYOWaOMLWCPfNZBsbBww==", + "version": "0.1.60", + "resolved": "https://registry.npmjs.org/@napi-rs/canvas/-/canvas-0.1.60.tgz", + "integrity": "sha512-2a/8ynCHVXu9JVTeT/RLrZy6kro3VHnxDqy7SyHIdzCUUwJoKuKNmDzXjD6bqE0W/07j1lFW7OVIAYSr1GiWuA==", "dev": true, "license": "MIT", "engines": { "node": ">= 10" }, "optionalDependencies": { - "@napi-rs/canvas-android-arm64": "0.1.59", - "@napi-rs/canvas-darwin-arm64": "0.1.59", - "@napi-rs/canvas-darwin-x64": "0.1.59", - "@napi-rs/canvas-linux-arm-gnueabihf": "0.1.59", - "@napi-rs/canvas-linux-arm64-gnu": "0.1.59", - "@napi-rs/canvas-linux-arm64-musl": "0.1.59", - "@napi-rs/canvas-linux-x64-gnu": "0.1.59", - "@napi-rs/canvas-linux-x64-musl": "0.1.59", - "@napi-rs/canvas-win32-x64-msvc": "0.1.59" + "@napi-rs/canvas-android-arm64": "0.1.60", + "@napi-rs/canvas-darwin-arm64": "0.1.60", + "@napi-rs/canvas-darwin-x64": "0.1.60", + "@napi-rs/canvas-linux-arm-gnueabihf": "0.1.60", + "@napi-rs/canvas-linux-arm64-gnu": "0.1.60", + "@napi-rs/canvas-linux-arm64-musl": "0.1.60", + "@napi-rs/canvas-linux-x64-gnu": "0.1.60", + "@napi-rs/canvas-linux-x64-musl": "0.1.60", + "@napi-rs/canvas-win32-x64-msvc": "0.1.60" } }, "node_modules/@napi-rs/canvas-android-arm64": { - "version": "0.1.59", - "resolved": "https://registry.npmjs.org/@napi-rs/canvas-android-arm64/-/canvas-android-arm64-0.1.59.tgz", - "integrity": "sha512-p4rRL9KIDz57Z+gKLpemX36DB7fVVHmY4DtesMGrnjx4gSBUM2M7LNzbzf4o3oPZGDiHMY0vnvNHR4dKfszNeg==", + "version": "0.1.60", + "resolved": "https://registry.npmjs.org/@napi-rs/canvas-android-arm64/-/canvas-android-arm64-0.1.60.tgz", + "integrity": "sha512-KNOBYH3BUfUl5mo5wvrA2C+tJk0RnF4InkbsCoHdsxjhLjbriJKmu5DCFLaiG/c6WPfTcLRz73bGcP7boVeb6A==", "cpu": [ "arm64" ], @@ -1764,9 +1764,9 @@ } }, "node_modules/@napi-rs/canvas-darwin-arm64": { - "version": "0.1.59", - "resolved": "https://registry.npmjs.org/@napi-rs/canvas-darwin-arm64/-/canvas-darwin-arm64-0.1.59.tgz", - "integrity": "sha512-+8s06WxcM9ilv9PVOl57hvasbwKWMfrrNAYknqMPCn4jpc4XDcLbrM5LTZGhhptlv9jQ9DmHfZ978/xInsMYXw==", + "version": "0.1.60", + "resolved": "https://registry.npmjs.org/@napi-rs/canvas-darwin-arm64/-/canvas-darwin-arm64-0.1.60.tgz", + "integrity": "sha512-j6PA7RwRcx0409Jk3zz6beq3EtvwEgvN46FyKgFnSnzoV0ey2kM+KI2XTpG3tE/v4+fTnQenR+ysUBEgtWuUuA==", "cpu": [ "arm64" ], @@ -1781,9 +1781,9 @@ } }, "node_modules/@napi-rs/canvas-darwin-x64": { - "version": "0.1.59", - "resolved": "https://registry.npmjs.org/@napi-rs/canvas-darwin-x64/-/canvas-darwin-x64-0.1.59.tgz", - "integrity": "sha512-6kziJHjXdxduYK2L2uuwjEIYoPJednKq+C81MCm3fPobXE4HBKs0JGXwq3GkWNe340U340vmagwXiFi6muEy+g==", + "version": "0.1.60", + "resolved": "https://registry.npmjs.org/@napi-rs/canvas-darwin-x64/-/canvas-darwin-x64-0.1.60.tgz", + "integrity": "sha512-k0uBuShNK7QnOJlLhzxSsnSdJMkiU8VexqvuTEi0qABqKkHrYzD0ezUgtyvaVLOOoqxwGy1Hh5ZoEze5s9H/6g==", "cpu": [ "x64" ], @@ -1798,9 +1798,9 @@ } }, "node_modules/@napi-rs/canvas-linux-arm-gnueabihf": { - "version": "0.1.59", - "resolved": "https://registry.npmjs.org/@napi-rs/canvas-linux-arm-gnueabihf/-/canvas-linux-arm-gnueabihf-0.1.59.tgz", - "integrity": "sha512-eCkyS7jojNmaUPaVFdNjAyS0R3isrJtUfRf1vRP6K50GRuHso3vwQRbZBPKM71qHdjPDylfaQc5H6/M7epyD+w==", + "version": "0.1.60", + "resolved": "https://registry.npmjs.org/@napi-rs/canvas-linux-arm-gnueabihf/-/canvas-linux-arm-gnueabihf-0.1.60.tgz", + "integrity": "sha512-X2cQ6MIDZn5dMsy9jakASM6tvo2PGd3dq25gqrUzJeQIngQhLIWZtaYWza3md3M6HoQ4b/6W81OVQhgL/8uTkA==", "cpu": [ "arm" ], @@ -1815,9 +1815,9 @@ } }, "node_modules/@napi-rs/canvas-linux-arm64-gnu": { - "version": "0.1.59", - "resolved": "https://registry.npmjs.org/@napi-rs/canvas-linux-arm64-gnu/-/canvas-linux-arm64-gnu-0.1.59.tgz", - "integrity": "sha512-1u4++lbsolP1MAPViuDoZmgmDLKlV0iJnlHN2dfwgbu3t53P0l3jIT1oCIAiWil0OlrWtDF24JbY7LUUGH5aHg==", + "version": "0.1.60", + "resolved": "https://registry.npmjs.org/@napi-rs/canvas-linux-arm64-gnu/-/canvas-linux-arm64-gnu-0.1.60.tgz", + "integrity": "sha512-Ch02kQsetlXA4tfHfSJ63oyq9EbYB00yy/6hZ0/VYh60pLnopvsMt682+cM+rGBbgm14G+Heh3rDzJ6zBiiocw==", "cpu": [ "arm64" ], @@ -1832,9 +1832,9 @@ } }, "node_modules/@napi-rs/canvas-linux-arm64-musl": { - "version": "0.1.59", - "resolved": "https://registry.npmjs.org/@napi-rs/canvas-linux-arm64-musl/-/canvas-linux-arm64-musl-0.1.59.tgz", - "integrity": "sha512-eqevZ2kWPxeAnvhxl7U5tf6AiMnhlO4w2Hci79WQkfeirqQG6RRM4Jnxbh9iO3jkAnnOXmM4r+S3UrOcfIx1Rg==", + "version": "0.1.60", + "resolved": "https://registry.npmjs.org/@napi-rs/canvas-linux-arm64-musl/-/canvas-linux-arm64-musl-0.1.60.tgz", + "integrity": "sha512-7TpSJM4RnhHnAMrA/bDXitNVx9TV8ZLQ/47QHsNhdZ77yCgcEyLBRgUGvjsmnUpWIHhTOWTHDlGY47zHcQDfhA==", "cpu": [ "arm64" ], @@ -1849,9 +1849,9 @@ } }, "node_modules/@napi-rs/canvas-linux-x64-gnu": { - "version": "0.1.59", - "resolved": "https://registry.npmjs.org/@napi-rs/canvas-linux-x64-gnu/-/canvas-linux-x64-gnu-0.1.59.tgz", - "integrity": "sha512-F+T63RnLt0qYUXhbOpaome3vIWLW4xoQRmhTnkKDzOtBSnKVP7sCM6E5/5tByOFCR3fTj4ksMeeHy8zJScEExA==", + "version": "0.1.60", + "resolved": "https://registry.npmjs.org/@napi-rs/canvas-linux-x64-gnu/-/canvas-linux-x64-gnu-0.1.60.tgz", + "integrity": "sha512-46yi+fIUQ5SRg0Qs3L04zh67kk0uFJa2elWt/cS/7kEydu06uhjbJwW3123J9KShu2PKLlaZEqxJPksYpowoeA==", "cpu": [ "x64" ], @@ -1866,9 +1866,9 @@ } }, "node_modules/@napi-rs/canvas-linux-x64-musl": { - "version": "0.1.59", - "resolved": "https://registry.npmjs.org/@napi-rs/canvas-linux-x64-musl/-/canvas-linux-x64-musl-0.1.59.tgz", - "integrity": "sha512-HhUgpTGQUR2VRslEC5Idf6s0hhamJiVlEh2k3AG9XXOwX6fg0xXkqm84DPiOCLzsO5bqtJEo+rh03BUSDcf53g==", + "version": "0.1.60", + "resolved": "https://registry.npmjs.org/@napi-rs/canvas-linux-x64-musl/-/canvas-linux-x64-musl-0.1.60.tgz", + "integrity": "sha512-lTKiv5VnccFyZAd27AL6t69djDXQlfUgVE03PTM5HZUUy0h7sQKnrGh2mSMq58E3/vA0k65IFDqVqxyLjCpvlw==", "cpu": [ "x64" ], @@ -1883,9 +1883,9 @@ } }, "node_modules/@napi-rs/canvas-win32-x64-msvc": { - "version": "0.1.59", - "resolved": "https://registry.npmjs.org/@napi-rs/canvas-win32-x64-msvc/-/canvas-win32-x64-msvc-0.1.59.tgz", - "integrity": "sha512-bYMiZJsKPkU7HEoYI5E0alOSV1EkaigY4VEgGHPK9W/qGMmNFsxdbURQqa5h3zbhZTK5QRSdYYqowcTEYVIlug==", + "version": "0.1.60", + "resolved": "https://registry.npmjs.org/@napi-rs/canvas-win32-x64-msvc/-/canvas-win32-x64-msvc-0.1.60.tgz", + "integrity": "sha512-b7VjNQ3V/7G6VQqB8KvG9A06ENFZhxFMe4areUduipFwuJ0w35PGgOmYZHd0+iY9Nh7niECjgPRNDcrzpDlWXg==", "cpu": [ "x64" ], @@ -3618,9 +3618,9 @@ } }, "node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "version": "7.0.5", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.5.tgz", + "integrity": "sha512-ZVJrKKYunU38/76t0RMOulHOnUcbU9GbpWKAOZ0mhjr7CX6FVrH+4FrAapSOekrgFQ3f/8gwMEuIft0aKq6Hug==", "dev": true, "license": "MIT", "dependencies": { @@ -3903,9 +3903,9 @@ "license": "MIT" }, "node_modules/electron-to-chromium": { - "version": "1.5.52", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.52.tgz", - "integrity": "sha512-xtoijJTZ+qeucLBDNztDOuQBE1ksqjvNjvqFoST3nGC7fSpqJ+X6BdTBaY5BHG+IhWWmpc6b/KfpeuEDupEPOQ==", + "version": "1.5.54", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.54.tgz", + "integrity": "sha512-TX6vHleisn5i/4pekTyy1sdoLXQNy8VFvBK/fJRXSyp7GUO27KioLTG0Qo5wFjM3ZF4ryKinDo4m+IJ+rwUWSw==", "license": "ISC" }, "node_modules/emmet": { @@ -5363,9 +5363,9 @@ } }, "node_modules/marked": { - "version": "14.1.3", - "resolved": "https://registry.npmjs.org/marked/-/marked-14.1.3.tgz", - "integrity": "sha512-ZibJqTULGlt9g5k4VMARAktMAjXoVnnr+Y3aCqW1oDftcV4BA3UmrBifzXoZyenHRk75csiPu9iwsTj4VNBT0g==", + "version": "14.1.4", + "resolved": "https://registry.npmjs.org/marked/-/marked-14.1.4.tgz", + "integrity": "sha512-vkVZ8ONmUdPnjCKc5uTRvmkRbx4EAi2OkTOXmfTDhZz3OFqMNBM1oTTWwTr4HY4uAEojhzPf+Fy8F1DWa3Sndg==", "license": "MIT", "bin": { "marked": "bin/marked.js" diff --git a/package.json b/package.json index af9745b..6d9d66f 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "fuse.js": "^7.0.0", "lodash": "^4.17.21", "luxon": "^3.5.0", - "marked": "^14.1.3", + "marked": "^14.1.4", "pg": "^8.13.1", "qrcode-svg": "^1.1.0", "ultrahtml": "^1.5.3" @@ -58,7 +58,7 @@ "devDependencies": { "@astrojs/check": "^0.9.4", "@biomejs/biome": "^1.9.4", - "@napi-rs/canvas": "^0.1.59", + "@napi-rs/canvas": "^0.1.60", "@types/lodash": "^4.17.13", "@types/luxon": "^3.4.2", "@types/node": "^22.9.0", diff --git a/docs/poster/github-poster-dark.png b/public/blog-poster-dark.png similarity index 100% rename from docs/poster/github-poster-dark.png rename to public/blog-poster-dark.png diff --git a/docs/poster/github-poster.png b/public/blog-poster.png similarity index 100% rename from docs/poster/github-poster.png rename to public/blog-poster.png diff --git a/public/logo-dark.svg b/public/logo-dark.svg new file mode 100644 index 0000000..a012f2c --- /dev/null +++ b/public/logo-dark.svg @@ -0,0 +1,14 @@ + + + logo dark + + + + + + + + + + + diff --git a/public/logo.svg b/public/logo.svg index 6dc0bd9..17c0ea2 100644 --- a/public/logo.svg +++ b/public/logo.svg @@ -1,8 +1,8 @@ logo - \ No newline at end of file + diff --git a/src/content/pages/links.mdx b/src/content/pages/links.mdx index 1f922bf..d8026fd 100644 --- a/src/content/pages/links.mdx +++ b/src/content/pages/links.mdx @@ -39,5 +39,9 @@ published: true 1. 博客名称:且听书吟 2. 博客简介:诗与梦想的远方 3. 博客网址:https://yufan.me -4. 博客 LOGO:https://yufan.me/logo.svg -5. 博客 Banner:https://github.com/syhily/yufan.me/blob/astro/docs/poster/github-poster.png +4. 博客 LOGO: + * 浅色:https://yufan.me/logo.svg + * 深色:https://yufan.me/logo-dark.svg +5. 博客 Banner: + * 浅色:https://yufan.me/blog-poster.png + * 深色:https://yufan.me/blog-poster-dark.png