fix: loading page logo/name flash, settings name flash, post card radius
- LoadingScreen: remove 🌊 logo; show forum name only after server
responds (fades in place), delayed 650ms before switching to home
- AppProvider: new forumNameLoaded flag; title rotation already handled
- settings API: always returns forum_name (inserts default if missing)
- AdminForumSettings: name input starts empty, fills after fetch
- PostDetail: add id=pagePost so #pagePost .post-detail-card styles
apply (border-radius/shadow were missing)
This commit is contained in:
1 parent
e79c8530e3
commit
34c06c206c
7 files changed
+34
-20
No files matched your search
@@ -8,7 +8,8 @@ import { Icon } from '../Icons';
|
||||
|
||||
export default function AdminForumSettings() {
|
||||
const { updateForumName } = useApp();
|
||||
const [name, setName] = useState('Forumlify');
|
||||
// 初始为空:收到服务器返回的论坛名后才显示,避免默认名一闪而过
|
||||
const [name, setName] = useState('');
|
||||
const [result, setResult] = useState(null); // {ok, msg}
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
Reference in new issue
Block a user