project modules: page-404.smart
404
Page Not Found
Sorry, the page you were looking for cannot be found.
Here are some suggestions that might be the page you were looking for:
- item_one
- item_two
Or try searching for it here...
page-404 README
This needs docs!
Create a README.md in the pattern's directory and add details about using this pattern in markdown.
page-404 Twig The markup file.
<section class="u-background-color-brand-secondary lrv-u-text-align-center lrv-u-padding-t-1 lrv-u-padding-b-2 lrv-u-margin-b-2">
<div class="u-max-width-500 lrv-u-margin-lr-auto lrv-u-padding-lr-1 u-padding-tb-4">
{% if c_heading %}
{% include "@larva/components/c-heading/c-heading.twig" with c_heading %}
{% endif %}
{% if c_title %}
{% include "@larva/components/c-title/c-title.twig" with c_title %}
{% endif %}
{% if c_tagline %}
{% include "@larva/components/c-tagline/c-tagline.twig" with c_tagline %}
{% endif %}
{% if c_button %}
{% include "@larva/components/c-button/c-button.twig" with c_button %}
{% endif %}
{% if c_suggestion_title %}
{% include "@larva/components/c-title/c-title.twig" with c_suggestion_title %}
{% endif %}
{% if suggested_link_items %}
{% include "@larva/modules/list/list.twig" with suggested_link_items %}
{% endif %}
{% if c_search_title %}
{% include "@larva/components/c-title/c-title.twig" with c_search_title %}
{% endif %}
{% if search_form %}
{% include "@larva/modules/search-form/search-form.twig" with search_form %}
{% endif %}
</div>
</section>
page-404.smart JSON The data object for this pattern.
{
"c_heading": {
"c_heading_classes": "lrv-u-font-size-86 lrv-u-font-family-primary lrv-u-font-weight-bold lrv-u-line-height-small u-letter-spacing-012",
"c_heading_id_attr": "section-heading",
"c_heading_text": "404",
"c_heading_url": "",
"c_heading_link_classes": "",
"c_heading_outer": false,
"c_heading_outer_classes": "",
"c_heading_is_primary_heading": false
},
"c_suggestion_title": {
"c_title_classes": "lrv-u-text-align-left lrv-u-margin-b-075",
"c_title_tag_text": "",
"c_title_id_attr": "title-of-a-story",
"c_title_text": "Here are some suggestions that might be the page you were looking for:",
"c_title_markup": "",
"c_title_link_classes": "",
"c_title_url": false
},
"c_search_title": {
"c_title_classes": "lrv-u-text-align-left",
"c_title_tag_text": "",
"c_title_id_attr": "title-of-a-story",
"c_title_text": "Or try searching for it here...",
"c_title_markup": "",
"c_title_link_classes": "",
"c_title_url": false
},
"c_tagline": {
"c_tagline_classes": "lrv-u-margin-tb-2 lrv-u-font-family-secondary lrv-u-font-size-32",
"c_tagline_text": "Sorry, the page you were looking for cannot be found."
},
"c_title": {
"c_title_classes": "lrv-u-font-family-primary lrv-u-font-size-20 lrv-u-font-weight-bold lrv-u-text-transform-uppercase",
"c_title_tag_text": "",
"c_title_id_attr": "title-of-a-story",
"c_title_text": "Page Not Found",
"c_title_markup": "",
"c_title_link_classes": "",
"c_title_url": false
},
"suggested_link_items": {
"list_classes": "lrv-u-text-align-left lrv-u-padding-b-1",
"list_markup": "Paragraph Text.",
"list_type_name": "u",
"list_items": [
{
"list_markup": "item_one"
},
{
"list_markup": "item_two"
}
],
"list_item_classes": ""
}
}