Intro
By default there are 4 pre-defined pages which you can update inPageSeeder.php
:
- Privacy Policy
- Terms of Service
- Cookie Policy
- Licenses
route_name
and group
attributes must be unique):
- title: Page title.
- url_path: Unique. URL path of the page.
- route_name: Route name (Laravel named routes).
- content: HTML content of the page.
- group: Optional. Defaults to
legal
. Does not affect the URL.
about
, first you need to add them as enum in app/Enums/PageGroup.php
: