@@ -3,11 +3,11 @@ import { Image } from 'astro:assets'
33
44import { PostPreview } from ' astro-pure/components/pages'
55import { getBlogCollection , sortMDByDate } from ' astro-pure/server'
6- import { Button , Card , Icon , Label } from ' astro-pure/user'
6+ import { Button , Icon , Label } from ' astro-pure/user'
77import PageLayout from ' @/layouts/BaseLayout.astro'
88import Section from ' @/components/home/Section.astro'
99import SkillLayout from ' @/components/home/SkillLayout.astro'
10- import avatar from ' @/assets/avatar.jpeg '
10+ import avatar from ' @/assets/avatar.webp '
1111import config from ' @/site-config'
1212
1313const languages = [
@@ -119,7 +119,7 @@ const allPostsByDate = sortMDByDate(allPosts).slice(0, MAX_POSTS)
119119 <Label
120120 title =' GitHub'
121121 as =' a'
122- href =' https://github.com/your-github '
122+ href =' https://github.com/catcodeme '
123123 target =' _blank'
124124 class =' transition-colors hover:text-primary'
125125 >
@@ -128,7 +128,7 @@ const allPostsByDate = sortMDByDate(allPosts).slice(0, MAX_POSTS)
128128 <Label
129129 title =' twitter'
130130 as =' a'
131- href =' https://twitter.com/your-handle '
131+ href =' https://twitter.com/hulj13 '
132132 target =' _blank'
133133 class =' transition-colors hover:text-primary'
134134 >
@@ -137,7 +137,7 @@ const allPostsByDate = sortMDByDate(allPosts).slice(0, MAX_POSTS)
137137 <Label
138138 title =' Bilibili'
139139 as =' a'
140- href =' https://space.bilibili.com/your-id '
140+ href =' https://space.bilibili.com/19080963 '
141141 target =' _blank'
142142 class =' transition-colors hover:text-primary'
143143 >
@@ -147,14 +147,23 @@ const allPostsByDate = sortMDByDate(allPosts).slice(0, MAX_POSTS)
147147
148148 <!-- 按钮组 -->
149149 <div class =' flex flex-col gap-4 sm:flex-row sm:justify-start' >
150- <Button title =' About Me' href =' /about' style =' ahead' class =' hero-button w-full sm:w-auto' />
151- <Button title =' View Blog' href =' /blog' style =' ahead' class =' hero-button w-full sm:w-auto' />
150+ <Button
151+ title =' About Me'
152+ href =' /about'
153+ style =' ahead'
154+ class =' hero-button w-full sm:w-auto'
155+ />
156+ <Button
157+ title =' View Blog'
158+ href =' /blog'
159+ style =' ahead'
160+ class =' hero-button w-full sm:w-auto'
161+ />
152162 </div >
153163 </div >
154164 </div >
155165 </div >
156166 </div >
157-
158167 </section >
159168
160169 <!-- 第二屏:博客文章和技能 -->
@@ -210,7 +219,9 @@ const allPostsByDate = sortMDByDate(allPosts).slice(0, MAX_POSTS)
210219 ></span >
211220 <span class =' size-1.5 sm:size-2 rounded-full bg-green-400' ></span >
212221 </span >
213- <p class =' font-medium text-muted-foreground whitespace-nowrap' >五帝三皇神圣事,骗了无涯过客</p >
222+ <p class =' font-medium text-muted-foreground whitespace-nowrap' >
223+ 五帝三皇神圣事,骗了无涯过客
224+ </p >
214225 </div >
215226 </div >
216227 </div >
@@ -483,7 +494,7 @@ const allPostsByDate = sortMDByDate(allPosts).slice(0, MAX_POSTS)
483494 .avatar-wrapper:hover .avatar-message {
484495 opacity: 0;
485496 }
486-
497+
487498 /* 在小屏幕上禁用头像点击交互 */
488499 .avatar-wrapper {
489500 pointer-events: none;
@@ -495,7 +506,7 @@ const allPostsByDate = sortMDByDate(allPosts).slice(0, MAX_POSTS)
495506 display: flex !important;
496507 justify-content: space-between !important;
497508 }
498-
509+
499510 @media (min-width: 640px) {
500511 .hero-button {
501512 display: inline-flex !important;
0 commit comments