Comment out RSVP section and update Gift Registry text
The RSVP section is now commented out, removing its visibility from the page. Additionally, the text and button for the Gift Registry section have been updated to better reflect its purpose, allowing users to manage and edit the registry.
This commit is contained in:
@@ -312,34 +312,34 @@ export default function EventDetailPage() {
|
|||||||
</CardContent>
|
</CardContent>
|
||||||
</Card>
|
</Card>
|
||||||
|
|
||||||
{event.rsvp_enabled && (
|
{/*{event.rsvp_enabled && (*/}
|
||||||
<Card>
|
{/* <Card>*/}
|
||||||
<CardHeader>
|
{/* <CardHeader>*/}
|
||||||
<CardTitle>RSVP</CardTitle>
|
{/* <CardTitle>RSVP</CardTitle>*/}
|
||||||
<CardDescription>
|
{/* <CardDescription>*/}
|
||||||
Let the host know if you'll be attending
|
{/* Let the host know if you'll be attending*/}
|
||||||
</CardDescription>
|
{/* </CardDescription>*/}
|
||||||
</CardHeader>
|
{/* </CardHeader>*/}
|
||||||
<CardFooter>
|
{/* <CardFooter>*/}
|
||||||
<Button asChild className="w-full">
|
{/* <Button asChild className="w-full">*/}
|
||||||
<Link href={`/events/${event.slug}/rsvp`}>RSVP Now</Link>
|
{/* <Link href={`/events/${event.slug}/rsvp`}>RSVP Now</Link>*/}
|
||||||
</Button>
|
{/* </Button>*/}
|
||||||
</CardFooter>
|
{/* </CardFooter>*/}
|
||||||
</Card>
|
{/* </Card>*/}
|
||||||
)}
|
{/*)}*/}
|
||||||
|
|
||||||
{event.gift_registry_enabled && (
|
{event.gift_registry_enabled && (
|
||||||
<Card>
|
<Card>
|
||||||
<CardHeader>
|
<CardHeader>
|
||||||
<CardTitle>Gift Registry</CardTitle>
|
<CardTitle>Gift Registry</CardTitle>
|
||||||
<CardDescription>
|
<CardDescription>
|
||||||
View gift suggestions for this event
|
Manage gift suggestions for this event
|
||||||
</CardDescription>
|
</CardDescription>
|
||||||
</CardHeader>
|
</CardHeader>
|
||||||
<CardFooter>
|
<CardFooter>
|
||||||
<Button variant="outline" asChild className="w-full">
|
<Button variant="outline" asChild className="w-full">
|
||||||
<Link href={`/events/${event.slug}/gifts`}>
|
<Link href={`/events/${event.slug}/gifts`}>
|
||||||
View Gift Registry
|
Edit Gift Registry
|
||||||
</Link>
|
</Link>
|
||||||
</Button>
|
</Button>
|
||||||
</CardFooter>
|
</CardFooter>
|
||||||
|
|||||||
Reference in New Issue
Block a user