feat: recreate dashboard page from previous version

This commit is contained in:
Sonny
2024-05-03 02:10:15 +02:00
committed by Sonny
parent 2cc490b611
commit 2cf8c5ae02
66 changed files with 2087 additions and 86 deletions

19
app/constants/keys.ts Normal file
View File

@@ -0,0 +1,19 @@
const OPEN_SEARCH_KEY = 's';
const ESCAPE_KEY = 'escape';
const OPEN_CREATE_LINK_KEY = 'l';
const OPEN_CREATE_COLLECTION_KEY = 'c';
const ARROW_UP = 'ArrowUp';
const ARROW_DOWN = 'ArrowDown';
const KEYS = {
ARROW_DOWN,
ARROW_UP,
ESCAPE_KEY,
OPEN_CREATE_COLLECTION_KEY,
OPEN_CREATE_LINK_KEY,
OPEN_SEARCH_KEY,
};
export default KEYS;