Skip to content

Commit

Permalink
Merge pull request #198 from yalesites-org/develop
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
vinmassaro authored Jan 17, 2024
2 parents d83d9d9 + 2516f1e commit 0c528f4
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 6 deletions.
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{% extends "@atomic/block/layout-builder/_layout-builder-block-template.twig" %}

{% block content %}

{% embed "@molecules/content-spotlight-portrait/yds-content-spotlight-portrait.twig" with {
content_spotlight_portrait__heading: content.field_heading,
content_spotlight_portrait__subheading: content.field_subheading,
content_spotlight_portrait__text: content.field_text,
content_spotlight_portrait__link__content: content.field_link.0['#title'],
content_spotlight_portrait__link__url: content.field_link.0['#url_title'],
content_spotlight_portrait__style: content.field_style_variation.0['#markup'],
content_spotlight_portrait__position: content.field_style_position.0['#markup'],
content_spotlight_portrait__theme: content.field_style_color.0['#markup'],
}%}

{% block content_spotlight_portrait__image %}
{{ content.field_media }}
{% endblock %}
{% endembed %}
{% endblock %}
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
text_with_image__focus: content.field_style_variation.0['#markup'],
text_with_image__position: content.field_style_position.0['#markup'],
text_with_image__width: content.field_style_width.0['#markup'],
text_with_image__theme: content.field_style_color.0['#markup'],
} %}

{% block text_with_image__image %}
Expand Down

0 comments on commit 0c528f4

Please sign in to comment.