Profile
ProfileContact
Full contact and business info section with address, phone, email, website, and hours grid.
Profile
Profile components build the restaurant detail pages.
Components
<XRdProfileContact />
Full contact section displayed in a 3-column grid. Includes address with Google Maps directions link, phone, email, website, and a full opening hours table. Derives a Google Maps directions URL from location fields.
<XRdProfileContact :restaurant="restaurant" />
Props
| Prop | Type | Default | Description |
|---|---|---|---|
restaurant | Restaurant | null | required | Restaurant with location, phoneNumber, email, website, openingHours |
AI Context
category: Profile
package: "@xenterprises/nuxt-x-restaurants"
components:
- XRdProfileContact
use-when: >
Rendering the full contact section on a restaurant profile page in a
3-column grid with address, phone, email, website, and opening hours.
typical-page-section: Contact section on the restaurant profile overview sub-page.
