Skip to content

Marketing site

  • the Site module enabled and a site created
  • the site key
  • the domain or preview address filled in on the site page

Paste it after the base prompt, then add Design without the AI look.

Build a marketing site on the Rivil Site module.
Content:
- Read GET /api/site/v1/types, /taxonomies, /menus and /settings.
- A new site is empty. If a type or field is missing, propose it (key, label, fields, taxonomies) and give me the ERP steps under Site. Continue after I confirm.
- Typical types: page, service, article, project, team member, FAQ. Pick only what makes sense for my business.
- Page copy comes from Site. Only interface labels live in code.
Pages: home, services (list and detail), about, contact, blog if I have articles, 404.
Contact form:
- POST /api/site/v1/forms/contact from a server route, with { name, email, phone, message, page, source, consent, website }.
- Validate in the page and on the server, show success and error messages, no reload if possible.
SEO:
- unique title and description, canonical, Open Graph, structured data (Organization, LocalBusiness or Article).
- sitemap from GET /sitemap, redirects from GET /redirects.
- Images with width, height, srcset and alt from the Gallery.
Freshness: a webhook on content.* that purges the cache.
Performance:
- Cache content for one minute, purged by content.*.
- Forms and heavy components start on first touch or after a few seconds; a click made meanwhile is replayed.
- No animation on the H1 or first paragraph.