feat(favicon,repair-pdf): Add favicon support and implement PDF repair tool

- Add favicon.ico to public directory for browser tab display
- Update favicon references across all HTML pages with proper link tags for SVG, PNG, and ICO formats
- Add Apple touch icon support for iOS devices
- Create new repair-pdf.ts logic module for PDF repair functionality
- Create new repair-pdf-page.ts utility module for page-level repair operations
- Add repair-pdf.html page with UI for PDF repair tool
- Register repair PDF tool in tools configuration and PDF tools registry
- Update UI rendering utilities to support new repair tool
- Improve favicon handling with multiple format fallbacks for cross-browser compatibility
- Standardize favicon paths to use absolute URLs for consistency
- Clean up whitespace and formatting in licensing.html for code consistency
This commit is contained in:
abdullahalam123
2025-12-01 12:44:34 +05:30
parent 05bc0d5a3c
commit c5764e4172
32 changed files with 759 additions and 404 deletions

View File

@@ -13,7 +13,10 @@
<div class="container mx-auto px-4">
<div class="flex justify-between items-center h-16">
<div class="flex-shrink-0 flex items-center cursor-pointer" id="home-logo">
<img src="images/favicon.svg" alt="Bento PDF Logo" class="h-8 w-8" />
<link rel="icon" type="image/svg+xml" href="/images/favicon.svg" />
<link rel="icon" type="image/png" href="/images/favicon.png" />
<link rel="apple-touch-icon" href="/images/favicon.png" />
<link rel="icon" href="/favicon.ico" sizes="any" />
<span class="text-white font-bold text-xl ml-2">
<a href="index.html">BentoPDF</a>
</span>
@@ -192,7 +195,8 @@
<div
class="mt-8 bg-gradient-to-r from-indigo-900/40 to-purple-900/40 rounded-lg p-6 border border-indigo-500/50">
<div class="text-center">
<div class="inline-block bg-red-500 text-white text-xs font-bold px-3 py-1 rounded-full mb-3 animate-pulse">
<div
class="inline-block bg-red-500 text-white text-xs font-bold px-3 py-1 rounded-full mb-3 animate-pulse">
LIMITED TIME OFFER
</div>
<p class="text-white text-2xl font-bold mb-2">Lifetime License</p>
@@ -202,7 +206,7 @@
<span class="text-lg font-normal text-gray-400">one-time</span>
</div>
<p class="text-gray-300 text-sm mb-4">Includes all feature updates forever</p>
<!-- Unlimited Usage Info -->
<div class="bg-indigo-900/30 rounded-lg p-4 mb-4 border border-indigo-500/30">
<div class="flex items-start gap-3 text-left">
@@ -210,12 +214,18 @@
<div>
<h4 class="text-white font-semibold text-sm mb-2">Unlimited Usage</h4>
<p class="text-gray-300 text-xs leading-relaxed">
The BentoPDF commercial license permits use on an <strong class="text-white">unrestricted, unlimited number of devices, servers, and user machines</strong> within your organization. There are <strong class="text-white">no per-user, per-machine, or per-seat limitations</strong>. Once you purchase the license, all your internal users may use BentoPDF through your browser-based system without requiring additional licenses.
The BentoPDF commercial license permits use on an <strong
class="text-white">unrestricted, unlimited number of devices, servers,
and user machines</strong> within your organization. There are <strong
class="text-white">no per-user, per-machine, or per-seat
limitations</strong>. Once you purchase the license, all your internal
users may use BentoPDF through your browser-based system without requiring
additional licenses.
</p>
</div>
</div>
</div>
<a href="https://ko-fi.com/s/f32ca4cb75" target="_blank" rel="noopener noreferrer"
class="inline-block px-8 py-3 rounded-lg bg-indigo-600 text-white font-semibold hover:bg-indigo-700 transition-colors shadow-lg hover:shadow-indigo-500/50 transform hover:scale-105 transition-all duration-200">
Purchase Lifetime License