|
|
@@ -17,7 +17,7 @@ const TermsOfService: React.FC = () => {
|
|
|
|
|
|
useEffect(() => {
|
|
|
loadMdByLang('termsOfService', i18n.language, {
|
|
|
- replacements: { '[Insert Date]': DOC_LAST_UPDATED }, // 替换 MD 中的 [Insert Date]
|
|
|
+ replacements: { '[Insert Date]': `${DOC_LAST_UPDATED}\n` },
|
|
|
}).then(({ content, usedLang }) => {
|
|
|
setMdLang(usedLang);
|
|
|
setMdContent(content);
|
|
|
@@ -40,7 +40,7 @@ const TermsOfService: React.FC = () => {
|
|
|
{t('pages.termsOfService.title')}
|
|
|
</span>
|
|
|
<div
|
|
|
- className={`flex flex-col bg-[#1B1D22] text-white/80 rounded-xl shadow-[0px_4px_10px_0px_rgba(0,0,0,0.05)] ${isMobile ? 'p-[14px] gap-2' : 'p-[25px_30px_25px_25px] gap-5'}`}
|
|
|
+ className={`flex flex-col bg-[#1B1D22] text-white/80 rounded-xl shadow-[0px_4px_10px_0px_rgba(0,0,0,0.05)] ${isMobile ? 'p-[14px] gap-2 text-sm' : 'p-[25px_30px_25px_25px] gap-5 text-base'}`}
|
|
|
dir={dir}
|
|
|
style={{
|
|
|
direction: dir,
|