mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-09 07:03:25 +00:00
feat: recreate dashboard page from previous version
This commit is contained in:
19
app/constants/keys.ts
Normal file
19
app/constants/keys.ts
Normal 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;
|
||||
Reference in New Issue
Block a user