refactor: streamline HTML structure and enhance UI components
- Cleaned up the HTML structure in index.html and pdf-multi-tool.html for better readability and maintainability. - Improved the user interface of the PDF multi-tool with responsive button designs and better layout. - Added new CSS styles for button states and cursor behavior. - Updated README with corrected Docker deployment link. - Refactored JavaScript logic to utilize new helper functions for formatting star counts. - Commented out unused attachment functionalities in the logic files for future integration.
This commit is contained in:
@@ -3,6 +3,12 @@ export const categories = [
|
||||
{
|
||||
name: 'Popular Tools',
|
||||
tools: [
|
||||
{
|
||||
href: '/src/pages/pdf-multi-tool.html',
|
||||
name: 'PDF Multi Tool',
|
||||
icon: 'pencil-ruler',
|
||||
subtitle: 'Merge, Split, Organize, Delete, Rotate, Add Blank Pages, Extract and Duplicate in an unified interface.',
|
||||
},
|
||||
{
|
||||
id: 'merge',
|
||||
name: 'Merge PDF',
|
||||
@@ -312,22 +318,23 @@ export const categories = [
|
||||
icon: 'paperclip',
|
||||
subtitle: 'Embed one or more files into your PDF.',
|
||||
},
|
||||
{
|
||||
id: 'extract-attachments',
|
||||
name: 'Extract Attachments',
|
||||
icon: 'download',
|
||||
subtitle: 'Extract all embedded files from PDF(s) as a ZIP.',
|
||||
},
|
||||
{
|
||||
id: 'edit-attachments',
|
||||
name: 'Edit Attachments',
|
||||
icon: 'file-edit',
|
||||
subtitle: 'View, remove, or replace attachments in your PDF.',
|
||||
},
|
||||
// TODO@ALAM - MAKE THIS LATER, ONCE INTEGERATED WITH CPDF
|
||||
// {
|
||||
// id: 'extract-attachments',
|
||||
// name: 'Extract Attachments',
|
||||
// icon: 'download',
|
||||
// subtitle: 'Extract all embedded files from PDF(s) as a ZIP.',
|
||||
// },
|
||||
// {
|
||||
// id: 'edit-attachments',
|
||||
// name: 'Edit Attachments',
|
||||
// icon: 'file-edit',
|
||||
// subtitle: 'View, remove, or replace attachments in your PDF.',
|
||||
// },
|
||||
{
|
||||
href: '/src/pages/pdf-multi-tool.html',
|
||||
name: 'PDF Multi Tool',
|
||||
icon: 'layers',
|
||||
icon: 'pencil-ruler',
|
||||
subtitle: 'Full-featured PDF editor with page management.',
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user