diff --git a/src/tools/geo-distance-calculator/geo-distance-calculator.vue b/src/tools/geo-distance-calculator/geo-distance-calculator.vue new file mode 100644 index 000000000..b2daf070d --- /dev/null +++ b/src/tools/geo-distance-calculator/geo-distance-calculator.vue @@ -0,0 +1,72 @@ + + + diff --git a/src/tools/geo-distance-calculator/index.ts b/src/tools/geo-distance-calculator/index.ts new file mode 100644 index 000000000..0babbb4eb --- /dev/null +++ b/src/tools/geo-distance-calculator/index.ts @@ -0,0 +1,12 @@ +import { WorldLatitude } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'Geo distance calculator', + path: '/geo-distance-calculator', + description: 'Compute distance between two geo location (and display current user location information)', + keywords: ['geo', 'distance', 'calculator'], + component: () => import('./geo-distance-calculator.vue'), + icon: WorldLatitude, + createdAt: new Date('2025-01-01'), +}); diff --git a/src/tools/index.ts b/src/tools/index.ts index 388cfaf49..4636ea1e6 100644 --- a/src/tools/index.ts +++ b/src/tools/index.ts @@ -2,6 +2,7 @@ import { tool as base64FileConverter } from './base64-file-converter'; import { tool as base64StringConverter } from './base64-string-converter'; import { tool as basicAuthGenerator } from './basic-auth-generator'; import { tool as emailNormalizer } from './email-normalizer'; +import { tool as geoDistanceCalculator } from './geo-distance-calculator'; import { tool as asciiTextDrawer } from './ascii-text-drawer'; @@ -172,7 +173,12 @@ export const toolsByCategory: ToolCategory[] = [ }, { name: 'Measurement', - components: [chronometer, temperatureConverter, benchmarkBuilder], + components: [ + chronometer, + temperatureConverter, + benchmarkBuilder, + geoDistanceCalculator, + ], }, { name: 'Text',