|
7 | 7 | comment: true |
8 | 8 | view: true |
9 | 9 | --- |
| 10 | + |
| 11 | +import { Icon } from '@/custom/components/user' |
| 12 | +import { Icon as AstroIcon } from 'astro-icon/components' |
| 13 | + |
10 | 14 | import { Collapse, Spoiler, Timeline } from 'astro-pure/user' |
11 | 15 | import Substats from '@/components/about/Substats.astro' |
| 16 | +import FriendList from '@/components/links/FriendList.astro' |
12 | 17 | import { ToolTag } from '@/components/tools/Tool.astro' |
13 | 18 | import ToolSection from '@/components/tools/ToolSection.astro' |
14 | | -import { Icon } from '@/custom/components/user' |
15 | | -import { Icon as AstroIcon } from 'astro-icon/components' |
16 | 19 |
|
17 | 20 | ## About Me |
18 | 21 |
|
19 | | -* Communist / Developer / Learner / Cat Lover |
20 | | -* 改造自己,进而改造世界🚩 <Spoiler>革命无罪,造反有理!</Spoiler> |
| 22 | +- Communist / Developer / Learner / Cat Lover |
| 23 | +- 改造自己,进而改造世界🚩 <Spoiler>革命无罪,造反有理!</Spoiler> |
21 | 24 |
|
22 | 25 | ## Skills |
23 | 26 |
|
24 | | -<div class="mb-6"> |
25 | | - |
26 | | - <div class="flex flex-wrap gap-2"> |
27 | | - <div class="flex items-center gap-1.5 px-3 py-1.5 rounded-lg border bg-muted/50 hover:bg-muted hover:border-primary/50 transition-all"> |
28 | | - <AstroIcon name="devicon:java" class="size-4" /> |
29 | | - <span class="text-sm">Java</span> |
| 27 | +<div class='mb-6'> |
| 28 | + <div class='flex flex-wrap gap-2'> |
| 29 | + <div class='flex items-center gap-1.5 px-3 py-1.5 rounded-lg border bg-muted/50 hover:bg-muted hover:border-primary/50 transition-all'> |
| 30 | + <AstroIcon name='devicon:java' class='size-4' /> |
| 31 | + <span class='text-sm'>Java</span> |
30 | 32 | </div> |
31 | | - <div class="flex items-center gap-1.5 px-3 py-1.5 rounded-lg border bg-muted/50 hover:bg-muted hover:border-primary/50 transition-all"> |
32 | | - <AstroIcon name="devicon:zig" class="size-4" /> |
33 | | - <span class="text-sm">Zig</span> |
| 33 | + <div class='flex items-center gap-1.5 px-3 py-1.5 rounded-lg border bg-muted/50 hover:bg-muted hover:border-primary/50 transition-all'> |
| 34 | + <AstroIcon name='devicon:zig' class='size-4' /> |
| 35 | + <span class='text-sm'>Zig</span> |
34 | 36 | </div> |
35 | | - <div class="flex items-center gap-1.5 px-3 py-1.5 rounded-lg border bg-muted/50 hover:bg-muted hover:border-primary/50 transition-all"> |
36 | | - <AstroIcon name="devicon:python" class="size-4" /> |
37 | | - <span class="text-sm">Python</span> |
| 37 | + <div class='flex items-center gap-1.5 px-3 py-1.5 rounded-lg border bg-muted/50 hover:bg-muted hover:border-primary/50 transition-all'> |
| 38 | + <AstroIcon name='devicon:python' class='size-4' /> |
| 39 | + <span class='text-sm'>Python</span> |
38 | 40 | </div> |
39 | | - <div class="flex items-center gap-1.5 px-3 py-1.5 rounded-lg border bg-muted/50 hover:bg-muted hover:border-primary/50 transition-all"> |
40 | | - <AstroIcon name="devicon:bash" class="size-4" /> |
41 | | - <span class="text-sm">Shell</span> |
| 41 | + <div class='flex items-center gap-1.5 px-3 py-1.5 rounded-lg border bg-muted/50 hover:bg-muted hover:border-primary/50 transition-all'> |
| 42 | + <AstroIcon name='devicon:bash' class='size-4' /> |
| 43 | + <span class='text-sm'>Shell</span> |
42 | 44 | </div> |
43 | 45 | </div> |
44 | 46 | </div> |
45 | 47 |
|
46 | | -<div class="mb-6"> |
47 | | - |
48 | | - <div class="flex flex-wrap gap-2"> |
49 | | - <div class="flex items-center gap-1.5 px-3 py-1.5 rounded-lg border bg-muted/50 hover:bg-muted hover:border-primary/50 transition-all"> |
50 | | - <AstroIcon name="devicon:spring" class="size-4" /> |
51 | | - <span class="text-sm">Spring</span> |
| 48 | +<div class='mb-6'> |
| 49 | + <div class='flex flex-wrap gap-2'> |
| 50 | + <div class='flex items-center gap-1.5 px-3 py-1.5 rounded-lg border bg-muted/50 hover:bg-muted hover:border-primary/50 transition-all'> |
| 51 | + <AstroIcon name='devicon:spring' class='size-4' /> |
| 52 | + <span class='text-sm'>Spring</span> |
52 | 53 | </div> |
53 | | - <div class="flex items-center gap-1.5 px-3 py-1.5 rounded-lg border bg-muted/50 hover:bg-muted hover:border-primary/50 transition-all"> |
54 | | - <AstroIcon name="devicon:redis" class="size-4" /> |
55 | | - <span class="text-sm">Redis</span> |
| 54 | + <div class='flex items-center gap-1.5 px-3 py-1.5 rounded-lg border bg-muted/50 hover:bg-muted hover:border-primary/50 transition-all'> |
| 55 | + <AstroIcon name='devicon:redis' class='size-4' /> |
| 56 | + <span class='text-sm'>Redis</span> |
56 | 57 | </div> |
57 | | - <div class="flex items-center gap-1.5 px-3 py-1.5 rounded-lg border bg-muted/50 hover:bg-muted hover:border-primary/50 transition-all"> |
58 | | - <AstroIcon name="devicon:clickhouse" class="size-4" /> |
59 | | - <span class="text-sm">ClickHouse</span> |
| 58 | + <div class='flex items-center gap-1.5 px-3 py-1.5 rounded-lg border bg-muted/50 hover:bg-muted hover:border-primary/50 transition-all'> |
| 59 | + <AstroIcon name='devicon:clickhouse' class='size-4' /> |
| 60 | + <span class='text-sm'>ClickHouse</span> |
60 | 61 | </div> |
61 | | - <div class="flex items-center gap-1.5 px-3 py-1.5 rounded-lg border bg-muted/50 hover:bg-muted hover:border-primary/50 transition-all"> |
62 | | - <AstroIcon name="devicon:mysql" class="size-4" /> |
63 | | - <span class="text-sm">Mysql</span> |
| 62 | + <div class='flex items-center gap-1.5 px-3 py-1.5 rounded-lg border bg-muted/50 hover:bg-muted hover:border-primary/50 transition-all'> |
| 63 | + <AstroIcon name='devicon:mysql' class='size-4' /> |
| 64 | + <span class='text-sm'>Mysql</span> |
64 | 65 | </div> |
65 | | - <div class="flex items-center gap-1.5 px-3 py-1.5 rounded-lg border bg-muted/50 hover:bg-muted hover:border-primary/50 transition-all"> |
66 | | - <AstroIcon name="devicon:apachespark" class="size-4" /> |
67 | | - <span class="text-sm">Apache Spark</span> |
| 66 | + <div class='flex items-center gap-1.5 px-3 py-1.5 rounded-lg border bg-muted/50 hover:bg-muted hover:border-primary/50 transition-all'> |
| 67 | + <AstroIcon name='devicon:apachespark' class='size-4' /> |
| 68 | + <span class='text-sm'>Apache Spark</span> |
68 | 69 | </div> |
69 | 70 | </div> |
70 | 71 | </div> |
71 | 72 |
|
72 | | -## GitHub Activity |
73 | | - |
74 | | -<div class="mb-6 rounded-lg border bg-background p-4"> |
75 | | - <div class="rounded overflow-hidden"> |
| 73 | +{/* ## GitHub Activity |
| 74 | +<div class='mb-6 rounded-lg border bg-background p-4'> |
| 75 | + <div class='rounded overflow-hidden'> |
76 | 76 | <img |
77 | | - class="hidden w-full dark:block" |
78 | | - src="https://raw.githubusercontent.com/CatCodeMe/catcodeme/output/github-contribution-grid-snake-dark.svg" |
79 | | - alt="GitHub 贡献图 - 深色模式 - 显示 CatCodeMe 的代码贡献活动" |
80 | | - loading="lazy" |
| 77 | + class='hidden w-full dark:block' |
| 78 | + src='https://raw.githubusercontent.com/CatCodeMe/catcodeme/output/github-contribution-grid-snake-dark.svg' |
| 79 | + alt='GitHub 贡献图 - 深色模式 - 显示 CatCodeMe 的代码贡献活动' |
| 80 | + loading='lazy' |
81 | 81 | /> |
82 | 82 | <img |
83 | | - class="block w-full dark:hidden" |
84 | | - src="https://raw.githubusercontent.com/CatCodeMe/catcodeme/output/github-contribution-grid-snake.svg" |
85 | | - alt="GitHub 贡献图 - 浅色模式 - 显示 CatCodeMe 的代码贡献活动" |
86 | | - loading="lazy" |
| 83 | + class='block w-full dark:hidden' |
| 84 | + src='https://raw.githubusercontent.com/CatCodeMe/catcodeme/output/github-contribution-grid-snake.svg' |
| 85 | + alt='GitHub 贡献图 - 浅色模式 - 显示 CatCodeMe 的代码贡献活动' |
| 86 | + loading='lazy' |
87 | 87 | /> |
88 | 88 | </div> |
89 | | -</div> |
| 89 | +</div> */} |
90 | 90 |
|
91 | 91 | ## Tools |
92 | 92 |
|
@@ -189,59 +189,53 @@ Current support tools as follow: |
189 | 189 | ]} |
190 | 190 | /> |
191 | 191 |
|
192 | | -## Social Networks |
193 | | - |
194 | | -<Substats |
195 | | - stats={[ |
196 | | - { |
197 | | - platform: 'GitHub', |
198 | | - icon: 'github', |
199 | | - link: 'https://github.com/catcodeme', |
200 | | - text: 'followers', |
201 | | - api: 'github/catcodeme' |
202 | | - }, |
203 | | - { |
204 | | - platform: 'Bilibili', |
205 | | - icon: 'bilibili', |
206 | | - link: 'https://space.bilibili.com/19080963', |
207 | | - text: 'fans', |
208 | | - // api: 'bilibili/19080963', |
209 | | - color: '#fe7398', |
210 | | - count: 18 |
211 | | - } |
212 | | - ]} |
213 | | -/> |
214 | | - |
215 | 192 | ## About Blog |
216 | 193 |
|
217 | 194 | <Collapse title='Website history:'> |
218 | | -<Timeline |
219 | | - events={[ |
220 | | - { |
221 | | - date: '2025-09-17', |
222 | | - content: '迁移到Tencent EdgeOne CDN' |
223 | | - }, |
224 | | - { |
225 | | - date: '2025-09-16', |
226 | | - content: '添加备案号' |
227 | | - }, |
228 | | - { |
229 | | - date: '2025-07-11', |
230 | | - content: |
231 | | - 'Website refactored from <a href="https://github.com/srleom/astro-theme-resume" target="_blank">Astro Theme Pure</a>' |
232 | | - } |
233 | | - ]} |
234 | | -/> |
| 195 | + <Timeline |
| 196 | + events={[ |
| 197 | + { |
| 198 | + date: '2025-09-17', |
| 199 | + content: '迁移到Tencent EdgeOne CDN' |
| 200 | + }, |
| 201 | + { |
| 202 | + date: '2025-09-16', |
| 203 | + content: '添加备案号' |
| 204 | + }, |
| 205 | + { |
| 206 | + date: '2025-07-11', |
| 207 | + content: |
| 208 | + 'Website refactored from <a href="https://github.com/srleom/astro-theme-resume" target="_blank">Astro Theme Pure</a>' |
| 209 | + } |
| 210 | + ]} |
| 211 | + /> |
235 | 212 | </Collapse> |
236 | 213 |
|
237 | 214 | ### 建站工具链: |
238 | 215 |
|
239 | | -* Framework & Theme: [Astro](https://astro.build/) + [Astro Theme Pure](https://github.com/cworld1/astro-theme-pure) |
240 | | -* Site hosting: [EdgeOne Pages(Tencent)](https://edgeone.cloud.tencent.com) |
241 | | -* CI/CD: [EdgeOne](https://edgeone.cloud.tencent.com) |
242 | | -* Resources speedup: [EdgeOne](https://edgeone.cloud.tencent.com) |
243 | | -* Comment system: [Waline](https://waline.js.org) |
244 | | -* TotalPV: [Vercount](https://github.com/EvanNotFound/vercount) |
245 | | -* PagePV & Comment: [Waline](https://waline.js.org/next/guide/features/pageview.html) |
246 | | -* Icons & OgImage: from [Iconify](https://iconify.design/) & [lobehub](https://lobehub.com/icons), some icons from ai |
247 | | -* Fonts: from [ZSFT](https://fonts.zeoseven.com), current font is `Noto Serif CJK / 思源宋体`, 标题字体是 `ZSFT-e` |
| 216 | +- Framework & Theme: [Astro](https://astro.build/) + [Astro Theme Pure](https://github.com/cworld1/astro-theme-pure) |
| 217 | +- Site hosting: [EdgeOne Pages(Tencent)](https://edgeone.cloud.tencent.com) |
| 218 | +- CI/CD: [EdgeOne](https://edgeone.cloud.tencent.com) |
| 219 | +- Resources speedup: [EdgeOne](https://edgeone.cloud.tencent.com) |
| 220 | +- Comment system: [Waline](https://waline.js.org) |
| 221 | +- TotalPV: [Vercount](https://github.com/EvanNotFound/vercount) |
| 222 | +- PagePV & Comment: [Waline](https://waline.js.org/next/guide/features/pageview.html) |
| 223 | +- Icons & OgImage: from [Iconify](https://iconify.design/) & [lobehub](https://lobehub.com/icons), some icons from ai |
| 224 | +- Fonts: from [ZSFT](https://fonts.zeoseven.com), current font is `Noto Serif CJK / 思源宋体`, 标题字体是 `ZSFT-e` |
| 225 | + |
| 226 | +## Special Links |
| 227 | + |
| 228 | +<FriendList |
| 229 | + list={{ |
| 230 | + id_name: 'kaiwang', |
| 231 | + desc: '开往 - 开往下一站', |
| 232 | + link_list: [ |
| 233 | + { |
| 234 | + name: '开往', |
| 235 | + intro: '随机前往开往的成员博客', |
| 236 | + link: 'https://www.travellings.cn/train.html', |
| 237 | + avatar: 'https://www.travellings.cn/assets/travelling-dark.png' |
| 238 | + } |
| 239 | + ] |
| 240 | + }} |
| 241 | +/> |
0 commit comments