feat: add "goto create link/category" keybinds

This commit is contained in:
Sonny
2023-04-23 20:44:47 +02:00
parent ab462aafd4
commit 935b69eee8
5 changed files with 42 additions and 31 deletions

View File

@@ -51,8 +51,12 @@ function MenuControls({
return (
<div className={styles["menu-controls"]}>
<LinkTag href={"/category/create"}>Créer categorie</LinkTag>
<LinkTag href={"/category/create"}>
Créer categorie <kbd>C</kbd>
</LinkTag>
<LinkTag href={`/link/create?categoryId=${categoryActive.id}`}>
Créer lien
Créer lien <kbd>L</kbd>
</LinkTag>
</div>
);