Skip to content

Commit

Permalink
Update landing_page.drupal.liquid
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmpickett authored Nov 8, 2024
1 parent 664dcee commit d578143
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/site/layouts/landing_page.drupal.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -140,20 +140,20 @@
{% endif %}

<!-- Connect with us -->
{% if fieldRelatedOffice != empty and fieldRelatedOffice.entity.fieldExternalLink.title != "Records benefits hub" %}
{% if fieldConnectWithUs != empty and fieldConnectWithUs.entity.fieldExternalLink.title != "Records benefits hub" %}
<va-accordion-item
class="va-accordion-item"
level="2"
header="Connect with us"
bordered
uswds
open="true"
id="{{ fieldRelatedOffice.entity.fieldExternalLink.title | hashReference: 60 }}">
{% if fieldRelatedOffice.entity.fieldExternalLink.url.path != empty %}
id="{{ fieldConnectWithUs.entity.fieldExternalLink.title | hashReference: 60 }}">
{% if fieldConnectWithUs.entity.fieldExternalLink.url.path != empty %}
<h3 class="va-nav-linkslist-list vads-u-font-size--h4">
<va-link
href="{{ fieldRelatedOffice.entity.fieldExternalLink.url.path }}"
text="{{ fieldRelatedOffice.entity.fieldExternalLink.title }}"
href="{{ fieldConnectWithUs.entity.fieldExternalLink.url.path }}"
text="{{ fieldConnectWithUs.entity.fieldExternalLink.title }}"
/>
</h3>
{% endif %}
Expand All @@ -163,16 +163,16 @@
<p>
<va-icon icon="mail" size="3" class="vads-u-color--link-default vads-u-padding-right--0p5"></va-icon>
<va-link
href="{{ fieldRelatedOffice.entity.fieldEmailUpdatesLink.url.path }}"
text="{{ fieldRelatedOffice.entity.fieldEmailUpdatesLink.title }}"
href="{{ fieldConnectWithUs.entity.fieldEmailUpdatesLink.url.path }}"
text="{{ fieldConnectWithUs.entity.fieldEmailUpdatesLink.title }}"
/>
</p>
</section>

<section>
<h3 class="vads-u-font-size--h4">Follow us</h3>
<ul class="va-nav-linkslist-list social">
{% assign socialLinks = fieldRelatedOffice.entity.fieldSocialMediaLinks.platformValues | jsonToObj %}
{% assign socialLinks = fieldConnectWithUs.entity.fieldSocialMediaLinks.platformValues | jsonToObj %}
{% assign socialPlatforms = socialLinks | keys %}

{% for socialPlatform in socialPlatforms %}
Expand All @@ -193,7 +193,7 @@
class="vads-u-color--link-default vads-u-padding-right--0p5"></va-icon>
<va-link
href="http://{{ socialPlatform }}.com/{{ socialLink.value }}"
text="{{ fieldRelatedOffice.entity.fieldExternalLink.title }} {{ platform | formatSocialPlatform }}"
text="{{ fieldConnectWithUs.entity.fieldExternalLink.title }} {{ platform | formatSocialPlatform }}"
>
</va-link>
</li>
Expand All @@ -219,4 +219,4 @@
{% endif %}

{% include "src/site/includes/footer.html" %}
{% include "src/site/includes/debug.drupal.liquid" %}
{% include "src/site/includes/debug.drupal.liquid" %}

0 comments on commit d578143

Please sign in to comment.