diff --git a/public/fonts/AlibabaPuHuiTi-3-65-Medium.woff2 b/public/fonts/AlibabaPuHuiTi-3-65-Medium.woff2 deleted file mode 100644 index fa037a7..0000000 Binary files a/public/fonts/AlibabaPuHuiTi-3-65-Medium.woff2 and /dev/null differ diff --git a/public/fonts/Fontquan-XinYiJiXiangSong.ttf b/public/fonts/Fontquan-XinYiJiXiangSong.ttf deleted file mode 100644 index 0d2a5db..0000000 Binary files a/public/fonts/Fontquan-XinYiJiXiangSong.ttf and /dev/null differ diff --git a/public/fonts/abhayalibre-semibold.ttf b/public/fonts/abhayalibre-semibold.ttf deleted file mode 100644 index 6001667..0000000 Binary files a/public/fonts/abhayalibre-semibold.ttf and /dev/null differ diff --git a/public/fonts/ping-fang-hei-ti-zhun-jian.ttf b/public/fonts/ping-fang-hei-ti-zhun-jian.ttf deleted file mode 100644 index 1166983..0000000 Binary files a/public/fonts/ping-fang-hei-ti-zhun-jian.ttf and /dev/null differ diff --git a/public/fonts/pingfang-sc-medium.otf b/public/fonts/pingfang-sc-medium.otf deleted file mode 100644 index 0794490..0000000 Binary files a/public/fonts/pingfang-sc-medium.otf and /dev/null differ diff --git a/public/fonts/pingfangsc-semibold.otf b/public/fonts/pingfangsc-semibold.otf deleted file mode 100644 index d21e0e3..0000000 Binary files a/public/fonts/pingfangsc-semibold.otf and /dev/null differ diff --git a/src/app/globals.css b/src/app/globals.css index da4e011..81f9664 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -12,7 +12,8 @@ body { background: var(--body-bg-color); - font-family: 'PingFang SC-Regular', Helvetica; + font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', STHeiti, 'Microsoft Yahei', Tahoma, + Simsun, sans-serif; /* padding-bottom: constant(safe-area-inset-bottom); padding-bottom: env(safe-area-inset-bottom); */ } diff --git a/src/utils/font.ts b/src/utils/font.ts deleted file mode 100644 index 4b9fe6a..0000000 --- a/src/utils/font.ts +++ /dev/null @@ -1,31 +0,0 @@ -import localFont from 'next/font/local'; - -export const RegularFont = localFont({ - src: '../../public/fonts/ping-fang-hei-ti-zhun-jian.ttf', - display: 'swap', -}); - -export const MediumFont = localFont({ - src: '../../public/fonts/pingfang-sc-medium.otf', - display: 'swap', -}); - -export const SemiboldFont = localFont({ - src: '../../public/fonts/pingfangsc-semibold.otf', - display: 'swap', -}); - -export const AbhayaFont = localFont({ - src: '../../public/fonts/AlibabaPuHuiTi-3-65-Medium.woff2', - display: 'swap', -}); - -export const AbhayaSemiboldFont = localFont({ - src: '../../public/fonts/abhayalibre-semibold.ttf', - display: 'swap', -}); - -export const XinYiJiXiangSongFont = localFont({ - src: '../../public/fonts/Fontquan-XinYiJiXiangSong.ttf', - display: 'swap', -});