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": "Ana menüyü aç",
"language": "Dil"
},
"donation": {
"message": "BentoPDF'i seviyor musunuz? Ücretsiz ve açık kaynaklı kalmasına yardımcı olun!",
"button": "Bağış Yap"
},
"hero": {
"title": " ",
"pdfToolkit": "PDF Toolkit",
@@ -53,7 +57,8 @@
"toolsLabel": "Başlayın",
"subtitle": "Dosya yükleyiciyi açmak için bir araç seçin",
"searchPlaceholder": "Bir araç arayın (örn. 'böl', 'düzenle'...)",
"backToTools": "Araçlara Dön"
"backToTools": "Araçlara Dön",
"firstLoadNotice": "Dönüştürme motorumuzu indirirken ilk yükleme biraz zaman alır. Sonrasında tüm yüklemeler anında gerçekleşir."
},
"upload": {
"clickToSelect": "Dosya seçmek için tıklayın",