From a59db41dc5eaa7be5ab86c5cc407274eb7b57dfe Mon Sep 17 00:00:00 2001 From: MAZE Date: Tue, 3 Sep 2024 18:30:24 +0330 Subject: [PATCH] feat: change and add shortcuts --- src/components/modals/shortcuts/shortcuts.tsx | 24 +++++++++++++++++-- src/components/toolbar/menu/items/presets.tsx | 2 +- .../toolbar/menu/items/sleep-timer.tsx | 2 +- 3 files changed, 24 insertions(+), 4 deletions(-) diff --git a/src/components/modals/shortcuts/shortcuts.tsx b/src/components/modals/shortcuts/shortcuts.tsx index ff2cee6..0c2d800 100644 --- a/src/components/modals/shortcuts/shortcuts.tsx +++ b/src/components/modals/shortcuts/shortcuts.tsx @@ -14,7 +14,7 @@ export function ShortcutsModal({ onClose, show }: ShortcutsModalProps) { label: 'Shortcuts List', }, { - keys: ['Shift', 'P'], + keys: ['Shift', 'Alt', 'P'], label: 'Presets', }, { @@ -22,9 +22,29 @@ export function ShortcutsModal({ onClose, show }: ShortcutsModalProps) { label: 'Share Sounds', }, { - keys: ['Shift', 'T'], + keys: ['Shift', 'Alt', 'T'], label: 'Sleep Timer', }, + { + keys: ['Shift', 'C'], + label: 'Countdown Timer', + }, + { + keys: ['Shift', 'P'], + label: 'Pomodoro', + }, + { + keys: ['Shift', 'N'], + label: 'Notepad', + }, + { + keys: ['Shift', 'T'], + label: 'Todo Checklist', + }, + { + keys: ['Shift', 'B'], + label: 'Breathing Exercise', + }, { keys: ['Shift', 'Space'], label: 'Toggle Play', diff --git a/src/components/toolbar/menu/items/presets.tsx b/src/components/toolbar/menu/items/presets.tsx index b3dd51c..a78b17d 100644 --- a/src/components/toolbar/menu/items/presets.tsx +++ b/src/components/toolbar/menu/items/presets.tsx @@ -11,7 +11,7 @@ export function Presets({ open }: PresetsProps) { } label="Your Presets" - shortcut="Shift + P" + shortcut="Shift + Alt + P" onClick={open} /> ); diff --git a/src/components/toolbar/menu/items/sleep-timer.tsx b/src/components/toolbar/menu/items/sleep-timer.tsx index 18fead6..0ecfa9b 100644 --- a/src/components/toolbar/menu/items/sleep-timer.tsx +++ b/src/components/toolbar/menu/items/sleep-timer.tsx @@ -15,7 +15,7 @@ export function SleepTimer({ open }: SleepTimerProps) { active={active} icon={} label="Sleep Timer" - shortcut="Shift + T" + shortcut="Shift + Alt + T" onClick={open} /> );