- Add dictionary-based i18n system (en/zh) with React Context provider - Extract all hardcoded text from landing components into translation dictionaries - Auto-detect browser language, persist preference in localStorage - Add language switcher (EN/中文) to footer - Add Noto Serif SC font for Chinese serif headings - Rewrite about page Chinese copy with user-provided translation
3 lines
156 B
TypeScript
3 lines
156 B
TypeScript
export { LocaleProvider, useLocale } from "./context";
|
|
export { locales, localeLabels } from "./types";
|
|
export type { Locale, LandingDict } from "./types";
|