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

@@ -20,7 +20,7 @@ export default function AuthorCard({ lang, author }: AuthorCardProps) {
const websiteText = lang === 'zh' ? '个人网站' : 'Website';
return (
<div className="bg-card/50 backdrop-blur-sm rounded-2xl border border-border p-6 relative">
<div className="relative">
<div className="flex flex-col items-center text-center">
{/* Avatar */}
<div className="flex-shrink-0 mb-4">