X Enterprises
Pages

Home

The homepage at / — hero, featured restaurants, new arrivals, popular picks, special offers, stories, local dining guide, and FAQ.

Home

The root route renders the full homepage experience. It composes all XRDHomePage* section components in a vertically stacked layout driven by app.config.ts content configuration.

Route

/

Components Used

ComponentRole
XRDHomePageHeroFull-width hero banner with title, description, and background image.
XRDHomePageFeaturedRestaurantsHorizontally scrolling or grid of featured restaurants.
XRDHomePageNewRestaurantsRecently added restaurants section.
XRDHomePagePopularThisWeekPopularity-ranked restaurant highlights.
XRDHomePageSpecialOffersPromotional offers section.
XRDHomePageLatestStoriesLatest blog/article previews.
XRDHomePageLocalDiningGuideEditorial dining guide content block.
XRDHomePageShowcaseVisual showcase / spotlight section.
XRDHomePageGridGrid layout of additional restaurant cards.
XRDHomePageStatsSite-wide statistics (restaurants, reviews, etc.).
XRDHomePageTestimonialsUser testimonials carousel or grid.
XRDHomePageFAQFrequently asked questions accordion.
XRDHomePageFeaturesFeature highlights / selling points section.

Data Fetching

Homepage data is fetched via useDomain() methods (getRestaurantsFeatured, getRestaurantsNew, getRestaurantsRandom, getRestaurantsTopRated) wrapped in useAsyncData calls. Hero text and section titles come from appConfig.xRestaurants.homePage.


AI Context

route: /
package: "@xenterprises/nuxt-x-restaurants"
use-when: >
  Rendering the site homepage. All section content and copy is configured
  via appConfig.xRestaurants.homePage. Data is fetched from the API using
  useDomain() featured/new/random/top-rated methods.
Copyright © 2026