fix: Next 16 cookies() is async — await it in Home (page rendering error
cookies().get() without await threw in Next 16 (sync dynamic API removed), breaking the whole Home SSR render → layout broken, spinner restart, flash. Await cookies() before reading forumlify-name. Also raise glass-bg opacity (0.18→0.62 light / 0.35→0.60 dark) so cards/navbar/modal aren't see-through.
This commit is contained in:
1 parent
78ef6cd798
commit
ef9d8b8f9c
2 files changed
+6
-4
No files matched your search
+2
-2
@@ -12,7 +12,7 @@
|
||||
--primary-glow: rgba(91, 155, 213, 0.25);
|
||||
|
||||
/* ===== 磨砂玻璃颜色 - 亮色 ===== */
|
||||
--glass-bg: rgba(255, 255, 255, 0.18);
|
||||
--glass-bg: rgba(255, 255, 255, 0.62);
|
||||
--glass-border: rgba(255, 255, 255, 0.30);
|
||||
--glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
|
||||
--glass-text: #1a1a2e;
|
||||
@@ -56,7 +56,7 @@
|
||||
--primary-glow: rgba(91, 155, 213, 0.4);
|
||||
|
||||
/* ===== 磨砂玻璃颜色 - 暗色 ===== */
|
||||
--glass-bg: rgba(30, 30, 50, 0.35);
|
||||
--glass-bg: rgba(30, 30, 50, 0.60);
|
||||
--glass-border: rgba(255, 255, 255, 0.10);
|
||||
--glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
|
||||
--glass-text: #e8e8f0;
|
||||
|
||||
Reference in new issue
Block a user