mirror of
https://github.com/CorentinTh/it-tools.git
synced 2024-11-10 09:13:50 +08:00
feat(command-palette): added about page in command palette
This commit is contained in:
parent
cc3425dc77
commit
99b1eb944d
1 changed files with 9 additions and 0 deletions
|
@ -9,6 +9,7 @@ import SunIcon from '~icons/mdi/white-balance-sunny';
|
|||
import GithubIcon from '~icons/mdi/github';
|
||||
import BugIcon from '~icons/mdi/bug-outline';
|
||||
import DiceIcon from '~icons/mdi/dice-5';
|
||||
import InfoIcon from '~icons/mdi/information-outline';
|
||||
|
||||
export const useCommandPaletteStore = defineStore('command-palette', () => {
|
||||
const toolStore = useToolStore();
|
||||
|
@ -61,6 +62,14 @@ export const useCommandPaletteStore = defineStore('command-palette', () => {
|
|||
keywords: ['report', 'issue', 'bug', 'problem', 'error'],
|
||||
icon: BugIcon,
|
||||
},
|
||||
{
|
||||
name: 'About',
|
||||
description: 'Learn more about IT-Tools.',
|
||||
to: '/about',
|
||||
category: 'Pages',
|
||||
keywords: ['about', 'learn', 'more', 'info', 'information'],
|
||||
icon: InfoIcon,
|
||||
},
|
||||
];
|
||||
|
||||
const { searchResult } = useFuzzySearch({
|
||||
|
|
Loading…
Reference in a new issue