Skip to content

Added webfont fallbacks so Devanagari/Newa text doesn’t render as t…#241

Open
binamkayastha wants to merge 3 commits intomainfrom
fix-nepali-font
Open

Added webfont fallbacks so Devanagari/Newa text doesn’t render as t…#241
binamkayastha wants to merge 3 commits intomainfrom
fix-nepali-font

Conversation

@binamkayastha
Copy link
Member

AI generated fix for web fonts. Will manually test with cloudflare pages to make sure everything works. Unfortunately this has always worked on my laptop so I'll need someone who has had this problem before to check it.

Fixes 232

…ofu boxes on machines without those fonts: `nepalingo-web/src/index.css:1` and `nepalingo-web/tailwind.config.ts:15`.

- Ensured the random quote block uses the updated font stacks: `nepalingo-web/src/components/randomQuotes.tsx:13`.
- Build passes: `pnpm -C nepalingo-web build`.
- Created and checked out the requested branch: `fix-nepali-font`.

If you want this to work fully offline too (no Google Fonts), tell me and I’ll switch to bundling `.woff2` fonts in `public/`.
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 18, 2026

Deploying nepalingo with  Cloudflare Pages  Cloudflare Pages

Latest commit: 67782e5
Status: ✅  Deploy successful!
Preview URL: https://0e27ce91.nepalingo.pages.dev
Branch Preview URL: https://fix-nepali-font.nepalingo.pages.dev

View logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant