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:
alam00000
2026-01-13 15:13:57 +05:30
parent d9045efcb0
commit 446b399be2
25 changed files with 665 additions and 3115 deletions

View File

@@ -8,6 +8,10 @@
"openMainMenu": "開啟主選單",
"language": "語言"
},
"donation": {
"message": "喜歡 BentoPDF幫助我們保持免費和開源",
"button": "捐贈"
},
"hero": {
"title": "專為隱私打造的",
"pdfToolkit": "PDF 工具箱",
@@ -53,7 +57,8 @@
"toolsLabel": "工具",
"subtitle": "點擊任意工具以開始上傳檔案",
"searchPlaceholder": "搜尋工具(例如「合併」或「分割」...",
"backToTools": "返回工具列表"
"backToTools": "返回工具列表",
"firstLoadNotice": "首次載入需要一點時間,因為我們正在下載轉換引擎。之後所有載入將即時完成。"
},
"upload": {
"clickToSelect": "點擊以選擇檔案",