0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-08 02:52:39 -05:00

Moved the custom fonts feature to public beta (#21664)

ref DES-985
This commit is contained in:
Sodbileg Gansukh 2024-11-21 19:06:40 +08:00 committed by GitHub
parent 4202cf137e
commit 9493fbefcc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 7 deletions

View file

@ -63,10 +63,6 @@ const features = [{
title: 'Staff 2FA',
description: 'Enables email verification for staff logins',
flag: 'staff2fa'
}, {
title: 'Custom Fonts',
description: 'Enables new custom font settings',
flag: 'customFonts'
}];
const AlphaFeatures: React.FC = () => {

View file

@ -27,6 +27,10 @@ const BetaFeatures: React.FC = () => {
action={<FeatureToggle flag='i18n' />}
detail={<>Translate your membership flows into your publication language (<a className='text-green' href="https://github.com/TryGhost/Ghost/tree/main/ghost/i18n/locales" rel="noopener noreferrer" target="_blank">supported languages</a>). Dont see yours? <a className='text-green' href="https://forum.ghost.org/t/help-translate-ghost-beta/37461" rel="noopener noreferrer" target="_blank">Get involved</a></>}
title='Portal translation' />
<LabItem
action={<FeatureToggle flag='customFonts' />}
detail={<>Enable new custom font settings. <a className='text-green' href="https://ghost.org/docs/themes/custom-settings/#setting-up-support-for-custom-fonts" rel="noopener noreferrer" target="_blank">Learn more &rarr;</a></>}
title='Custom fonts' />
<LabItem
action={<div className='flex flex-col items-end gap-1'>
<FileUpload

View file

@ -31,7 +31,8 @@ const BETA_FEATURES = [
'stripeAutomaticTax',
'webmentions',
'editorExcerpt',
'ActivityPub'
'ActivityPub',
'customFonts'
];
const ALPHA_FEATURES = [
@ -46,8 +47,7 @@ const ALPHA_FEATURES = [
'adminXDemo',
'contentVisibility',
'commentImprovements',
'staff2fa',
'customFonts'
'staff2fa'
];
module.exports.GA_KEYS = [...GA_FEATURES];