Skip to content

Commit 8c3ddd3

Browse files
committed
feat: Enhance CommandPalette with new navigation options
- Added "Check out our Events" and "Laugh on Meme Gallery" options to the CommandPalette for improved user navigation. - Integrated Calendar and Image icons for the new options, enhancing visual representation.
1 parent 6c4abd0 commit 8c3ddd3

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

src/components/CommandPalette.tsx

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { CommandDialog, CommandDialogTitle, CommandEmpty, CommandGroup, CommandI
22
import { allEpisodes } from '@/server/data/episodes/episodes.data';
33
import { guests } from '@/server/data/guests/guests.data';
44
import { YOUTUBE_URL } from '@/utils/const';
5-
import { Headphones, Home, Mic, User, Youtube } from 'lucide-react';
5+
import { Calendar, Headphones, Home, Image, Mic, User, Youtube } from 'lucide-react';
66
import { useNavigate } from 'react-router-dom';
77

88
interface CommandPaletteProps {
@@ -42,6 +42,20 @@ export const CommandPalette = ({ open, onOpenChange }: CommandPaletteProps) => {
4242
action: () => navigate('/guests'),
4343
group: 'Navigation',
4444
},
45+
{
46+
id: 'events',
47+
label: 'Check out our Events',
48+
icon: Calendar,
49+
action: () => navigate('/events'),
50+
group: 'Navigation',
51+
},
52+
{
53+
id: 'memes',
54+
label: 'Laugh on Meme Gallery',
55+
icon: Image,
56+
action: () => navigate('/memes'),
57+
group: 'Navigation',
58+
},
4559
{
4660
id: 'wrapped',
4761
label: 'View Dev Wrapped',

0 commit comments

Comments
 (0)