Skip to content

Commit e4b68f3

Browse files
added a link to view event details
1 parent 936d070 commit e4b68f3

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

client/src/pages/home.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import Link from "next/link";
2+
13
import { useEvents } from "@/hooks/events";
24

35
import { Button } from "../components/ui/button";
@@ -32,7 +34,9 @@ export default function Home() {
3234
</CardContent>
3335

3436
<CardFooter className="flex-end flex-row justify-end gap-2">
35-
<Button>Signup</Button>
37+
<Button>
38+
<Link href={`/events/${event.id}`}>View Details</Link>
39+
</Button>
3640
<Button>Signup</Button>
3741
</CardFooter>
3842
</Card>

0 commit comments

Comments
 (0)