Skip to content

Commit eed2c25

Browse files
committed
feat: 统一卡片边框颜色和 shadow 颜色
1 parent 9f175a3 commit eed2c25

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

app/components/About.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export function About({ title = "你好,我是 weizwz" }: AboutProps) {
2525
<div className="max-w-6xl mx-auto px-4">
2626

2727
{/* Intro Card */}
28-
<div className="bg-white rounded-3xl shadow-sm p-12 text-center max-w-5xl mx-auto mb-16">
28+
<div className="bg-white rounded-3xl border border-slate-200 shadow-md shadow-slate-200 hover:shadow-xl transition-shadow duration-300 p-12 text-center max-w-5xl mx-auto mb-16">
2929
<h2 className="text-3xl md:text-4xl font-bold text-gray-900 mb-8">{title}</h2>
3030
<p className="text-gray-500 text-lg leading-relaxed max-w-3xl mx-auto mb-10">
3131
一名充满热情的前端开发工程师,专注于构建高质量的 Web 应用和用户体验。拥有丰富的前端开发经验,熟练掌握现代 Web 技术栈,致力于通过技术创新解决实际问题,为用户创造价值。

app/components/BlogArticles.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export function BlogArticles({ title = '最新文章', subtitle = '分享最新
153153
className={`w-full md:w-1/3 flex-shrink-0 md:px-4`}
154154
onMouseEnter={() => setIsPaused(true)}
155155
onMouseLeave={() => setIsPaused(false)}>
156-
<div className='bg-white rounded-3xl border border-gray-100 shadow-sm hover:shadow-xl transition-all duration-300 h-full p-8 flex flex-col group relative overflow-hidden text-left'>
156+
<div className='bg-white rounded-3xl border border-slate-200 shadow-md shadow-slate-200 hover:shadow-xl transition-all duration-300 h-full p-8 flex flex-col group relative overflow-hidden text-left'>
157157

158158
{/* Header: Category and Icon */}
159159
<div className='flex justify-between items-center mb-6'>

app/components/PersonalHomepage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ export function PersonalHomepage({ articles = [] }: PersonalHomepageProps) {
263263
icon={<GithubOutlined />}
264264
className="border-gray-300 px-4 py-3 h-auto text-base rounded-full flex-1 sm:flex-none"
265265
shape="round"
266-
href={config.social.github}
266+
href={config.social.github + '/weiz-home'}
267267
target="_blank"
268268
aria-label="GitHub"
269269
/>

0 commit comments

Comments
 (0)