diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index 0401832..c0fa147 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -15,6 +15,8 @@ jobs: if: startsWith(github.ref, 'refs/tags/') permissions: contents: write + env: + HUSKY: 0 steps: - name: Checkout code uses: actions/checkout@v4 diff --git a/.github/workflows/sponsors.yml b/.github/workflows/sponsors.yml index 0b1435b..8d261dc 100644 --- a/.github/workflows/sponsors.yml +++ b/.github/workflows/sponsors.yml @@ -1,7 +1,5 @@ name: Update Sponsors on: - schedule: - - cron: '0 0 * * *' # Daily workflow_dispatch: jobs: update: diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index b0f91c5..c81d723 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -27,6 +27,7 @@ concurrency: env: SIMPLE_MODE: ${{ vars.SIMPLE_MODE }} BASE_URL: ${{ vars.BASE_URL }}/ + HUSKY: 0 jobs: # Single deploy job since we're just deploying diff --git a/.gitignore b/.gitignore index 3527f29..c4f76c1 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,9 @@ dist dist-ssr *.local .npm-cache +.env +.env.production +.env.local # Editor directories and files .vscode/* diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100644 index 0000000..2312dc5 --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1 @@ +npx lint-staged diff --git a/404.html b/404.html index ba1c6b9..5d2924d 100644 --- a/404.html +++ b/404.html @@ -45,7 +45,7 @@
+ + + + + + + + - + - + - - - - - +
+

Company

+ +
+
+

Legal

+ +
+
+

Follow Us

+ +
+
+
+ + + + + + + - + - + - + - - - - - - + +
+

Company

+ +
+ +
+

Legal

+ +
+ +
+

Follow Us

+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + - + - + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/pages/divide-pages.html b/src/pages/divide-pages.html index 26b8df8..520c5cf 100644 --- a/src/pages/divide-pages.html +++ b/src/pages/divide-pages.html @@ -2,56 +2,59 @@ - - - + + + Divide Pages Online Free - Divide Pages Tool | BentoPDF - + - + - + - + - + - + - + - - Divide PDF Pages - BentoPDF - - - - - - - - - - + + Divide PDF Pages - BentoPDF + + + + + + + + + + @@ -65,169 +68,169 @@ - - - - - - - - - - +
+

Company

+ +
+
+

Legal

+ +
+
+

Follow Us

+
+ + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - +
+

Company

+ +
+
+

Legal

+ +
+
+

Follow Us

+
+ + + + + + + + + + + +
+
+ + + + + + + + + - + - + - + - - - - - - +
+

Company

+ +
+
+

Legal

+ +
+
+

Follow Us

+
+ + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - - + +
+

Company

+ +
+ +
+

Legal

+ +
+ +
+

Follow Us

+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - +
+

Company

+ +
+
+

Legal

+ +
+
+

Follow Us

+
+ + + + + + + + + + + +
+
+ + + + + + + + + - + - + - + - - - - - - + +
+

Company

+ +
+ +
+

Legal

+ +
+ +
+

Follow Us

+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - - + +
+

Company

+ +
+ +
+

Legal

+ +
+ +
+

Follow Us

+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - +
+

Company

+ +
+
+

Legal

+ +
+
+

Follow Us

+
+ + + + + + + + + + + +
+
+ + + + + + + + + - + - + - + - - - - - - +
+

Company

+ +
+
+

Legal

+ +
+
+

Follow Us

+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - - + +
+

Company

+ +
+ +
+

Legal

+ +
+ +
+

Follow Us

+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - - +
+

Company

+ +
+
+

Legal

+ +
+
+

Follow Us

+
+ + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - - + +
+

Company

+ +
+ +
+

Legal

+ +
+ +
+

Follow Us

+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - +
+

Company

+ +
+
+

Legal

+ +
+
+

Follow Us

+
+ + + + + + + + + + + +
+
+ + + + + + + + + - + - + - + - - - - - +
+

Company

+ +
+
+

Legal

+ +
+
+

Follow Us

+
+ + + + + + + + + + + +
+
+ + + + + + + + + - + - + - + - - - - - - - - - - - - +
+

Company

+ +
+
+

Legal

+ +
+
+

Follow Us

+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - - +
+

Company

+ +
+
+

Legal

+ +
+
+

Follow Us

+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - - + +
+

Company

+ +
+ +
+

Legal

+ +
+ +
+

Follow Us

+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - - +
+

Company

+ +
+
+

Legal

+ +
+
+

Follow Us

+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - - +
+

Company

+ +
+
+

Legal

+ +
+
+

Follow Us

+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - - + +
+

Company

+ +
+ +
+

Legal

+ +
+ +
+

Follow Us

+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - + - + - - - - - +
+

Company

+ +
+
+

Legal

+ +
+
+

Follow Us

+
+ + + + + + + + + + + +
+
+ + + + + + + + + - + - + - + - - - - - - +
+

Company

+ +
+ +
+

Legal

+ +
+ +
+

Follow Us

+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + - + - + - - - - - - + +
+

Company

+ +
+ +
+

Legal

+ +
+ +
+

Follow Us

+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - - +
+

Company

+ +
+
+

Legal

+ +
+
+

Follow Us

+
+ + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - +
+

Company

+ +
+
+

Legal

+ +
+
+

Follow Us

+
+ + + + + + + + + + + +
+
+ + + + + + + + + - + - + - + - - - - - - + +
+

Company

+ +
+ +
+

Legal

+ +
+ +
+

Follow Us

+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - - + +
+

Company

+ +
+ +
+

Legal

+ +
+ +
+

Follow Us

+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - - + +
+

Company

+ +
+ +
+

Legal

+ +
+ +
+

Follow Us

+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - - + +
+

Company

+ +
+ +
+

Legal

+ +
+ +
+

Follow Us

+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - - + +
+

Company

+ +
+ +
+

Legal

+ +
+ +
+

Follow Us

+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - +
+

Company

+ +
+
+

Legal

+ +
+
+

Follow Us

+
+ + + + + + + + + + + +
+
+ + + + + + + + + - + - + - + - - - - - - +
+

Company

+ +
+
+

Legal

+ +
+
+

Follow Us

+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - - + +
+

Company

+ +
+ +
+

Legal

+ +
+ +
+

Follow Us

+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - - - - - - - - - - - - - - + +
+

Company

+ +
+ +
+

Legal

+ +
+ +
+

Follow Us

+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - - +
+

Company

+ +
+
+

Legal

+ +
+
+

Follow Us

+
+ + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - - + +
+

Company

+ +
+ +
+

Legal

+ +
+ +
+

Follow Us

+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - - +
+

Company

+ +
+
+

Legal

+ +
+
+

Follow Us

+
+ + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - - + +
+

Company

+ +
+ +
+

Legal

+ +
+ +
+

Follow Us

+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - - + +
+

Company

+ +
+ +
+

Legal

+ +
+ +
+

Follow Us

+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - + - + - - - - - - +
+

Company

+ +
+
+

Legal

+ +
+
+

Follow Us

+
+ + + + + + +
+
+ + + + + + + + + + - + - + - - - - - - + +
+

Company

+ +
+ +
+

Legal

+ +
+ +
+

Follow Us

+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - - + +
+

Company

+ +
+ +
+

Legal

+ +
+ +
+

Follow Us

+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - - + +
+

Company

+ +
+ +
+

Legal

+ +
+ +
+

Follow Us

+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - - +
+

Company

+ +
+
+

Legal

+ +
+
+

Follow Us

+
+ + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - - +
+

Company

+ +
+
+

Legal

+ +
+
+

Follow Us

+
+ + + + + +
+
+ + + + + + + + + + - + - + - - - - - - + +
+

Company

+ +
+ +
+

Legal

+ +
+ +
+

Follow Us

+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - - +
+

Company

+ +
+
+

Legal

+ +
+
+

Follow Us

+
+ + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - - + +
+

Company

+ +
+ +
+

Legal

+ +
+ +
+

Follow Us

+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - - - - - - - - + +
+

Company

+ +
+ +
+

Legal

+ +
+ +
+

Follow Us

+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - - + +
+

Company

+ +
+ +
+

Legal

+ +
+ +
+

Follow Us

+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - - +
+

Company

+ +
+
+

Legal

+ +
+
+

Follow Us

+
+ + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - - +
+

Company

+ +
+
+

Legal

+ +
+
+

Follow Us

+
+ + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - - + +
+

Company

+ +
+ +
+

Legal

+ +
+ +
+

Follow Us

+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - - +
+

Company

+ +
+
+

Legal

+ +
+
+

Follow Us

+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - - +
+

Company

+ +
+
+

Legal

+ +
+
+

Follow Us

+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - +
+

Company

+ +
+
+

Legal

+ +
+
+

Follow Us

+
+ + + + + + + + + + + +
+
+ + + + + + + + + - + - + - + - - - - - +
+

Company

+ +
+
+

Legal

+ +
+
+

Follow Us

+
+ + + + + + + + + + + +
+
+ + + + + + + + + - + - + - + - + - + - - - - - - + +
+

Company

+ +
+ +
+

Legal

+ +
+ +
+

Follow Us

+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - - +
+

Company

+ +
+
+

Legal

+ +
+
+

Follow Us

+
+ + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - - +
+

Company

+ +
+
+

Legal

+ +
+
+

Follow Us

+
+ + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - - + +
+

Company

+ +
+ +
+

Legal

+ +
+ +
+

Follow Us

+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - +
+

Company

+ +
+
+

Legal

+ +
+
+

Follow Us

+
+ + + + + + + + + + + +
+
+ + + + + + + + + - + - + - + - - - - - - + +
+

Company

+ +
+ +
+

Legal

+ +
+ +
+

Follow Us

+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - - - - - - - - + +
+

Company

+ +
+ +
+

Legal

+ +
+ +
+

Follow Us

+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - + - + - - - - - - +
+

Company

+ +
+
+

Legal

+ +
+
+

Follow Us

+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - - + +
+

Company

+ +
+ +
+

Legal

+ +
+ +
+

Follow Us

+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - - +
+

Company

+ +
+
+

Legal

+ +
+
+

Follow Us

+
+ + + + + +
+
+ + + + + + + + + + - + - + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/pages/view-metadata.html b/src/pages/view-metadata.html index 08bcdb2..5ec0bc9 100644 --- a/src/pages/view-metadata.html +++ b/src/pages/view-metadata.html @@ -69,7 +69,7 @@
+
+ + + + + + + + - + - + - - - - - - + +
+

Company

+ +
+ +
+

Legal

+ +
+ +
+

Follow Us

+ +
+
+ + + + + + + + + - + - + - - - - - - + +
+

Company

+ +
+ +
+

Legal

+ +
+ +
+

Follow Us

+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - - + +
+

Company

+ +
+ +
+

Legal

+ +
+ +
+

Follow Us

+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - - + +
+

Company

+ +
+ +
+

Legal

+ +
+ +
+

Follow Us

+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - - - - - + +
+

Company

+ +
+ +
+

Legal

+ +
+ +
+

Follow Us

+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + - + - + - - + + - - - - - - + + + + + + @@ -131,7 +131,7 @@ diff --git a/tsconfig.json b/tsconfig.json index d01a318..47ac032 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,14 +6,12 @@ // "lib": ["ES2022", "DOM", "DOM.Iterable"], // "types": ["vite/client"], // "skipLibCheck": true, - // /* Bundler mode */ // "moduleResolution": "bundler", // "allowImportingTsExtensions": true, // "verbatimModuleSyntax": true, // "moduleDetection": "force", // "noEmit": true, - // /* Linting */ // "strict": true, // "noUnusedLocals": true, @@ -24,14 +22,20 @@ // }, // "include": ["src"] // } - { "compilerOptions": { "target": "ES2022", "module": "ESNext", - "lib": ["ES2022", "DOM", "DOM.Iterable", "WebWorker"], - "types": ["vite/client", "vitest/globals"], // Added vitest/globals - + "lib": [ + "ES2022", + "DOM", + "DOM.Iterable", + "WebWorker" + ], + "types": [ + "vite/client", + "vitest/globals" + ], // Added vitest/globals /* Easier module handling for Vite */ "moduleResolution": "bundler", "allowJs": true, @@ -39,29 +43,37 @@ "skipLibCheck": true, "noEmit": true, "allowImportingTsExtensions": true, - /* Disable strict checks for now */ "strict": false, "noUnusedLocals": false, "noUnusedParameters": false, "noFallthroughCasesInSwitch": false, "noUncheckedSideEffectImports": false, - /* Fix for ArrayBuffer type issues */ "noImplicitAny": false, - /* Quality-of-life options */ "isolatedModules": true, "esModuleInterop": true, "forceConsistentCasingInFileNames": true, "resolveJsonModule": true, - /* Path aliases (optional but helpful) */ "baseUrl": ".", "paths": { - "@/*": ["./src/*"] + "@/*": [ + "./src/*" + ], + "@/types": [ + "./src/js/types/index.ts" + ] } }, - "include": ["src", "src/**/*.ts", "public/workers"], // Updated to include all TS files - "exclude": ["node_modules", "dist"] -} + "include": [ + "src", + "src/**/*.ts", + "public/workers" + ], // Updated to include all TS files + "exclude": [ + "node_modules", + "dist" + ] +} \ No newline at end of file diff --git a/vite.config.ts b/vite.config.ts index 4029d5c..389f281 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -14,7 +14,7 @@ function pagesRewritePlugin(): Plugin { server.middlewares.use((req, res, next) => { const url = req.url?.split('?')[0] || ''; - const langMatch = url.match(/^\/(en|de|es|zh|vi)(\/.*)?$/); + const langMatch = url.match(/^\/(en|de|es|zh|vi|it)(\/.*)?$/); if (langMatch) { const lang = langMatch[1]; const restOfPath = langMatch[2] || '/'; @@ -352,7 +352,7 @@ export default defineConfig(({ mode }) => { 'pdf-to-csv': resolve(__dirname, 'src/pages/pdf-to-csv.html'), 'pdf-to-excel': resolve(__dirname, 'src/pages/pdf-to-excel.html'), 'pdf-to-text': resolve(__dirname, 'src/pages/pdf-to-text.html'), - + 'digital-sign-pdf': resolve(__dirname, 'src/pages/digital-sign-pdf.html'), }, }, },