File tree Expand file tree Collapse file tree
client/src/pages/events/[id] Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ import Link from "next/link" ;
12import { useRouter } from "next/router" ;
23
4+ import { Button } from "@/components/ui/button" ;
5+ import ActionLayout from "@/pages/layouts/actionlayout" ;
6+
37export default function ParticipantsPage ( ) {
48 const router = useRouter ( ) ;
59 const { id } = router . query ;
610
7- return < div > Participants for event { id } </ div > ;
11+ return (
12+ < >
13+ < ActionLayout
14+ secondaryAction = {
15+ < Button
16+ variant = "outline"
17+ className = "flex-1 rounded-full"
18+ onClick = { ( ) => router . back ( ) }
19+ >
20+ Back
21+ </ Button >
22+ }
23+ primaryAction = {
24+ < Link href = { "/events/" + id + "/participants" } className = "flex-1" >
25+ < Button className = "w-full rounded-full" > Unused Button</ Button >
26+ </ Link >
27+ }
28+ >
29+ < div > Participants for event { id } </ div >
30+ </ ActionLayout >
31+ </ >
32+ ) ;
833}
You can’t perform that action at this time.
0 commit comments