fix: replies drawer auto-expand, settings no-scroll, title bug, admin links
- PostDetail: replies open as drawer (grid-rows animation) automatically after post loads — no toggle button - SettingsPage: outer frame overflow hidden (100vh), only inner panel scrolls; hide #app layout when not on feed (fixes navbar moving when scrolling settings) - Title: metadata 'Loading...' → 'Forumlify' (Next resets <title> to metadata on re-render → title became Loading... after load); unify title effect (rotate Loading. only while !ready && !forumNameLoaded) - AdminLinks: link divider uses var(--border) (was #f1f5f9, invisible in dark mode); add admin.link i18n keys - AdminPage i18n nav labels
This commit is contained in:
1 parent
ad89aa3e04
commit
5a9a454ef3
9 files changed
+76
-20
No files matched your search
+4
-2
@@ -5,8 +5,10 @@ import { ToastProvider } from '@/components/Toast';
|
||||
import I18nInit from '@/components/I18nInit';
|
||||
|
||||
export const metadata = {
|
||||
// 初始标题由客户端 AppProvider 接管(加载时轮换 Loading.,完成后显示论坛名)
|
||||
title: 'Loading...',
|
||||
// 初始标题用默认论坛名(AppProvider 加载期轮换 Loading.,完成后覆盖为真实名)。
|
||||
// 注意:不能设 'Loading...' —— Next.js 客户端重渲染会重置 <title> 为 metadata 值,
|
||||
// 导致加载完成后标题又变回 "Loading..."。
|
||||
title: 'Forumlify',
|
||||
description: 'Forumlify - 简洁优雅的现代社区系统',
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user