fix: loading screen shows Forumlify on first visit + rotating tab title
- LoadingScreen: drop forumName title (default name flashed on first
visit before settings loaded); show 🌊 logo + spinner instead
- AppProvider: during init rotate document.title Loading. → Loading..
→ Loading... every second; after ready show actual forum name
- layout: initial metadata title is 'Loading...' (client takes over)
This commit is contained in:
1 parent
9880d2b0d0
commit
e79c8530e3
5 files changed
+39
-5
No files matched your search
+2
-1
@@ -3,7 +3,8 @@ import './globals.css';
|
||||
import CustomCssLoader from '@/components/CustomCssLoader';
|
||||
|
||||
export const metadata = {
|
||||
title: 'Forumlify',
|
||||
// 初始标题由客户端 AppProvider 接管(加载时轮换 Loading.,完成后显示论坛名)
|
||||
title: 'Loading...',
|
||||
description: 'Forumlify - 简洁优雅的现代社区系统',
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user