diff --git a/web/app/components/billing/pricing/InstrumentSerif-Italic-Latin.woff2 b/web/app/components/billing/pricing/InstrumentSerif-Italic-Latin.woff2 new file mode 100644 index 0000000000..5d1fd32cb0 Binary files /dev/null and b/web/app/components/billing/pricing/InstrumentSerif-Italic-Latin.woff2 differ diff --git a/web/app/components/billing/pricing/header.module.css b/web/app/components/billing/pricing/header.module.css new file mode 100644 index 0000000000..fc05646d86 --- /dev/null +++ b/web/app/components/billing/pricing/header.module.css @@ -0,0 +1,24 @@ +.instrumentSerif { + font-family: "Instrument Serif", serif; + font-style: italic; +} + +@font-face { + font-family: "Instrument Serif"; + font-style: italic; + font-weight: 400; + font-display: swap; + src: url("./InstrumentSerif-Italic-Latin.woff2") format("woff2"); + unicode-range: + U+0000-00FF, + U+0100-024F, + U+0259, + U+0300-036F, + U+1E00-1EFF, + U+2010-205E, + U+20A0-20CF, + U+2113, + U+2212, + U+2C60-2C7F, + U+A720-A7FF; +} diff --git a/web/app/components/billing/pricing/header.tsx b/web/app/components/billing/pricing/header.tsx index b130f23981..5844fcf264 100644 --- a/web/app/components/billing/pricing/header.tsx +++ b/web/app/components/billing/pricing/header.tsx @@ -1,8 +1,10 @@ import { RiCloseLine } from '@remixicon/react' import * as React from 'react' import { useTranslation } from 'react-i18next' +import { cn } from '@/utils/classnames' import Button from '../../base/button' import DifyLogo from '../../base/logo/dify-logo' +import styles from './header.module.css' type HeaderProps = { onClose: () => void @@ -20,11 +22,16 @@ const Header = ({
- + {t('plansCommon.title.plans', { ns: 'billing' })} -

+

{t('plansCommon.title.description', { ns: 'billing' })}