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:
19
README.md
19
README.md
@@ -180,13 +180,18 @@ BentoPDF offers a comprehensive suite of tools to handle all your PDF needs.
|
||||
|
||||
BentoPDF is available in multiple languages:
|
||||
|
||||
| Language | Status |
|
||||
| ---------- | ----------------------------------------------------------------------------------------------------------------- |
|
||||
| English | [](public/locales/en/common.json) |
|
||||
| German | [](public/locales/de/common.json) |
|
||||
| Vietnamese | [](public/locales/vi/common.json) |
|
||||
| Chinese | [](public/locales/zh/common.json) |
|
||||
| French | [](public/locales/fr/common.json) |
|
||||
| Language | Status |
|
||||
| ------------------- | ------------------------------------------------------------------------------------------------------------------------- |
|
||||
| English | [](public/locales/en/common.json) |
|
||||
| Chinese | [](public/locales/zh/common.json) |
|
||||
| Traditional Chinese | [](public/locales/zh-TW/common.json) |
|
||||
| French | [](public/locales/fr/common.json) |
|
||||
| German | [](public/locales/de/common.json) |
|
||||
| Indonesian | [](public/locales/id/common.json) |
|
||||
| Italian | [](public/locales/it/common.json) |
|
||||
| Portuguese | [](public/locales/pt/common.json) |
|
||||
| Turkish | [](public/locales/tr/common.json) |
|
||||
| Vietnamese | [](public/locales/vi/common.json) |
|
||||
|
||||
Want to help translate BentoPDF into your language? Check out our [Translation Guide](TRANSLATION.md)!
|
||||
|
||||
|
||||
Reference in New Issue
Block a user