diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx
index a98f774..8a1b9e2 100644
--- a/frontend/src/App.tsx
+++ b/frontend/src/App.tsx
@@ -40,7 +40,7 @@ const App: React.FC = () => {
} />
} />
- } />
+ } />
diff --git a/frontend/src/components/EventList.tsx b/frontend/src/components/EventList.tsx
index 303968a..62b17ef 100644
--- a/frontend/src/components/EventList.tsx
+++ b/frontend/src/components/EventList.tsx
@@ -16,6 +16,7 @@ interface Event {
description: string;
date: string;
location: string;
+ slug: string;
}
const EventList: React.FC = () => {
@@ -35,6 +36,10 @@ const EventList: React.FC = () => {
}
};
+ const handleEventClick = (event: Event) => {
+ navigate(`/events/${event.slug}/rsvp`);
+ };
+
return (
@@ -53,7 +58,15 @@ const EventList: React.FC = () => {
{events.map((event) => (
-
+ handleEventClick(event)}
+ sx={{
+ cursor: 'pointer',
+ '&:hover': {
+ boxShadow: 6,
+ }
+ }}
+ >
{event.title}