Skip to content

Commit 52de00c

Browse files
changed nesting of button in home to ensure you can click anywhere
1 parent c2278e5 commit 52de00c

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

client/src/pages/home.tsx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,14 @@ export default function Home() {
3838
</CardContent>
3939

4040
<CardFooter className="flex-end flex-row justify-center gap-2">
41-
<Button className="w-full rounded-full">
42-
<Link href={`/events/${event.id}`}>View Details</Link>
43-
</Button>
44-
<Button className="rounded-full">Signup</Button>
41+
<Link href={`/events/${event.id}`} className="w-full">
42+
<Button className="w-full rounded-full">
43+
View Details
44+
</Button>
45+
</Link>
46+
<Link href={`/events/${event.id}`}>
47+
<Button className="rounded-full">Signup</Button>
48+
</Link>
4549
</CardFooter>
4650
</Card>
4751
))}

server/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dependencies = [
1313
"python-dotenv~=1.0",
1414
"psycopg[binary,pool]~=3.2.13",
1515
"djangorestframework-simplejwt>=5.5.1",
16-
"pillow"
16+
"pillow",
1717
]
1818

1919
[dependency-groups]

0 commit comments

Comments
 (0)