From 3bcbb21c89d3314fd7a6d21ae7cd099cda426773 Mon Sep 17 00:00:00 2001 From: Martin Leblanc <m26lebla@uwaterloo.ca> Date: Mon, 23 Jan 2023 14:00:51 -0500 Subject: [PATCH] ISTWCMS-6026: Updates Pattern lab footer and site container pattern --- src/patterns/03-layouts/footer/footer.twig | 10 +++++----- .../03-layouts/site-container/site-container.yml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/patterns/03-layouts/footer/footer.twig b/src/patterns/03-layouts/footer/footer.twig index 892cb10c..a9836113 100644 --- a/src/patterns/03-layouts/footer/footer.twig +++ b/src/patterns/03-layouts/footer/footer.twig @@ -1,4 +1,8 @@ -<footer class="uw-footer"{% if branding_level == 'full' %} role="contentinfo"{% endif %}> +{% if pattern_lab %} + {% set faculty = faculty ? faculty : 'org-default' %} + {% set branding_level = branding_level ? branding_level : 'full' %} +{% endif %} +<footer class="uw-footer{% if pattern_lab %} {{ faculty }} {% endif %}"{% if branding_level == 'full' %} role="contentinfo"{% endif %}> <div class="uw-site-footer__block"> {% block content %} {% include "@layouts/site-footer/site-footer.twig" with { @@ -12,10 +16,6 @@ } %} {% endblock %} </div> - {% if pattern_lab %} - {% set faculty = faculty ? faculty : 'org-default' %} - {% set branding_level = branding_level ? branding_level : 'full' %} - {% endif %} <div class="uw-footer__wrapper"> {% if branding_level == 'full' %} <div class="uw-footer__address"> diff --git a/src/patterns/03-layouts/site-container/site-container.yml b/src/patterns/03-layouts/site-container/site-container.yml index 23b314e3..67fe7963 100644 --- a/src/patterns/03-layouts/site-container/site-container.yml +++ b/src/patterns/03-layouts/site-container/site-container.yml @@ -133,7 +133,7 @@ social_media: - text: "Instagram" url: "https://www.instagram.com/uofwaterloo/" - text: "Tiktok" - url: "https://www.tiktok.com" + url: "https://www.tiktok.com/@uwaterloo" - text: "Twitter" url: "https://twitter.com/uWaterloo" - text: "LinkedIn" -- GitLab