diff --git a/assets/script.js b/assets/script.js index 9779827..02f3939 100644 --- a/assets/script.js +++ b/assets/script.js @@ -170,3 +170,18 @@ if (currentLanguage === "fa") { document.getElementById("kyc_light-desc").remove() document.getElementById("kyc_light-providers").remove() } + +if (currentLanguage === "zh") { + // load font + // + const link = document.createElement("link") + link.href = "https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;700&display=swap" + link.rel = "stylesheet" + document.head.appendChild(link) + // set font family for body + document.body.style.fontFamily = "'Noto Serif SC', serif" + // set font family for headings + document.querySelectorAll("h1, h2, h3").forEach((el) => { + el.style.fontFamily = "'Noto Serif SC', serif" + }) +} \ No newline at end of file diff --git a/i18n/zh/flyer-dark-zh.pdf b/i18n/zh/flyer-dark-zh.pdf index 3bf0215..1cd4ca8 100644 Binary files a/i18n/zh/flyer-dark-zh.pdf and b/i18n/zh/flyer-dark-zh.pdf differ diff --git a/i18n/zh/flyer-light-zh.pdf b/i18n/zh/flyer-light-zh.pdf index f019388..2740372 100644 Binary files a/i18n/zh/flyer-light-zh.pdf and b/i18n/zh/flyer-light-zh.pdf differ diff --git a/i18n/zh/preview-flyer-dark.png b/i18n/zh/preview-flyer-dark.png index 3cd4a4e..6dc6cbb 100644 Binary files a/i18n/zh/preview-flyer-dark.png and b/i18n/zh/preview-flyer-dark.png differ diff --git a/i18n/zh/preview-flyer-dark.webp b/i18n/zh/preview-flyer-dark.webp index 5d906ae..3f6592f 100644 Binary files a/i18n/zh/preview-flyer-dark.webp and b/i18n/zh/preview-flyer-dark.webp differ diff --git a/i18n/zh/preview-flyer-light.png b/i18n/zh/preview-flyer-light.png index cee5630..becdc9d 100644 Binary files a/i18n/zh/preview-flyer-light.png and b/i18n/zh/preview-flyer-light.png differ diff --git a/i18n/zh/preview-flyer-light.webp b/i18n/zh/preview-flyer-light.webp index 602d921..dd4151a 100644 Binary files a/i18n/zh/preview-flyer-light.webp and b/i18n/zh/preview-flyer-light.webp differ