mirror of
https://github.com/alam00000/bentopdf.git
synced 2026-11-10 17:14:34 +01:00
Fix header/subtitle FOUC and Simple Mode translations
- Refactor tool page headers to prevent flash of unstyled content (FOUC): - Move long SEO titles to visually hidden `<h1>` tags for search engines. - Use `<h2>` for visible tool titles with text matching i18n keys. - Sync default HTML subtitles with [tools.json]
This commit is contained in:
1 parent
809508b492
commit
b51d611c8a
4 files changed
+280
-111
No files matched your search
+14
-2
@@ -1,3 +1,15 @@
|
||||
export { initI18n, t, changeLanguage, applyTranslations, rewriteLinks, getLanguageFromUrl, supportedLanguages, languageNames } from './i18n';
|
||||
export {
|
||||
initI18n,
|
||||
t,
|
||||
changeLanguage,
|
||||
applyTranslations,
|
||||
rewriteLinks,
|
||||
getLanguageFromUrl,
|
||||
supportedLanguages,
|
||||
languageNames,
|
||||
} from './i18n';
|
||||
export type { SupportedLanguage } from './i18n';
|
||||
export { createLanguageSwitcher, injectLanguageSwitcher } from './language-switcher';
|
||||
export {
|
||||
createLanguageSwitcher,
|
||||
injectLanguageSwitcher,
|
||||
} from './language-switcher';
|
||||
Reference in new issue
Block a user