Skip to content

Commit

Permalink
UHF-9132: Improve readability of component classes templates
Browse files Browse the repository at this point in the history
  • Loading branch information
teroelonen committed Dec 1, 2023
1 parent 6120932 commit ef103d8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{% block paragraph %}
{% embed "@hdbt/misc/component.twig" with
{
component_classes: [ 'component--full-width', 'component--district-listing' ],
component_classes: [
'component--full-width',
'component--district-listing'
],
component_title: content.field_district_list_title,
component_description: content.field_district_list_description,
component_content_class: 'district-listing',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{% block paragraph %}
{% embed "@hdbt/misc/component.twig" with
{
component_classes: [ 'component--full-width', 'component--list-of-plans' ],
component_classes: [
'component--full-width',
'component--list-of-plans'
],
component_title: title,
component_description: description,
component_content_class: 'list-of-plans',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{% block paragraph %}
{% embed "@hdbt/misc/component.twig" with
{
component_classes: [ 'component--full-width', 'component--project-list' ],
component_classes: [
'component--full-width',
'component--project-list'
],
component_title: content.field_project_list_title,
component_description: content.field_project_list_description,
component_content_class: 'project-list',
Expand Down

0 comments on commit ef103d8

Please sign in to comment.