diff --git a/src/plugins/naive.plugin.ts b/src/plugins/naive.plugin.ts
index 68d2036f..0896e51f 100644
--- a/src/plugins/naive.plugin.ts
+++ b/src/plugins/naive.plugin.ts
@@ -46,9 +46,11 @@ import {
NDivider,
NStatistic,
NTable,
+ NUploadDragger,
} from 'naive-ui';
const components = [
+ NUploadDragger,
NTable,
NStatistic,
NDivider,
diff --git a/src/tools/base64-converter/base64-converter.service.test.ts b/src/tools/base64-converter/base64-converter.service.test.ts
new file mode 100644
index 00000000..36ca080f
--- /dev/null
+++ b/src/tools/base64-converter/base64-converter.service.test.ts
@@ -0,0 +1,6 @@
+import { expect, describe, it } from 'vitest';
+// import { } from './base64-converter.service';
+//
+// describe('base64-converter', () => {
+//
+// })
\ No newline at end of file
diff --git a/src/tools/base64-converter/base64-converter.service.ts b/src/tools/base64-converter/base64-converter.service.ts
new file mode 100644
index 00000000..e69de29b
diff --git a/src/tools/base64-converter/base64-converter.vue b/src/tools/base64-converter/base64-converter.vue
new file mode 100644
index 00000000..3354cc40
--- /dev/null
+++ b/src/tools/base64-converter/base64-converter.vue
@@ -0,0 +1,66 @@
+
+
+
+
+
+ Copy
+
+
+
+
+
+
+
+
+
+
+ Click or drag a file to this area to upload
+
+
+
+
+
+
+ Copy
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/tools/base64-converter/index.ts b/src/tools/base64-converter/index.ts
new file mode 100644
index 00000000..5f3021a0
--- /dev/null
+++ b/src/tools/base64-converter/index.ts
@@ -0,0 +1,11 @@
+import { FileDigit } from '@vicons/tabler';
+import type { ITool } from './../Tool';
+
+export const tool: ITool = {
+ name: 'Base64 converter',
+ path: '/base64-converter',
+ description: "Convert string, files or images into a it's base64 representation.",
+ keywords: ['base64', 'converter', 'upload', 'image', 'file', 'convertion', 'web', 'data', 'format'],
+ component: () => import('./base64-converter.vue'),
+ icon: FileDigit,
+};
diff --git a/src/tools/index.ts b/src/tools/index.ts
index 17f73592..86116c64 100644
--- a/src/tools/index.ts
+++ b/src/tools/index.ts
@@ -1,6 +1,7 @@
import { LockOpen } from '@vicons/tabler';
import type { ToolCategory } from './Tool';
+import { tool as base64Converter } from './base64-converter';
import { tool as crontabGenerator } from './crontab-generator';
import { tool as textStatistics } from './text-statistics';
import { tool as tokenGenerator } from './token-generator';
@@ -25,7 +26,7 @@ export const toolsByCategory: ToolCategory[] = [
{
name: 'Converter',
icon: LockOpen,
- components: [dateTimeConverter, baseConverter, romanNumeralConverter],
+ components: [dateTimeConverter, baseConverter, romanNumeralConverter, base64Converter],
},
{
name: 'Web',