X Enterprises
Pages

Utility Pages

Supplementary routes — /popular, /explore, /about, /contact, /list-restaurant, /privacy, /terms, /sitemap, plus the /popular/:slug redirect.

Utility Pages

Supplementary pages that round out the directory experience. Most are standalone routes; /explore and /popular/:slug are 301 redirects.

Routes

RouteTypeDescription
/popularPageCurated list of the most popular restaurants.
/popular/:slugRedirect301 → /restaurants/:slug (consolidated profile).
/exploreRedirect301 → /restaurants.
/aboutPageStatic informational page about the directory.
/contactPageContact information page.
/list-restaurantPageLanding page for restaurant owners — submission tiers, criteria, FAQ.
/privacyContentPrivacy policy (Nuxt Content misc collection).
/termsContentTerms of service (Nuxt Content misc collection).
/sitemapPageHTML sitemap of all routes.

Components Used

ComponentRole
XRDProfileCardRestaurant card rendered for each popular result.
XRDStarRatingRating display within each card.
XRDFilters*Optional filter panel — when present, the listing reacts to the shared useRestaurantFilters() state.

/about

Static content page using UPage, UPageHeader, UPageBody, and UCard from @nuxt/ui. Brand name is read from appConfig.xRestaurants.name. No XRD-prefixed components are required.

/contact

Contact information page (built on @nuxt/ui primitives). No XRD-prefixed components are required.

/list-restaurant

Self-contained landing page with three listing tiers (Basic free, Featured $49/mo, Premium $149/mo), editorial criteria, and a 6-question FAQ accordion. The page does not currently wire the form to an API — submissions are routed to the /contact page. The useDomain().suggestRestaurant(body) composable method is available if you want to implement form submission.

Data Fetching

RouteData source
/popularuseDomain().getRestaurantsTopRated() via useAsyncData. May also use useRestaurantFilters() for filterable results.
/aboutNo API calls — static content.
/contactNo API calls.
/list-restaurantNo read fetching on load. suggestRestaurant() is available for submission.
/privacy / /termsNuxt Content misc collection.
/sitemapStatic HTML.

AI Context

routes:
  - /popular
  - /popular/:slug  (redirect)
  - /explore  (redirect)
  - /about
  - /contact
  - /list-restaurant
  - /privacy
  - /terms
  - /sitemap
package: "@xenterprises/nuxt-x-restaurants"
use-when: >
  Rendering any supplementary directory route. /popular lists top-rated
  restaurants, /about and /contact are static brand pages, /list-restaurant
  is a restaurant-owner landing page, /privacy and /terms pull from Nuxt
  Content, /sitemap is a static HTML index. /explore and /popular/:slug
  are 301 redirects used as legacy entry points.
Copyright © 2026