mirror of
https://github.com/FranP-code/Reflecto.git
synced 2025-10-13 00:43:31 +00:00
feat: add navigation to space details on card click in SpacesGrid component
This commit is contained in:
@@ -109,6 +109,9 @@ export function SpacesGrid() {
|
|||||||
<Card
|
<Card
|
||||||
className="group cursor-pointer border-border/50 transition-all duration-200 hover:border-border hover:shadow-lg"
|
className="group cursor-pointer border-border/50 transition-all duration-200 hover:border-border hover:shadow-lg"
|
||||||
key={space.id}
|
key={space.id}
|
||||||
|
onClick={() => {
|
||||||
|
window.location.href = `/space?id=${space.id}`;
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
<CardHeader className="pb-3">
|
<CardHeader className="pb-3">
|
||||||
<div className="flex items-center justify-between">
|
<div className="flex items-center justify-between">
|
||||||
|
|||||||
Reference in New Issue
Block a user