Skip to content

Commit b729314

Browse files
ralyodioclaude
andcommitted
fix(ui): resolve hydration mismatch, infinite loop, and missing assets
- Add suppressHydrationWarning to <html>/<body>/<div.app> to suppress server/client theme+lang state differences during SSR hydration - Add mounted gate in ClientLayout so PWA/call modals only render client-side, eliminating React #418 hydration error - Rewrite useI18n hook with stable module-level subscribe functions and useRef-cached t() to eliminate React #185 infinite update loop - Copy static/ assets (favicon, logo, hero, fonts, sw.js, etc.) to public/ so Next.js serves them — fixes inter-var.woff2 404 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent fca3738 commit b729314

59 files changed

Lines changed: 464 additions & 40 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎public/.well-known/security.txt‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Contact: mailto:security@qrypt.chat
2+
Expires: 2027-06-02T00:00:00.000Z
3+
Preferred-Languages: en
4+
Canonical: https://qrypt.chat/.well-known/security.txt

‎public/banner.png‎

21.5 KB

‎public/favicon.ico‎

4.19 KB
Binary file not shown.

‎public/favicon.svg‎

Lines changed: 1 addition & 0 deletions

‎public/fonts/inter-var.woff2‎

337 KB
Binary file not shown.

‎public/hero.svg‎

Lines changed: 1 addition & 0 deletions

‎public/humans.txt‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/* TEAM */
2+
Developer: Profullstack, Inc.
3+
Site: https://profullstack.com
4+
Location: USA
5+
6+
/* THANKS */
7+
Node.js community
8+
9+
/* SITE */
10+
Last update: 2025/01/05
11+
Standards: ES2024+, ESM
12+
Components: Node.js, Mocha, Chai, ESLint, Prettier
13+
Software: VS Code
14+
15+
/* SPEC */
16+
humans.txt spec: https://humanstxt.org/
5.16 KB
6.99 KB
9.43 KB

0 commit comments

Comments
 (0)