Skip to content

Commit 30ccdc3

Browse files
Christian Shearerclaude
andcommitted
i18n: rewrite Hindi to colloquial Hinglish, fix Spanish "libro mayor"
Hindi: Replace pure Sanskrit/formal Hindi with colloquial Hinglish per native speaker review. Add Hind font (Google Fonts) with proper line-height (1.9) to fix Devanagari matra clipping. Add emoji icons to section headers for visual navigation. Spanish: Replace "libro mayor público" with "registro ("ledger") público" — more natural phrasing for crypto/blockchain context. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 745aa57 commit 30ccdc3

File tree

2 files changed

+90
-78
lines changed

2 files changed

+90
-78
lines changed

src/server/brand.ts

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export function brandFonts(): string {
6464
return `<link rel="icon" href="https://app.regen.network/favicon.ico" type="image/x-icon">
6565
<link rel="preconnect" href="https://fonts.googleapis.com">
6666
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
67-
<link href="https://fonts.googleapis.com/css2?family=Mulish:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
67+
<link href="https://fonts.googleapis.com/css2?family=Mulish:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700&family=Hind:wght@400;500;600;700&display=swap" rel="stylesheet">
6868
<script>
6969
window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments);}
7070
gtag('consent','default',{analytics_storage:'denied',ad_storage:'denied',ad_user_data:'denied',ad_personalization:'denied',wait_for_update:500});
@@ -118,6 +118,18 @@ export function brandCSS(): string {
118118
a { color: var(--regen-green); text-decoration: none; }
119119
a:hover { text-decoration: underline; }
120120
121+
/* ---- Hindi / Devanagari typography ---- */
122+
html[lang="hi"] body {
123+
font-family: 'Hind', var(--regen-font-primary);
124+
font-size: 17px;
125+
line-height: 1.9;
126+
}
127+
html[lang="hi"] p { line-height: 2.0; }
128+
html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] h3 {
129+
font-family: 'Hind', var(--regen-font-primary);
130+
line-height: 1.5;
131+
}
132+
121133
/* ---- Layout ---- */
122134
.regen-container { max-width: 900px; margin: 0 auto; padding: 0 24px; }
123135
.regen-container--narrow { max-width: 640px; margin: 0 auto; padding: 0 24px; }

0 commit comments

Comments
 (0)