auth
Information
- Folder
src/components/templates/auth
Files
Schema
$schema: http://json-schema.org/draft-07/schema
$id: /templates/auth
additionalProperties: false
type: object
required:
- content
properties:
content:
type: string
format: html
description: template-components/content
header:
type: string
format: html
description: template-components/header
footer:
type: string
format: html
description: template-components/footer
Mocks
content:
$render:
- $tpl: template-components/auth
$ref: template-components/auth
header:
$tpl: template-components/header
$ref: template-components/header
footer:
$tpl: template-components/footer
$ref: template-components/footer
Template
<div class="Template">
<a class="Template-skip u-hiddenVisually--focusVisible" href="#content">{{ "Skip to main content"|t }}</a>
{%- if header -%}
<div class="Template-header">
{{ header|raw }}
</div>
{%- endif -%}
<div class="Template-main u-container u-container--sm" id="content">
{{ content|raw }}
</div>
{%- if footer -%}
<div class="Template-footer">
{{ footer|raw }}
</div>
{%- endif -%}
</div>
Variants