修复:增加回到顶部功能,优化博客性能

This commit is contained in:
2026-09-21 09:37:31 +08:00
parent b0e7d40faf
commit 219cb712a6
27 changed files with 845 additions and 373 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ const allTags = getAllAlbumTags(albums)
<BaseLayout {title} {description} fontProfile="interface">
<div class="min-h-screen bg-background dark:bg-surface-subtle">
<SiteHeader />
<main class="pt-24 sm:pt-32 pb-16">
<main id="main" tabindex="-1" class="pt-24 sm:pt-32 pb-16">
<div class="max-w-6xl mx-auto px-6">
{/* 页头 */}
<section class="mb-8">