refactor(Container): simplify container component and remove size prop
Remove size variants from Container component and set a default max-width Update all instances where Container was used with size prop to use default
This commit is contained in:
@@ -56,7 +56,7 @@ const tags = extractTags(allPostsArray);
|
||||
<BlogLayout title="博客 - 赵桂阳" description="深入我对编程、技术趋势和开发者生活的思考。探索我的最新文章。">
|
||||
<main class="min-h-screen">
|
||||
<!-- 头部区域 -->
|
||||
<Container client:load size="md" className="pt-24 pb-12">
|
||||
<Container client:load className="pt-24 pb-12">
|
||||
<div class="text-center mb-16">
|
||||
<h1 class="text-5xl md:text-6xl font-bold bg-gradient-to-r from-foreground via-purple-600 to-purple-800 dark:from-foreground dark:via-purple-200 dark:to-purple-300 bg-clip-text text-transparent mb-6">
|
||||
我的<span class="text-purple-500">博客</span>
|
||||
@@ -68,7 +68,7 @@ const tags = extractTags(allPostsArray);
|
||||
</Container>
|
||||
|
||||
<!-- 主要内容 -->
|
||||
<Container client:load size="md" className="pb-20">
|
||||
<Container client:load className="pb-20">
|
||||
<div class="grid grid-cols-1 lg:grid-cols-4 gap-8">
|
||||
<!-- 侧边栏 -->
|
||||
<div class="lg:col-span-1 space-y-8">
|
||||
|
||||
Reference in New Issue
Block a user