feat(tools): new badge for recently created tools

This commit is contained in:
Corentin Thomasset 2022-06-01 23:52:21 +02:00
parent ac89490794
commit 11720e6cde
No known key found for this signature in database
GPG key ID: DBD997E935996158
33 changed files with 320 additions and 100 deletions

View file

@ -1,7 +1,7 @@
import { DeviceDesktop } from '@vicons/tabler';
import type { ITool } from '../tool';
import { defineTool } from '../tool';
export const tool: ITool = {
export const tool = defineTool({
name: 'Device information',
path: '/device-information',
description: 'Get information about your current device (screen size, pixel-ratio, user agent, ...)',
@ -20,4 +20,4 @@ export const tool: ITool = {
],
component: () => import('./device-information.vue'),
icon: DeviceDesktop,
};
});