mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-30 17:10:42 +03:00
* Added color to component group when a tool inside that group is currently selected, and changed resistor-calculator icon from a hammer to the omega icon * - Added scrollto functionality for active tool in sidebar - Improved icon diversity and correctness for multiple tools * - Changed scrollto behaviour to trigger on mount and on url path change - Restored the IT-Tools banner to stick to the top of the screen while scrolling * Swapped nextTick for setTimeout to fix a delay issue where it didn't scroll to the active tool * Reduced bottom padding of sidebar to fix an issue where the sidebar was scrollable with all categories closed Fix #298 --------- Co-authored-by: ShareVB <sharevb@gmail.com>
16 lines
511 B
TypeScript
16 lines
511 B
TypeScript
import { translate as t } from '@/plugins/i18n.plugin';
|
|
import { Language } from '@vicons/tabler';
|
|
import { defineTool } from '../tool';
|
|
|
|
export const tool = defineTool({
|
|
name: t('tools.translator.title'),
|
|
path: '/translator',
|
|
description: t('tools.translator.description'),
|
|
keywords: ['translate', 'language'],
|
|
component: () => import('./translator.vue'),
|
|
icon: Language,
|
|
createdAt: new Date('2025-08-15'),
|
|
category: 'Text',
|
|
externAccessDescription: t('tools.translator.externalAccess'),
|
|
});
|