Spaces:
Sleeping
Sleeping
File size: 6,393 Bytes
49412e8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 | import {
FilePlus2, Divide, FileDown, RotateCw, Trash2, ArrowRightLeft,
FileText, FileImage, ShieldCheck, Unlock, Type, PenTool, Crop, Maximize, Edit3, Settings, PaintBucket
} from 'lucide-react';
export const TOOLS_CATEGORIES = [
{
title: "Organize PDF",
tools: [
{ id: "compress-pdf", seoPath: "/compress-pdf-without-losing-quality", name: "Compress PDF Under 100KB", desc: "Reduce PDF size instantly without losing quality. 100% free, no login required.", icon: FileDown, color: "#4CAF50", bgColor: "#ebf7ec" },
{ id: "merge-pdf", seoPath: "/merge-pdf-online-free", name: "Merge PDF (No Login)", desc: "Combine multiple PDF files into one for free. Fastest PDF merger online.", icon: FilePlus2, color: "#E5322D", bgColor: "#ffe8e8" },
{ id: "split-pdf", seoPath: "/split-pdf-online-free", name: "Split PDF", desc: "Separate one page or a whole set for easy conversion into independent PDF files.", icon: Divide, color: "#FF6900", bgColor: "#fff0e5" },
{ id: "rotate-pdf", seoPath: "/rotate-pdf-pages-online", name: "Rotate PDF", desc: "Rotate your PDFs the way you need them. You can even rotate multiple PDFs at once!", icon: RotateCw, color: "#1976D2", bgColor: "#e8f1fa" },
{ id: "organize-pdf", seoPath: "/organize-pdf-pages", name: "Organize PDF", desc: "Sort pages of your PDF file however you like. Delete PDF pages or add PDF pages to your document at your convenience.", icon: Settings, color: "#FF9800", bgColor: "#fff5e5" },
{ id: "delete-pdf-pages", seoPath: "/delete-pdf-pages-online", name: "Delete PDF Pages", desc: "Remove unwanted pages from your PDFs easily.", icon: Trash2, color: "#F44336", bgColor: "#ffebeb" }
]
},
{
title: "Optimize PDF",
tools: [
{ id: "grayscale-pdf", seoPath: "/grayscale-pdf-online", name: "Grayscale PDF", desc: "Convert all images and text in your PDF to grayscale.", icon: PaintBucket, color: "#607D8B", bgColor: "#eceff1" }
]
},
{
title: "Convert to PDF",
tools: [
{ id: "word-to-pdf", seoPath: "/word-to-pdf-converter", name: "Word to PDF", desc: "Make DOC and DOCX files easy to read by converting them to PDF.", icon: FileText, color: "#1976D2", bgColor: "#e8f1fa" },
{ id: "excel-to-pdf", seoPath: "/excel-to-pdf-converter", name: "Excel to PDF", desc: "Make EXCEL spreadsheets easy to read by converting them to PDF.", icon: FileText, color: "#4CAF50", bgColor: "#ebf7ec" },
{ id: "ppt-to-pdf", seoPath: "/ppt-to-pdf-converter", name: "PPT to PDF", desc: "Make PPT and PPTX slideshows easy to view by converting them to PDF.", icon: FileText, color: "#FF5252", bgColor: "#ffebeb" },
{ id: "jpg-to-pdf", seoPath: "/image-to-pdf-converter", name: "JPG to PDF (Mobile Ready)", desc: "Convert images/photos to PDF in seconds. 100% free, no app download needed.", icon: FileImage, color: "#FFB300", bgColor: "#fff8e5" },
{ id: "html-to-pdf", seoPath: "/html-to-pdf", name: "HTML to PDF", desc: "Convert webpages in HTML to PDF. Copy and paste the URL of the page you want and convert it to PDF with a click.", icon: FileText, color: "#8E24AA", bgColor: "#f4e9f7" }
]
},
{
title: "Convert from PDF",
tools: [
{ id: "pdf-to-word", seoPath: "/pdf-to-word-converter", name: "PDF to Word (Editable)", desc: "Free converter to turn PDF into editable Word documents instantly.", icon: FileText, color: "#1976D2", bgColor: "#e8f1fa" },
{ id: "pdf-to-excel", seoPath: "/pdf-to-excel-converter", name: "PDF to Excel", desc: "Pull data straight from PDFs into EXCEL spreadsheets in a few short seconds.", icon: FileText, color: "#4CAF50", bgColor: "#ebf7ec" },
{ id: "pdf-to-ppt", seoPath: "/pdf-to-ppt-converter", name: "PDF to PPT", desc: "Turn your PDF files into easy to edit PPT and PPTX slideshows.", icon: FileText, color: "#FF5252", bgColor: "#ffebeb" },
{ id: "pdf-to-jpg", seoPath: "/pdf-to-jpg-converter", name: "PDF to JPG", desc: "Convert each PDF page into a JPG or extract all images contained in a PDF.", icon: FileImage, color: "#FFB300", bgColor: "#fff8e5" }
]
},
{
title: "Security & Advanced Tools",
tools: [
{ id: "protect-pdf", seoPath: "/protect-pdf-with-password", name: "Protect PDF", desc: "Encrypt your PDF with a password to prevent unauthorized access.", icon: ShieldCheck, color: "#F44336", bgColor: "#ffebeb" },
{ id: "unlock-pdf", seoPath: "/unlock-pdf-password-remover", name: "Unlock PDF", desc: "Remove password security from your PDFs.", icon: Unlock, color: "#F44336", bgColor: "#ffebeb" },
{ id: "add-watermark", seoPath: "/add-watermark-to-pdf", name: "Add Watermark", desc: "Stamp an image or text over your PDF in seconds.", icon: Type, color: "#00BCD4", bgColor: "#e5f8fa" },
{ id: "edit-pdf", seoPath: "/edit-pdf-online-free", name: "Edit PDF", desc: "Add text, images, shapes or freehand annotations to a PDF document.", icon: Edit3, color: "#E91E63", bgColor: "#fde8ef" },
{ id: "sign-pdf", seoPath: "/sign-pdf", name: "Sign PDF", desc: "Sign yourself or request electronic signatures from others.", icon: PenTool, color: "#673AB7", bgColor: "#f0eaf8" },
{ id: "ocr-pdf", seoPath: "/ocr-pdf-searchable-text", name: "OCR PDF", desc: "Convert scanned PDFs into searchable and text-selectable documents.", icon: FileText, color: "#009688", bgColor: "#e5f4f3" },
{ id: "crop-pdf", seoPath: "/crop-pdf-online-free", name: "Crop PDF", desc: "Crop PDF to a selected area, adjust margin size.", icon: Crop, color: "#4CAF50", bgColor: "#ebf7ec" },
{ id: "resize-pdf", seoPath: "/resize-pdf-page-size", name: "Resize PDF", desc: "Change standard page sizes (A4, Letter) of your PDF.", icon: Maximize, color: "#2196F3", bgColor: "#e8f4fd" },
{ id: "add-page-numbers", seoPath: "/add-page-numbers-to-pdf", name: "Add Page Numbers", desc: "Add page numbers to your PDF document in seconds.", icon: Type, color: "#00BCD4", bgColor: "#e5f8fa" }
]
}
];
export const getToolById = (id) => {
for (const cat of TOOLS_CATEGORIES) {
for (const tool of cat.tools) {
if (tool.id === id) return tool;
}
}
return null;
};
|