refactor: extract navbar and footer into reusable handlebars partials
- Replace duplicated navbar markup across all HTML pages with {{> navbar }} partial
- Replace duplicated footer markup across all HTML pages with {{> footer }} partial
- Add TypeScript type definitions for vite-plugin-handlebars integration
- Update vite.config.ts to support handlebars partial compilation
- Update tsconfig.json to include handlebars type definitions
- Update nginx.conf for proper static file serving with partials
- Update translation files for de, pt, tr, vi, and zh-TW locales
- Reduce code duplication and improve maintainability across 13+ HTML pages
- Ensure consistent navbar and footer behavior across the entire application
This commit is contained in:
@@ -8,6 +8,10 @@
|
||||
"openMainMenu": "Abrir menu principal",
|
||||
"language": "Idioma"
|
||||
},
|
||||
"donation": {
|
||||
"message": "Adora o BentoPDF? Ajude-nos a mantê-lo gratuito e de código aberto!",
|
||||
"button": "Doar"
|
||||
},
|
||||
"hero": {
|
||||
"title": "O",
|
||||
"pdfToolkit": "Kit de Ferramentas PDF",
|
||||
@@ -53,7 +57,8 @@
|
||||
"toolsLabel": "Ferramentas",
|
||||
"subtitle": "Clique em uma ferramenta para abrir o seletor de arquivos",
|
||||
"searchPlaceholder": "Buscar ferramenta (ex: 'dividir', 'organizar'...)",
|
||||
"backToTools": "Voltar para Ferramentas"
|
||||
"backToTools": "Voltar para Ferramentas",
|
||||
"firstLoadNotice": "O primeiro carregamento demora um momento enquanto baixamos nosso mecanismo de conversão. Depois disso, todos os carregamentos serão instantâneos."
|
||||
},
|
||||
"upload": {
|
||||
"clickToSelect": "Clique para selecionar um arquivo",
|
||||
|
||||
Reference in New Issue
Block a user