From 12dc1f14f9cfd0dff18a7d889f496c0109223902 Mon Sep 17 00:00:00 2001 From: Max Antonucci Date: Fri, 20 Oct 2023 22:14:49 -0400 Subject: [PATCH] VA-15465: add Youtube to facility social links --- .../facilities/facility_social_links.drupal.liquid | 9 +++++++++ .../healthCareSocialMedia.fields.graphql.js | 12 ++++++++---- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/src/site/facilities/facility_social_links.drupal.liquid b/src/site/facilities/facility_social_links.drupal.liquid index 1039c0fbe4..1ea3283428 100644 --- a/src/site/facilities/facility_social_links.drupal.liquid +++ b/src/site/facilities/facility_social_links.drupal.liquid @@ -72,6 +72,15 @@ {% endif %} + + {% if fieldYoutube != empty %} + + {% endif %} {% endif %} diff --git a/src/site/stages/build/drupal/graphql/facilities-fragments/healthCareSocialMedia.fields.graphql.js b/src/site/stages/build/drupal/graphql/facilities-fragments/healthCareSocialMedia.fields.graphql.js index 1f4d7480af..ebd4e5e528 100644 --- a/src/site/stages/build/drupal/graphql/facilities-fragments/healthCareSocialMedia.fields.graphql.js +++ b/src/site/stages/build/drupal/graphql/facilities-fragments/healthCareSocialMedia.fields.graphql.js @@ -5,17 +5,21 @@ module.exports = ` fieldFacebook { title uri - } + } fieldTwitter { - title + title uri } fieldFlickr { - title + title uri } fieldInstagram { - title + title + uri + } + fieldYoutube { + title uri } `;