Home Page
HomePagePopularThisWeek
3-column grid of trending restaurants this week.
HomePage
These components compose the restaurant directory's landing page. The listing grids (FeaturedRestaurants, PopularThisWeek, NewRestaurants) each accept a restaurants array from the page's async data calls.
Components
<XRdHomePagePopularThisWeek />
Three-column grid of trending restaurants using XRdProfileCard. Includes a "View All" link to /restaurants.
<XRdHomePagePopularThisWeek :restaurants="popularRestaurants" />
Props
| Prop | Type | Default | Description |
|---|---|---|---|
restaurants | array | [] | Array of trending restaurant objects |
AI Context
category: HomePage
package: "@xenterprises/nuxt-x-restaurants"
components:
- XRdHomePagePopularThisWeek
use-when: >
Displaying a 3-column grid of trending restaurants on the restaurant
directory home page with a "View All" link.
typical-page-section: Trending listings section on the home page.
