Compare commits
150 Commits
0888432c86
...
dependabot
Author | SHA1 | Date | |
---|---|---|---|
488c659a39 | |||
75da123e09 | |||
c03e9c6658 | |||
b5dd9d1f84 | |||
ee9a8e4b0a | |||
4c96c80101 | |||
fa09ed5bc1 | |||
07d4fcbc19 | |||
a563602baf | |||
a7f416df4f | |||
6dfdcc2234 | |||
c3ff39ab6e | |||
e4d7129465 | |||
c8c0250793 | |||
73d962248a | |||
0149481062 | |||
f3547b2e51 | |||
ed3119e37d | |||
723151fad0 | |||
befe3b6f11 | |||
433d2f1152 | |||
207d923ee7 | |||
535082b945 | |||
cc89da80d8 | |||
0c8cae5bea | |||
f8e73888d1 | |||
53487b36e7 | |||
6a3b085635 | |||
85ac5bcda1 | |||
1b16e54e09 | |||
4705878c1d | |||
e31323397b | |||
b5502d4cbe | |||
09b8958141 | |||
ac1173786f | |||
55040baff5 | |||
b2b1ba6dcd | |||
66ec490344 | |||
39652a9e90 | |||
4feb5e95af | |||
a9879a68b1 | |||
8e7273da0c | |||
807cf650f8 | |||
b7bf1eab35 | |||
b931b14013 | |||
e123d5928a | |||
e6a88b73af | |||
c36acc92c6 | |||
79e12689c9 | |||
013ede32a4 | |||
ee3068bc18 | |||
99b2d194bb | |||
f37e2a10bb | |||
ca268a37dc | |||
1a40d05221 | |||
f5085a2490 | |||
0fc8c6cb80 | |||
5a7c9eced0 | |||
45bbf23dbc | |||
66cbee31df | |||
ae886f5596 | |||
fcf0f24937 | |||
10abfc34a7 | |||
c5eca7b064 | |||
6b7e3f1b70 | |||
c12699b65c | |||
937eee5627 | |||
6dee4650b9 | |||
0e9ad45b65 | |||
fd1bbcbf21 | |||
47473a34f9 | |||
fdd2768e0c | |||
57ee25f4f3 | |||
58f4e095b5 | |||
64383959c0 | |||
bb1b0eaa5b | |||
2bfda8024b | |||
0cf1cbb56a | |||
e2e98f9cc7 | |||
c037d61e49 | |||
ab931dd953 | |||
0eba98f263 | |||
50d4e72216 | |||
b3004795f0 | |||
92aa02ed46 | |||
e7d79d1733 | |||
f5a8cd1a06 | |||
e5a5192922 | |||
7037b5a0fb | |||
ab9ca1ba14 | |||
57edf2f4e6 | |||
b187b8c9ca | |||
0e5bf1e01e | |||
c57de061be | |||
56d4cc877e | |||
eeed2a201b | |||
cf0ed3decd | |||
3e4539ddbe | |||
d3f479d891 | |||
27d1849336 | |||
8390d757ea | |||
a25ea16c36 | |||
febcdb06a4 | |||
a9928d78c8 | |||
d70d2af9d1 | |||
4288d472c7 | |||
2fd907f3e8 | |||
95fed683c8 | |||
492e9bac78 | |||
4fe221acf1 | |||
1c36e3f5ec | |||
a2bef5b7ad | |||
dd87317456 | |||
795af34d25 | |||
857eb8b1f8 | |||
ccf89cfb95 | |||
033aff4018 | |||
3a1aebd718 | |||
4bf67ab53a | |||
f2cf86e9d0 | |||
7bbe51e4bd | |||
a90b31a668 | |||
d3240e607c | |||
f5655ef972 | |||
80c2ee94a9 | |||
66478bb19a | |||
c20c2a39b5 | |||
d2f9072d90 | |||
5d2123077d | |||
71a46f6eee | |||
de56f79e7d | |||
8e20625972 | |||
d42c581794 | |||
35853958d2 | |||
fa9476ca80 | |||
6bea8d12e6 | |||
67698eed22 | |||
6639493f18 | |||
3af73ab320 | |||
c7b012a891 | |||
7912a06e82 | |||
e334636663 | |||
723b29e9d5 | |||
527e98e0d1 | |||
cd6388c0d6 | |||
902d84dded | |||
9a5bea6580 | |||
ca74c1c589 | |||
94e6babb46 | |||
e60539598e |
2
.github/workflows/main.yml
vendored
@ -14,7 +14,7 @@ jobs:
|
||||
- name: Pull in dev.to posts
|
||||
uses: gautamkrishnar/blog-post-workflow@v1
|
||||
with:
|
||||
template: $newline - [$date 【$categories】 $title]($url)
|
||||
template: $newline - [$date $title]($url)
|
||||
date_format: "yyyy-mm-dd"
|
||||
feed_list: "https://blog.kazoottt.top/rss.xml"
|
||||
max_post_count: 25
|
||||
|
61
README.md
@ -1,52 +1,15 @@
|
||||
# KazooTTT | 声控烤箱 博客
|
||||
|
||||
## [Blog](https://blog.kazoottt.top/posts/)
|
||||
<!-- BLOG-POST-LIST:START -->
|
||||
- [2025-02-09 【周报】 2025-W06](https://blog.kazoottt.top/posts/2025-W06/)
|
||||
- [2025-02-09 【前端】 不引入astro wiki plugin实现链接跳转的思路](https://blog.kazoottt.top/posts/redirect-links-without-astro-wiki-plugin/)
|
||||
- [2025-02-06 【软件】 Obsidian Web Clipper 离线阅读同人作品](https://blog.kazoottt.top/posts/obsidian-web-clipper-offline-reading-fanfics/)
|
||||
- [2025-02-01 【软件】 封面生成器推荐](https://blog.kazoottt.top/posts/cover-generator/)
|
||||
- [2025-01-30 【年报】 Y5-2024年度总结](https://blog.kazoottt.top/posts/2024-annual-summary/)
|
||||
- [2025-01-14 【frontend】 how to generate the path like router config in vite + react + react-router project](https://blog.kazoottt.top/posts/how-to-generate-the-path-like-router-config-in-vite-react-react-router-project/)
|
||||
- [2025-01-12 【随笔】 “原来亲人在侧,是我最深重的感谢”](https://blog.kazoottt.top/posts/plain-and-simple-is-true/)
|
||||
- [2025-01-07 【随笔】 ollama + excel处理器开发总结](https://blog.kazoottt.top/posts/ollama-excel-processor-development-summary/)
|
||||
- [2025-01-06 【项目】 MUV家元旦24H限定食堂 - 汇总网站](https://blog.kazoottt.top/posts/milklovemuv/)
|
||||
- [2024-12-19 【推荐】 值得一看的博客](https://blog.kazoottt.top/posts/blogs-worth-reading/)
|
||||
- [2024-12-18 【】 与hanser有关的github仓库](https://blog.kazoottt.top/posts/hanser-repository/)
|
||||
- [2024-12-17 【】 Share My Incorrect Usage Cases of Zustand](https://blog.kazoottt.top/posts/share-my-incorrect-usage-case-of-zustand-en/)
|
||||
- [2024-12-17 【前端】 分享一下我的zustand错误使用案例](https://blog.kazoottt.top/posts/zustand-use-record/)
|
||||
- [2024-12-11 【】 raycast + imessage 2fa,messauto的半平替](https://blog.kazoottt.top/posts/raycast-imessage-2fa/)
|
||||
- [2024-11-29 【】 使用github action定时同步obsidian内容到博客仓库](https://blog.kazoottt.top/posts/synchronize-profiles-to-remote-and-local-on-a-regular-basis/)
|
||||
- [2024-11-23 【软件】 个人工具与设备清单](https://blog.kazoottt.top/posts/personal-tools-and-equipment-inventory-202502/)
|
||||
- [2024-11-12 【旅行】 五一 上海-重庆-成都流水账](https://blog.kazoottt.top/posts/may-1st-shanghai-chongqing-chengdu-flow-account/)
|
||||
- [2024-09-02 【旅行】 2024 永不完结的冒险 武汉线下vlog](https://blog.kazoottt.top/posts/yukari-2024-live/)
|
||||
- [2024-07-30 【项目】 微信读书网页版复制快捷键](https://blog.kazoottt.top/posts/wechat-reading-web-version-copy-shortcut/)
|
||||
- [2024-07-17 【旅行】 BW记录-个人向流水账版](https://blog.kazoottt.top/posts/bw-record-personal-notes/)
|
||||
- [2024-07-11 【周报】 2024-W03.md](https://blog.kazoottt.top/posts/2024-W03/)
|
||||
- [2024-07-11 【周报】 2024-W03-编程篇](https://blog.kazoottt.top/posts/2024-W03-programming/)
|
||||
- [2024-07-11 【周报】 2023-W48 转岗了](https://blog.kazoottt.top/posts/2023-W48/)
|
||||
- [2024-07-08 【旅行】 端午去广州玩了](https://blog.kazoottt.top/posts/duanwu-guangzhou-trip/)
|
||||
- [2024-07-01 【软件】 如何自动同步某个文件夹的图片到某个相册中](https://blog.kazoottt.top/posts/auto-sync-folder-to-album/)<!-- BLOG-POST-LIST:END -->
|
||||
## 关于我
|
||||
|
||||
无论是博客还是笔记,最重要的服务对象是我自己。
|
||||
|
||||
[平台合集](<https://bento.me/kazoottt>)
|
||||
|
||||
[个人博客|Blog](<https://blog.kazoottt.top/>)
|
||||
|
||||
[个人笔记 | Notes](<https://notes.kazoottt.top/>)
|
||||
|
||||
[GitHub](<https://github.com/KazooTTT>)
|
||||
|
||||
|
||||
## [Memos](https://blog.kazoottt.top/notes/)
|
||||
<!-- MEMO-POST-LIST:START -->
|
||||
- [2025-02-11 碎片-2025-02-11 12时32分](https://blog.kazoottt.top/notes/fragmented-notes-2025-02-11-12-32-42/)
|
||||
- [2025-02-08 如何解决 Nginx 启动时未联网无法访问DNS而挂掉的问题](https://blog.kazoottt.top/notes/nginx-startup-fix-configure-local-hosts-file/)
|
||||
- [2025-02-06 小红书长文切图笔记?其实 craft 就可以实现。](https://blog.kazoottt.top/notes/use-craft-to-cut-the-long-text-note-of-xiaohongshu/)
|
||||
- [2025-02-06 试试action5 pro推流到本地rtmp和有线连接的效果](https://blog.kazoottt.top/notes/action5-pro-obs-rtmp/)
|
||||
- [2025-02-05 askfm的关停](https://blog.kazoottt.top/notes/askfm-shutdown/)
|
||||
- [2025-02-05 使用 1password 的 secure notes 存储提示词](https://blog.kazoottt.top/notes/use-1password-secure-notes-to-store-prompt-templates/)
|
||||
- [2025-02-03 记录一次滴滴打车维权](https://blog.kazoottt.top/notes/record-a-ride-sharing-complaint/)
|
||||
- [2025-01-31 Blender on macOS - Steam Version Limitations for Apple Silicon Devices](https://blog.kazoottt.top/notes/blender-macos-steam-version-limitations/)
|
||||
- [2025-01-31 How to Split Editor Windows in Blender](https://blog.kazoottt.top/notes/split-window-in-blender/)
|
||||
- [2025-01-20 How to Separate Objects in Blender](https://blog.kazoottt.top/notes/how-to-separate-object-in-blender/)
|
||||
- [2025-01-20 win11如何下载chatgpt](https://blog.kazoottt.top/notes/win11chatgpt/)
|
||||
- [2025-01-15 how to make a hollow cylinder in blender](https://blog.kazoottt.top/notes/how-to-make-a-hollow-cylinder-in-blender/)
|
||||
- [2025-01-07 在浏览器中 opengl 的配置与检测](https://blog.kazoottt.top/notes/how-to-check-opengl-configuration-and-detection-in-browser/)
|
||||
- [2025-01-06 2025-01-06 星期一](https://blog.kazoottt.top/notes/diary-2025-01-06/)
|
||||
- [2025-01-06 MUV家元旦24H限定食堂 - 汇总网站](https://blog.kazoottt.top/notes/milklovemuv/)
|
||||
- [2025-01-05 whisper ui 下载模型 镜像设置](https://blog.kazoottt.top/notes/whisper-ui-download-model-mirror-setting/)
|
||||
- [2024-12-23 2024-12-23 星期一 学习 unity day01](https://blog.kazoottt.top/notes/diary-2024-12-23/)
|
||||
- [2024-12-19 2024-12-19 星期四](https://blog.kazoottt.top/notes/diary-2024-12-19/)
|
||||
- [2024-12-19 使用cloudflare部署remix项目](https://blog.kazoottt.top/notes/deploy-remix-app-by-cloudflare/)
|
||||
- [2024-12-19 合并多个PDF](https://blog.kazoottt.top/notes/merge-pdfs/)<!-- MEMO-POST-LIST:END -->
|
||||
|
@ -26,7 +26,7 @@ import rehypeUnwrapImages from "rehype-unwrap-images";
|
||||
export default defineConfig({
|
||||
site: siteConfig.url,
|
||||
image: {
|
||||
domains: ["webmention.io"],
|
||||
domains: ["webmention.io", "kazoottt.top"],
|
||||
service: passthroughImageService(),
|
||||
},
|
||||
integrations: [
|
||||
|
@ -21,7 +21,7 @@
|
||||
"@astrojs/rss": "4.0.11",
|
||||
"@astrojs/sitemap": "3.2.1",
|
||||
"@giscus/react": "^3.1.0",
|
||||
"@tailwindcss/vite": "4.0.3",
|
||||
"@tailwindcss/vite": "4.0.7",
|
||||
"astro": "5.2.5",
|
||||
"astro-expressive-code": "^0.40.1",
|
||||
"astro-icon": "^1.1.5",
|
||||
@ -40,7 +40,7 @@
|
||||
"rehype-autolink-headings": "^7.1.0",
|
||||
"rehype-external-links": "^3.0.0",
|
||||
"rehype-unwrap-images": "^1.0.0",
|
||||
"remark-directive": "^3.0.1",
|
||||
"remark-directive": "^4.0.0",
|
||||
"sanitize-html": "^2.14.0",
|
||||
"satori": "0.12.1",
|
||||
"satori-html": "^0.3.2",
|
||||
@ -66,7 +66,8 @@
|
||||
"prettier-plugin-astro": "0.14.1",
|
||||
"prettier-plugin-tailwindcss": "^0.6.11",
|
||||
"reading-time": "^1.5.0",
|
||||
"tailwindcss": "4.0.4",
|
||||
"tailwindcss": "4.0.7",
|
||||
"typescript": "^5.7.3"
|
||||
}
|
||||
},
|
||||
"packageManager": "pnpm@10.7.0+sha512.6b865ad4b62a1d9842b61d674a393903b871d9244954f652b8842c2b553c72176b278f64c463e52d40fff8aba385c235c8c9ecf5cc7de4fd78b8bb6d49633ab6"
|
||||
}
|
||||
|
7734
pnpm-lock.yaml
generated
BIN
public/mdImages/CleanShot2025-02-2423.21.29@2x.png
Normal file
After Width: | Height: | Size: 3.7 MiB |
BIN
public/mdImages/IMG-011D19D13EDFE81DEB93DD909473FE07.png
Normal file
After Width: | Height: | Size: 7.0 MiB |
BIN
public/mdImages/IMG-066011DE28B89ED8A4E438A26F8F0A44.png
Normal file
After Width: | Height: | Size: 4.7 MiB |
BIN
public/mdImages/IMG-0C9958D04B6611CA0549E874E30191F7.png
Normal file
After Width: | Height: | Size: 9.6 MiB |
BIN
public/mdImages/IMG-0CAF40BEB99FF683F714CE95D41C23F8.jpeg
Normal file
After Width: | Height: | Size: 210 KiB |
BIN
public/mdImages/IMG-0D175B70CD95C4BBB4C6FAF69C9AF06D.png
Normal file
After Width: | Height: | Size: 10 MiB |
BIN
public/mdImages/IMG-0D6BB6964D19AF5A39633F63A46EE430.png
Normal file
After Width: | Height: | Size: 147 KiB |
BIN
public/mdImages/IMG-0ED8EABB243959CF7C1FD45311857231.png
Normal file
After Width: | Height: | Size: 33 KiB |
BIN
public/mdImages/IMG-145A60CDEC5C619A9F432DBAA2325AA2-1.png
Normal file
After Width: | Height: | Size: 158 KiB |
BIN
public/mdImages/IMG-16E2701A71548A6357EB84B23B32A3E2.jpeg
Normal file
After Width: | Height: | Size: 58 KiB |
BIN
public/mdImages/IMG-175A7D0403C666A77EDC045637DDCDCD.jpeg
Normal file
After Width: | Height: | Size: 112 KiB |
BIN
public/mdImages/IMG-182545B738A61E339A98C367918487E2.png
Normal file
After Width: | Height: | Size: 56 KiB |
BIN
public/mdImages/IMG-19B31E2B37A4ADD4C3F65725068BCAC4.png
Normal file
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 65 KiB |
After Width: | Height: | Size: 134 KiB |
Before Width: | Height: | Size: 458 KiB After Width: | Height: | Size: 458 KiB |
BIN
public/mdImages/IMG-27E57C2F932F03BA78332F527ABECC3C.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
public/mdImages/IMG-2C2B9C98EF7B0A1DEFF1E1A269912DE2.png
Normal file
After Width: | Height: | Size: 246 KiB |
BIN
public/mdImages/IMG-2CBB4266E3AABE21E9AF0FCAF7F00469.png
Normal file
After Width: | Height: | Size: 752 KiB |
BIN
public/mdImages/IMG-2F53DF7357EC28522945C58351B62D96.png
Normal file
After Width: | Height: | Size: 847 KiB |
BIN
public/mdImages/IMG-330ABC2555F1F3E34E3D9FBB55B9C8F9.png
Normal file
After Width: | Height: | Size: 218 KiB |
BIN
public/mdImages/IMG-35BB3944E412FBA781AF040F6893920F.png
Normal file
After Width: | Height: | Size: 1.1 MiB |
BIN
public/mdImages/IMG-3BB6C980AE215D9FCB97F71C415135E1.png
Normal file
After Width: | Height: | Size: 9.9 MiB |
BIN
public/mdImages/IMG-3C592EDF4B92747CD6E3755E57AE372A.png
Normal file
After Width: | Height: | Size: 120 KiB |
BIN
public/mdImages/IMG-3D020E6C18045F751BC938C45EC88E95.png
Normal file
After Width: | Height: | Size: 76 KiB |
BIN
public/mdImages/IMG-3E1B27318067CBA0326348E9A3CD245A.png
Normal file
After Width: | Height: | Size: 58 KiB |
BIN
public/mdImages/IMG-3F25D1B9A693916B658415B17B64FDF4.png
Normal file
After Width: | Height: | Size: 112 KiB |
BIN
public/mdImages/IMG-41F8AD4A7B808D2191BF4861D3847A35.png
Normal file
After Width: | Height: | Size: 1.0 MiB |
BIN
public/mdImages/IMG-4280029B164F70CB774332E5AE95D1DA.png
Normal file
After Width: | Height: | Size: 603 KiB |
BIN
public/mdImages/IMG-42E5510D67C42284041E3402E4D459AD.png
Normal file
After Width: | Height: | Size: 84 KiB |
BIN
public/mdImages/IMG-449FF87F77D723DA1A144F2B3BCB890F.png
Normal file
After Width: | Height: | Size: 65 KiB |
BIN
public/mdImages/IMG-4E7CA2B2820C13BC264E9520D61AEA71.png
Normal file
After Width: | Height: | Size: 92 KiB |
BIN
public/mdImages/IMG-50A2519769D27745F083E18F4D48FC55.png
Normal file
After Width: | Height: | Size: 4.1 MiB |
BIN
public/mdImages/IMG-51D0FD01D07773D514D8BB903F1DC6CA.png
Normal file
After Width: | Height: | Size: 19 MiB |
BIN
public/mdImages/IMG-52AB966C8BE3F1DE7D2F91B261A9CF8A.png
Normal file
After Width: | Height: | Size: 89 KiB |
BIN
public/mdImages/IMG-54444FCBA889BF74A543004B4163532D.png
Normal file
After Width: | Height: | Size: 38 KiB |
BIN
public/mdImages/IMG-57FB4A797CCE28DF5413ACAC19610F28.png
Normal file
After Width: | Height: | Size: 134 KiB |
BIN
public/mdImages/IMG-59000B6CA38DF6FF4AB23AAA2920FF6F.png
Normal file
After Width: | Height: | Size: 791 KiB |
BIN
public/mdImages/IMG-5D773F6926C2C236AC8FF3150AE233AD.png
Normal file
After Width: | Height: | Size: 41 KiB |
BIN
public/mdImages/IMG-5E38918F927647792210E44CA2C73E30.png
Normal file
After Width: | Height: | Size: 40 KiB |
BIN
public/mdImages/IMG-5ECA04383C3D96B4A767C5A0B3463E19.png
Normal file
After Width: | Height: | Size: 47 KiB |
BIN
public/mdImages/IMG-647D50202A16E26E1BE25AE4FC4E5DA1.png
Normal file
After Width: | Height: | Size: 359 KiB |
BIN
public/mdImages/IMG-6819ED4AC0DA9B9CF3D106BE71AAADD3.png
Normal file
After Width: | Height: | Size: 317 KiB |
BIN
public/mdImages/IMG-682179B90CF4FDC5DB2A36189B316881.png
Normal file
After Width: | Height: | Size: 1.0 MiB |
BIN
public/mdImages/IMG-69C73A35AE6AA1B14805360168652323.png
Normal file
After Width: | Height: | Size: 1.9 MiB |
BIN
public/mdImages/IMG-745FC8CBCFE1B784E4EEB2F74860A255.png
Normal file
After Width: | Height: | Size: 127 KiB |
BIN
public/mdImages/IMG-7CA6E2EC79AA6040BACEF006B13F8940.png
Normal file
After Width: | Height: | Size: 459 KiB |
BIN
public/mdImages/IMG-7F9EB8A6DF15D7814E3A8AEBB48D1E6B.png
Normal file
After Width: | Height: | Size: 1.8 MiB |
BIN
public/mdImages/IMG-803E576335AF5653F8963BE7881E4DD8.png
Normal file
After Width: | Height: | Size: 151 KiB |
BIN
public/mdImages/IMG-8072C6F424C6D27A40E457198B622A5C.png
Normal file
After Width: | Height: | Size: 3.6 MiB |
BIN
public/mdImages/IMG-88633EA7BDD10531AFF07602F1A5D072.png
Normal file
After Width: | Height: | Size: 3.2 MiB |
BIN
public/mdImages/IMG-8CB8741AA4B7D8C9DBCD3251DECF4F5C.png
Normal file
After Width: | Height: | Size: 113 KiB |
BIN
public/mdImages/IMG-9021D59207DD62599F7A11966E419698.png
Normal file
After Width: | Height: | Size: 241 KiB |
BIN
public/mdImages/IMG-946FF0883E29B42DB2023CE8E18C4751.png
Normal file
After Width: | Height: | Size: 57 KiB |
BIN
public/mdImages/IMG-9B20E505345B2B2FFAEFCE7463420E90.png
Normal file
After Width: | Height: | Size: 3.6 MiB |
BIN
public/mdImages/IMG-9C33AC8AD52429EFBF3BC3D1FD84DA5A.png
Normal file
After Width: | Height: | Size: 17 MiB |
BIN
public/mdImages/IMG-9C72E80EE99057103B55DCD293201880.png
Normal file
After Width: | Height: | Size: 241 KiB |
BIN
public/mdImages/IMG-A057E6D98847314E2A2742FB44382803.png
Normal file
After Width: | Height: | Size: 1.1 MiB |
BIN
public/mdImages/IMG-A6AAE4B65CAEFB6B8E549F2AB75BADCD.png
Normal file
After Width: | Height: | Size: 219 KiB |
BIN
public/mdImages/IMG-B1FFDA204911256BC9A3C0BC465FE803.png
Normal file
After Width: | Height: | Size: 97 KiB |
BIN
public/mdImages/IMG-B303974BEE5FF7D16E310D441BF06C23.png
Normal file
After Width: | Height: | Size: 17 MiB |
BIN
public/mdImages/IMG-BF22CA923126747336FA047AD2FFE0B3.png
Normal file
After Width: | Height: | Size: 72 KiB |
BIN
public/mdImages/IMG-C4F896C16386AFFB89F1ED856D4D8319.png
Normal file
After Width: | Height: | Size: 788 KiB |
BIN
public/mdImages/IMG-C54B455556952B47DBE32B14D26E5548.png
Normal file
After Width: | Height: | Size: 147 KiB |
BIN
public/mdImages/IMG-C58CD0BCE8298B39A32CF9B5698EF4DC.png
Normal file
After Width: | Height: | Size: 37 KiB |
BIN
public/mdImages/IMG-C904F87DB6FF60DE95982CB164FE976A.png
Normal file
After Width: | Height: | Size: 96 KiB |
BIN
public/mdImages/IMG-CAC1EEA1E39685627A82ED14C5001F20.png
Normal file
After Width: | Height: | Size: 827 KiB |
BIN
public/mdImages/IMG-CC5FD58A2A879EFF190D4CEEB2601ABF.png
Normal file
After Width: | Height: | Size: 18 MiB |
BIN
public/mdImages/IMG-CDC2BAD93093406D70B0F9A6F01B86BF.png
Normal file
After Width: | Height: | Size: 39 KiB |
BIN
public/mdImages/IMG-CEE59951BA3BB4CA797AE4C3A79CF229.png
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
public/mdImages/IMG-CFC7256A2D7BC1D6C014F1BED8A455CB.png
Normal file
After Width: | Height: | Size: 455 KiB |
BIN
public/mdImages/IMG-D00ECA1A03C7ED8C2D3C6B2350F49493.png
Normal file
After Width: | Height: | Size: 354 KiB |
BIN
public/mdImages/IMG-D95FCCD99DA3CEF64C2B2017B2AA4346.png
Normal file
After Width: | Height: | Size: 478 KiB |
BIN
public/mdImages/IMG-D9D3E5481059773AA8CCB5718E5EFB06.png
Normal file
After Width: | Height: | Size: 159 KiB |
BIN
public/mdImages/IMG-DE175F4D2C345F58E467656A11E3E2D8-1.png
Normal file
After Width: | Height: | Size: 2.2 MiB |
BIN
public/mdImages/IMG-E18BA7CA03EA7C36FDE6FF2F9B3A0542.png
Normal file
After Width: | Height: | Size: 1.7 MiB |
BIN
public/mdImages/IMG-E24439522EA08DF76BD98B66DBD7ED54.png
Normal file
After Width: | Height: | Size: 151 KiB |
BIN
public/mdImages/IMG-F2941F88FBABE4EDDABB80C1DFED62EB.png
Normal file
After Width: | Height: | Size: 1.6 MiB |
BIN
public/mdImages/IMG-F6EAF822377F64DB27E99C394FDAFDBC.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
public/mdImages/IMG-FCDEC2838ACED54D21628E731B7A18FA.png
Normal file
After Width: | Height: | Size: 122 KiB |
BIN
public/mdImages/Pasted image 20250224234657.png
Normal file
After Width: | Height: | Size: 113 KiB |
BIN
public/mdImages/Pasted image 20250228111717.png
Normal file
After Width: | Height: | Size: 78 KiB |
BIN
public/mdImages/Pasted image 20250228175738.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
public/mdImages/Pasted image 20250228175843.png
Normal file
After Width: | Height: | Size: 282 KiB |
BIN
public/mdImages/Pasted image 20250228180112.png
Normal file
After Width: | Height: | Size: 454 KiB |
BIN
public/mdImages/Pasted image 20250305135535.png
Normal file
After Width: | Height: | Size: 58 KiB |
BIN
public/mdImages/Snipaste_2025-03-06_14-51-41.png
Normal file
After Width: | Height: | Size: 2.0 MiB |
@ -61,19 +61,16 @@ const { className = "", dataPagefindBody = true } = Astro.props;
|
||||
|
||||
/* 修改图片相关样式 */
|
||||
:global(article img) {
|
||||
opacity: 0;
|
||||
position: relative;
|
||||
background-color: #f0f0f0;
|
||||
transition: all 0.5s ease-in-out;
|
||||
}
|
||||
|
||||
:global(article img.loading) {
|
||||
opacity: 1;
|
||||
filter: blur(10px);
|
||||
}
|
||||
|
||||
:global(article img.loaded) {
|
||||
opacity: 1;
|
||||
filter: blur(0);
|
||||
}
|
||||
</style>
|
||||
|
30
src/components/RecentUpdate.astro
Normal file
@ -0,0 +1,30 @@
|
||||
---
|
||||
import { getAllCollectionPosts } from "@/data/post";
|
||||
import { MAX_LATEST_POSTS } from "@/utils/constant";
|
||||
import { getLatestUpdatedPost } from "@/utils/date";
|
||||
const allPosts = await getAllCollectionPosts();
|
||||
const latestUpdatedPost = allPosts.sort(getLatestUpdatedPost).slice(0, MAX_LATEST_POSTS);
|
||||
---
|
||||
|
||||
{
|
||||
(
|
||||
<div>
|
||||
<h2 class="title mb-4 flex items-center gap-2 text-lg">
|
||||
<a class="">最近更新</a>
|
||||
</h2>
|
||||
<ul class="flex flex-wrap gap-2">
|
||||
{latestUpdatedPost.map((post) => (
|
||||
<li>
|
||||
<a
|
||||
href={`${post.collection === "post" ? "/posts/" : "/notes/"}${post.id}/`}
|
||||
class="hover:text-link"
|
||||
>
|
||||
<span>{post.data.date_modified.toLocaleDateString()}</span>
|
||||
{post.data.title}
|
||||
</a>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
</div>
|
||||
)
|
||||
}
|
@ -27,6 +27,16 @@ const socialLinks: {
|
||||
link: "https://x.com/kazoottt",
|
||||
name: "mdi:twitter",
|
||||
},
|
||||
{
|
||||
friendlyName: "Bilibili",
|
||||
link: "https://space.bilibili.com/391236013",
|
||||
name: "mdi:video",
|
||||
},
|
||||
{
|
||||
friendlyName: "YouTube",
|
||||
link: "https://www.youtube.com/@kazoottt4718",
|
||||
name: "mdi:youtube",
|
||||
},
|
||||
{
|
||||
friendlyName: "Photo",
|
||||
link: "https://unsplash.com/@kazoottt",
|
||||
@ -35,7 +45,7 @@ const socialLinks: {
|
||||
{
|
||||
friendlyName: "汇总",
|
||||
link: "https://bento.me/KazooTTT",
|
||||
name: "mdi:link",
|
||||
name: "mdi:open-in-new",
|
||||
},
|
||||
];
|
||||
---
|
||||
|
@ -1,18 +1,18 @@
|
||||
---
|
||||
import type { CollectionEntry } from "astro:content";
|
||||
import FormattedDate from "@/components/FormattedDate.astro";
|
||||
import Card from "../componentsBefore/Card.astro";
|
||||
import { Icon } from "astro-icon/components";
|
||||
import Label from "../componentsBefore/Label.astro";
|
||||
import type { PostItem } from "@/types";
|
||||
|
||||
interface Props {
|
||||
content: CollectionEntry<"post">;
|
||||
content: PostItem;
|
||||
readingTime: string;
|
||||
ogImage: string;
|
||||
}
|
||||
|
||||
const {
|
||||
content: { data },
|
||||
content: { data, dateToCmp },
|
||||
readingTime,
|
||||
ogImage,
|
||||
} = Astro.props;
|
||||
@ -27,13 +27,7 @@ const socialImageURL = new URL(ogImage ? ogImage : "/social-card.png", Astro.url
|
||||
{
|
||||
socialImageURL && (
|
||||
<div class="mb-6 aspect-video">
|
||||
<img
|
||||
alt={socialImageURL}
|
||||
class="rounded-lg object-cover"
|
||||
fetchpriority="high"
|
||||
loading="eager"
|
||||
src={socialImageURL}
|
||||
/>
|
||||
<img alt={socialImageURL} class="rounded-lg object-cover" src={socialImageURL} />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@ -54,7 +48,7 @@ const socialImageURL = new URL(ogImage ? ogImage : "/social-card.png", Astro.url
|
||||
</h1>
|
||||
<div class="flex flex-wrap items-center gap-x-3 gap-y-2">
|
||||
<p class="font-semibold">
|
||||
<FormattedDate date={data.date} dateTimeOptions={dateTimeOptions} /> /{" "}
|
||||
<FormattedDate date={dateToCmp} dateTimeOptions={dateTimeOptions} /> /{" "}
|
||||
{readingTime}
|
||||
</p>
|
||||
{
|
||||
|
@ -1,10 +1,10 @@
|
||||
---
|
||||
import type { CollectionEntry } from "astro:content";
|
||||
import FormattedDate from "@/components/FormattedDate.astro";
|
||||
import type { HTMLTag, Polymorphic } from "astro/types";
|
||||
import type { AllItem } from "@/types";
|
||||
|
||||
type Props<Tag extends HTMLTag> = Polymorphic<{ as: Tag }> & {
|
||||
post: CollectionEntry<"post">;
|
||||
post: AllItem;
|
||||
withDesc?: boolean;
|
||||
};
|
||||
|
||||
@ -17,7 +17,12 @@ const { as: Tag = "div", post, withDesc = false } = Astro.props;
|
||||
/>
|
||||
<Tag>
|
||||
{post.data.draft && <span class="text-red-500">(Draft) </span>}
|
||||
<a class="cactus-link" data-astro-prefetch href={`/posts/${post.id}/`}>
|
||||
<a
|
||||
class="hover:text-link"
|
||||
data-astro-prefetch
|
||||
href={`${post.collection === "post" ? "/posts/" : "/notes/"}${post.id}/`}
|
||||
>
|
||||
{post.data.fixedToTop && <span class="text-accent-2 mr-2">*</span>}
|
||||
{post.data.title}
|
||||
</a>
|
||||
</Tag>
|
||||
|
@ -23,12 +23,15 @@ const year = new Date().getFullYear();
|
||||
</div>
|
||||
<nav
|
||||
aria-labelledby="footer_links"
|
||||
class="flex gap-x-2 sm:gap-x-0 sm:divide-x sm:divide-gray-500"
|
||||
class="flex flex-wrap gap-x-2 sm:gap-x-0 sm:divide-x sm:divide-gray-500"
|
||||
>
|
||||
<p id="footer_links" class="sr-only">More on this site</p>
|
||||
{
|
||||
menuLinks.map((link) => (
|
||||
<a class="hover:text-global-text px-4 py-2 hover:underline sm:py-0" href={link.path}>
|
||||
<a
|
||||
class="hover:text-global-text px-2 py-2 hover:underline sm:px-4 sm:py-0"
|
||||
href={link.path}
|
||||
>
|
||||
{link.title}
|
||||
</a>
|
||||
))
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
import { type CollectionEntry, render } from "astro:content";
|
||||
import { render } from "astro:content";
|
||||
import FormattedDate from "@/components/FormattedDate.astro";
|
||||
import type { HTMLTag, Polymorphic } from "astro/types";
|
||||
import GiscusComment from "@/components/componentsBefore/GiscusComment";
|
||||
@ -7,8 +7,10 @@ import ArticleContainer from "../ArticleContainer.astro";
|
||||
import ShareButtons from "../ShareButtons.astro";
|
||||
import ContentFooter from "../ContentFooter.astro";
|
||||
import { cn } from "@/utils/tailwind";
|
||||
import Card from "../componentsBefore/Card.astro";
|
||||
import type { NoteItem } from "@/types";
|
||||
type Props<Tag extends HTMLTag> = Polymorphic<{ as: Tag }> & {
|
||||
note: CollectionEntry<"note">;
|
||||
note: NoteItem;
|
||||
isPreview?: boolean | undefined;
|
||||
index?: number;
|
||||
enableLineClamp?: boolean;
|
||||
@ -77,10 +79,19 @@ if (modifiedDate && modifiedDate.toDateString() === date.toDateString()) {
|
||||
enableLineClamp && "line-clamp-4"
|
||||
)}
|
||||
>
|
||||
{
|
||||
!isPreview && note.data.description && note.data.description.trim().length > 0 && (
|
||||
<Card heading="摘要(由llm生成)" altText="摘要" class="my-4 w-full">
|
||||
<div class="text-muted-foreground ml-4">{note.data.description}</div>
|
||||
</Card>
|
||||
)
|
||||
}
|
||||
<Content />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{!isPreview && <ContentFooter />}
|
||||
|
||||
{!isPreview && <GiscusComment client:load />}
|
||||
{
|
||||
!isPreview && (
|
||||
@ -89,6 +100,4 @@ if (modifiedDate && modifiedDate.toDateString() === date.toDateString()) {
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
{!isPreview && <ContentFooter />}
|
||||
</ArticleContainer>
|
||||
|