refactor(layout): improve blog post layout and component styling

- Move AuthorCard to bottom of main content with enhanced styling
- Adjust TableOfContents styling and positioning
- Simplify AuthorCard and GlassHeader components
This commit is contained in:
joyzhao
2025-06-19 11:52:05 +08:00
parent fb9b2b6971
commit 8cecab8479
4 changed files with 17 additions and 12 deletions

View File

@@ -16,7 +16,7 @@ const currentProjects = projects[lang as keyof typeof projects] || projects.en;
---
<Layout title={pageTitle}>
<GlassHeader client:only="react" />
<GlassHeader lang={lang} client:only="react" />
<main class="min-h-screen">
<!-- Projects Hero Section -->
<section class="py-24 relative overflow-hidden">