Home Page
HomePageNewRestaurants
4-column grid of the newest restaurant additions.
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
<XRdHomePageNewRestaurants />
Four-column grid (responsive) of the most recently added restaurants. Includes a "View All" link.
<XRdHomePageNewRestaurants :restaurants="newestRestaurants" />
Props
| Prop | Type | Default | Description |
|---|---|---|---|
restaurants | array | [] | Array of newest restaurant objects |
AI Context
category: HomePage
package: "@xenterprises/nuxt-x-restaurants"
components:
- XRdHomePageNewRestaurants
use-when: >
Displaying a 4-column responsive grid of the newest restaurant additions
on the restaurant directory home page.
typical-page-section: New additions section on the home page.
