-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
health services component migration (#2090)
* health services component migration * retrigger checks * PR feedback
- Loading branch information
Showing
4 changed files
with
20 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 6 additions & 8 deletions
14
src/site/paragraphs/link_teaser_featured_content.drupal.liquid
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
<li data-template="paragraphs/link_teaser_featured_content" data-entity-id="{{ linkTeaser.entityId }}" | ||
class="featured-content-list-item vads-u-background-color--primary-alt-lightest vads-u-padding-y--1p5 vads-u-padding-x--1p5 vads-u-margin-bottom--2 medium-screen:vads-u-margin-bottom--0 vads-u-display--flex vads-u-flex-direction--column"> | ||
<va-card data-template="paragraphs/link_teaser_featured_content" data-entity-id="{{ linkTeaser.entityId }}" | ||
class="vads-u-flex--fill vads-u-margin-bottom--2 vads-u-margin-right--0 medium-screen:vads-u-margin-x--0p5 spotlight-card"> | ||
{% assign link = linkTeaser.fieldLink %} | ||
{% if link.title != empty %} | ||
<b>{{ link.title }}</b> | ||
<hr class="featured-content-hr vads-u-margin-y--1p5 vads-u-border-color--primary"> | ||
<h3 class="vads-u-margin-top--0">{{ link.title }}</h3> | ||
|
||
{% endif %} | ||
{% if linkTeaser.fieldLinkSummary != empty %} | ||
<p class="va-nav-linkslist-description">{{ linkTeaser.fieldLinkSummary }}</p> | ||
{% endif %} | ||
<a onClick="recordEvent({ event: 'nav-featured-content-link-click', 'featured-content-header': '{{link.title}}' });" class="vads-u-display--block vads-u-padding-top--1" href="{{link.url.path}}" {% if linkTeaser.options["target"] %}target="{{ linkTeaser.options["target"] }}"{% endif %} onClick="recordEvent({ event: 'nav-linkslist' });"> | ||
<span>Read more<i class="fa fa-chevron-right vads-facility-hub-cta-arrow"></i></span> | ||
</a> | ||
</li> | ||
<va-link active class="vads-u-display--block vads-u-padding-top--1" href="{{link.url.path}}" text="Read more"></va-link> | ||
</va-card> |