Profile
ProfileSidebar
Right sidebar with location/contact info, reservation CTA, and share button.
Profile
Profile components build the restaurant detail pages.
Components
<XRdProfileSidebar />
Right-column sidebar with the full address, phone, email, website, and conditional CTA buttons (Make a Reservation, Order Online). Reads restaurant.acceptsReservations and restaurant.reservationUrl to control the reservation button.
<XRdProfileSidebar :restaurant="restaurant" />
Props
| Prop | Type | Default | Description |
|---|---|---|---|
restaurant | Restaurant | required | Full restaurant object including location, phoneNumber, email, website, acceptsReservations, reservationUrl |
AI Context
category: Profile
package: "@xenterprises/nuxt-x-restaurants"
components:
- XRdProfileSidebar
use-when: >
Rendering the right-column sidebar on a restaurant profile page with
address, contact info, and conditional reservation/order CTA buttons.
typical-page-section: Right sidebar column on the restaurant profile page.
