From 2be08323f0015f800700d0dcd3cb817ec1c23bc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20D=C3=ADaz=20Soto?= Date: Wed, 4 Dec 2024 15:43:08 -0600 Subject: [PATCH] fix(shs-5963): fix js files and libraries naming --- .../humsci/hs_layouts/hs_layouts.layouts.yml | 2 +- .../hs_layouts/hs_layouts.libraries.yml | 2 +- .../humsci/humsci_basic/humsci_basic.info.yml | 2 +- .../humsci_basic/humsci_basic.libraries.yml | 54 +++++++++---------- .../humsci/humsci_basic/humsci_basic.theme | 15 +++--- .../paragraph--hs-collection.html.twig | 2 +- .../paragraph--hs-priv-collection.html.twig | 2 +- .../paragraph--hs-text-area.html.twig | 4 +- ...ttern-date-stacked-vertical-card.html.twig | 2 +- .../pattern-gradient-hero.html.twig | 6 +-- .../pattern-hero-text-overlay.html.twig | 6 +-- .../components/pattern-spotlight.html.twig | 4 +- .../pattern-vertical-card.html.twig | 2 +- .../pattern-vertical-link-card.html.twig | 2 +- .../templates/menus/menu--main.html.twig | 5 +- .../menus/menu--menu-block--main.html.twig | 2 +- .../humsci/humsci_basic/webpack.config.js | 28 +++++----- .../su_humsci_gin_admin.theme | 10 ++-- .../pattern/pattern-gradient-hero.html.twig | 4 +- .../pattern-hero-text-overlay.html.twig | 4 +- .../pattern/pattern-spotlight.html.twig | 4 +- .../pattern/pattern-vertical-card.html.twig | 2 +- .../pattern-vertical-link-card.html.twig | 2 +- 23 files changed, 82 insertions(+), 84 deletions(-) diff --git a/docroot/modules/humsci/hs_layouts/hs_layouts.layouts.yml b/docroot/modules/humsci/hs_layouts/hs_layouts.layouts.yml index 3946865c5..bb29c9051 100644 --- a/docroot/modules/humsci/hs_layouts/hs_layouts.layouts.yml +++ b/docroot/modules/humsci/hs_layouts/hs_layouts.layouts.yml @@ -20,7 +20,7 @@ three_column: template: layouts/three-column/three-column default_region: main class: '\Drupal\hs_layouts\Plugin\Layout\HumsciLayout' - library: hs_layouts/verticaltabs + library: hs_layouts/vertical-tabs icon_map: - [sidebar_first, main, sidebar_second] regions: diff --git a/docroot/modules/humsci/hs_layouts/hs_layouts.libraries.yml b/docroot/modules/humsci/hs_layouts/hs_layouts.libraries.yml index 3a74c18e9..620a47857 100644 --- a/docroot/modules/humsci/hs_layouts/hs_layouts.libraries.yml +++ b/docroot/modules/humsci/hs_layouts/hs_layouts.libraries.yml @@ -30,7 +30,7 @@ images_loaded: dependencies: - core/jquery -verticaltabs: +vertical-tabs: js: js/vertical-tabs.js: {} dependencies: diff --git a/docroot/themes/humsci/humsci_basic/humsci_basic.info.yml b/docroot/themes/humsci/humsci_basic/humsci_basic.info.yml index f6b89b4e8..b585c7723 100644 --- a/docroot/themes/humsci/humsci_basic/humsci_basic.info.yml +++ b/docroot/themes/humsci/humsci_basic/humsci_basic.info.yml @@ -5,7 +5,7 @@ package: 'Humanities & Sciences' core_version_requirement: ^9.4 || ^10 'base theme': stable9 libraries: - - humsci_basic/maincontentfallback + - humsci_basic/main-content-fallback - humsci_basic/editoria11y regions: diff --git a/docroot/themes/humsci/humsci_basic/humsci_basic.libraries.yml b/docroot/themes/humsci/humsci_basic/humsci_basic.libraries.yml index cb5b1fc50..83ef34f88 100644 --- a/docroot/themes/humsci/humsci_basic/humsci_basic.libraries.yml +++ b/docroot/themes/humsci/humsci_basic/humsci_basic.libraries.yml @@ -6,9 +6,9 @@ addtocal: js: dist/js/addtocal.js: {} -carouselslidesheight: +carousel-slides-height: js: - dist/js/carouselslidesheight.js: {} + dist/js/carousel-slides-height.js: {} colorbox: js: @@ -18,57 +18,57 @@ editoria11y: js: dist/js/editoria11y.js: {} -equalheightgrid: +equal-height-grid: js: - dist/js/equalheightgrid.js: {} + dist/js/equal-height-grid.js: {} -linkedcards: +linked-cards: js: - dist/js/linkedcards.js: {} + dist/js/linked-cards.js: {} -maincontentfallback: +main-content-fallback: js: - dist/js/maincontentfallback.js: {} + dist/js/main-content-fallback.js: {} -mainmenu: +main-menu: js: - dist/js/mainmenutoggle.js: {} - dist/js/mainmenunestedtoggler.js: {} - dist/js/collapsemainmenu.js: {} - dist/js/megamenu.js: {} + dist/js/main-menu-toggle.js: {} + dist/js/main-menu-nested-toggler.js: {} + dist/js/collapse-main-menu.js: {} + dist/js/mega-menu.js: {} -pagescrollanimations: +page-scroll-animations: js: - dist/js/pagescrollanimations.js: {} + dist/js/page-scroll-animations.js: {} -preferedreducedmotion: +prefered-reduced-motion: js: - dist/js/preferedreducedmotion.js: {} + dist/js/prefered-reduced-motion.js: {} search: js: dist/js/search.js: {} -secondarymenu: +secondary-menu: js: - dist/js/secondarytoggler.js: {} + dist/js/secondary-toggler.js: {} -tablepattern: +table-pattern: js: - dist/js/tablepattern.js: {} + dist/js/table-pattern.js: {} -tablescope: +table-scope: js: - dist/js/tablescope.js: {} + dist/js/table-scope.js: {} -tablewrap: +table-wrap: js: - dist/js/tablewrap.js: {} + dist/js/table-wrap.js: {} timeline: js: dist/js/timeline.js: {} -videowithcaption: +video-with-caption: js: - dist/js/videowithcaption.js: {} + dist/js/video-with-caption.js: {} diff --git a/docroot/themes/humsci/humsci_basic/humsci_basic.theme b/docroot/themes/humsci/humsci_basic/humsci_basic.theme index 181add18f..fecd79bed 100644 --- a/docroot/themes/humsci/humsci_basic/humsci_basic.theme +++ b/docroot/themes/humsci/humsci_basic/humsci_basic.theme @@ -174,7 +174,6 @@ function _humsci_basic_check_link_access(array &$link_items) { } } - /** * Implements hook_preprocess_HOOK() for we_megamenu li. */ @@ -220,8 +219,8 @@ function humsci_basic_preprocess_we_megamenu_frontend(&$vars) { */ function humsci_basic_preprocess_views_view(&$variables) { $view = $variables['view']; - $variables['#attached']['library'][] = 'humsci_basic/tablewrap'; - $variables['#attached']['library'][] = 'humsci_basic/tablepattern'; + $variables['#attached']['library'][] = 'humsci_basic/table-wrap'; + $variables['#attached']['library'][] = 'humsci_basic/table-pattern'; switch ($view->id()) { case 'hs_default_search': @@ -235,9 +234,9 @@ function humsci_basic_preprocess_views_view(&$variables) { */ function humsci_basic_preprocess_paragraph(&$variables) { $paragraph = $variables['paragraph']; - // Attach library to stanford gallery + // Attach library to stanford gallery. if ($paragraph->bundle() == 'stanford_gallery') { - $variables['#attached']['library'][] = 'humsci_basic/preferedreducedmotion'; + $variables['#attached']['library'][] = 'humsci_basic/prefered-reduced-motion'; $variables['#attached']['library'][] = 'humsci_basic/colorbox'; } if ($paragraph->bundle() != 'hs_view') { @@ -263,9 +262,9 @@ function humsci_basic_preprocess_paragraph(&$variables) { */ function humsci_basic_preprocess_field(&$variables) { if ($variables['field_name'] == 'field_hs_text_area') { - $variables['#attached']['library'][] = 'humsci_basic/tablewrap'; - $variables['#attached']['library'][] = 'humsci_basic/tablescope'; - $variables['#attached']['library'][] = 'humsci_basic/videowithcaption'; + $variables['#attached']['library'][] = 'humsci_basic/table-wrap'; + $variables['#attached']['library'][] = 'humsci_basic/table-scope'; + $variables['#attached']['library'][] = 'humsci_basic/video-with-caption'; } } diff --git a/docroot/themes/humsci/humsci_basic/templates/components/paragraph--hs-collection.html.twig b/docroot/themes/humsci/humsci_basic/templates/components/paragraph--hs-collection.html.twig index ba0e754f2..8e4b3ff8f 100644 --- a/docroot/themes/humsci/humsci_basic/templates/components/paragraph--hs-collection.html.twig +++ b/docroot/themes/humsci/humsci_basic/templates/components/paragraph--hs-collection.html.twig @@ -38,7 +38,7 @@ * @ingroup themeable */ #} -{{ attach_library('humsci_basic/equalheightgrid') }} +{{ attach_library('humsci_basic/equal-height-grid') }} {% set raised_cards = false %} {% if paragraph.field_raised_cards.value == true %} diff --git a/docroot/themes/humsci/humsci_basic/templates/components/paragraph--hs-priv-collection.html.twig b/docroot/themes/humsci/humsci_basic/templates/components/paragraph--hs-priv-collection.html.twig index d6db986c8..ef0ed21b0 100644 --- a/docroot/themes/humsci/humsci_basic/templates/components/paragraph--hs-priv-collection.html.twig +++ b/docroot/themes/humsci/humsci_basic/templates/components/paragraph--hs-priv-collection.html.twig @@ -38,7 +38,7 @@ * @ingroup themeable */ #} -{{ attach_library('humsci_basic/equalheightgrid') }} +{{ attach_library('humsci_basic/equal-height-grid') }} {% set classes = [ diff --git a/docroot/themes/humsci/humsci_basic/templates/components/paragraph--hs-text-area.html.twig b/docroot/themes/humsci/humsci_basic/templates/components/paragraph--hs-text-area.html.twig index 65d0cee95..e9b103b92 100644 --- a/docroot/themes/humsci/humsci_basic/templates/components/paragraph--hs-text-area.html.twig +++ b/docroot/themes/humsci/humsci_basic/templates/components/paragraph--hs-text-area.html.twig @@ -1,3 +1,3 @@ -{{ attach_library('humsci_basic/pagescrollanimations') }} +{{ attach_library('humsci_basic/page-scroll-animations') }} -{% include '@humsci_basic/components/paragraph.html.twig' %} \ No newline at end of file +{% include '@humsci_basic/components/paragraph.html.twig' %} diff --git a/docroot/themes/humsci/humsci_basic/templates/components/pattern-date-stacked-vertical-card.html.twig b/docroot/themes/humsci/humsci_basic/templates/components/pattern-date-stacked-vertical-card.html.twig index 4fd3af72e..6f31dda57 100644 --- a/docroot/themes/humsci/humsci_basic/templates/components/pattern-date-stacked-vertical-card.html.twig +++ b/docroot/themes/humsci/humsci_basic/templates/components/pattern-date-stacked-vertical-card.html.twig @@ -1,3 +1,3 @@ -{{ attach_library('humsci_basic/linkedcards') }} +{{ attach_library('humsci_basic/linked-cards') }} {% include '@hs_layouts/date-stacked-vertical-card/date-stacked-vertical-card.html.twig' %} diff --git a/docroot/themes/humsci/humsci_basic/templates/components/pattern-gradient-hero.html.twig b/docroot/themes/humsci/humsci_basic/templates/components/pattern-gradient-hero.html.twig index e52df599f..b2c8f1f95 100644 --- a/docroot/themes/humsci/humsci_basic/templates/components/pattern-gradient-hero.html.twig +++ b/docroot/themes/humsci/humsci_basic/templates/components/pattern-gradient-hero.html.twig @@ -1,5 +1,5 @@ -{{ attach_library('humsci_basic/pagescrollanimations') }} -{{ attach_library('humsci_basic/carouselslidesheight') }} -{{ attach_library('humsci_basic/preferedreducedmotion') }} +{{ attach_library('humsci_basic/page-scroll-animations') }} +{{ attach_library('humsci_basic/carousel-slides-height') }} +{{ attach_library('humsci_basic/prefered-reduced-motion') }} {% include '@hs_layouts/gradient-hero/gradient-hero.html.twig' %} diff --git a/docroot/themes/humsci/humsci_basic/templates/components/pattern-hero-text-overlay.html.twig b/docroot/themes/humsci/humsci_basic/templates/components/pattern-hero-text-overlay.html.twig index 1087e3c8a..e2a0897c1 100644 --- a/docroot/themes/humsci/humsci_basic/templates/components/pattern-hero-text-overlay.html.twig +++ b/docroot/themes/humsci/humsci_basic/templates/components/pattern-hero-text-overlay.html.twig @@ -1,5 +1,5 @@ -{{ attach_library('humsci_basic/pagescrollanimations') }} -{{ attach_library('humsci_basic/carouselslidesheight') }} -{{ attach_library('humsci_basic/preferedreducedmotion') }} +{{ attach_library('humsci_basic/page-scroll-animations') }} +{{ attach_library('humsci_basic/carousel-slides-height') }} +{{ attach_library('humsci_basic/prefered-reduced-motion') }} {% include '@hs_layouts/hero-text-overlay/hero-text-overlay.html.twig' %} diff --git a/docroot/themes/humsci/humsci_basic/templates/components/pattern-spotlight.html.twig b/docroot/themes/humsci/humsci_basic/templates/components/pattern-spotlight.html.twig index 4bd3471ba..f84365779 100644 --- a/docroot/themes/humsci/humsci_basic/templates/components/pattern-spotlight.html.twig +++ b/docroot/themes/humsci/humsci_basic/templates/components/pattern-spotlight.html.twig @@ -1,4 +1,4 @@ -{{ attach_library('humsci_basic/carouselslidesheight') }} -{{ attach_library('humsci_basic/preferedreducedmotion') }} +{{ attach_library('humsci_basic/carousel-slides-height') }} +{{ attach_library('humsci_basic/prefered-reduced-motion') }} {% include '@hs_layouts/spotlight/spotlight.html.twig' %} diff --git a/docroot/themes/humsci/humsci_basic/templates/components/pattern-vertical-card.html.twig b/docroot/themes/humsci/humsci_basic/templates/components/pattern-vertical-card.html.twig index 45013a778..f3b5efd05 100644 --- a/docroot/themes/humsci/humsci_basic/templates/components/pattern-vertical-card.html.twig +++ b/docroot/themes/humsci/humsci_basic/templates/components/pattern-vertical-card.html.twig @@ -1,3 +1,3 @@ -{{ attach_library('humsci_basic/linkedcards') }} +{{ attach_library('humsci_basic/linked-cards') }} {% include '@hs_layouts/vertical-card/vertical-card.html.twig' %} diff --git a/docroot/themes/humsci/humsci_basic/templates/components/pattern-vertical-link-card.html.twig b/docroot/themes/humsci/humsci_basic/templates/components/pattern-vertical-link-card.html.twig index fa5cf4e40..9a591f0f3 100644 --- a/docroot/themes/humsci/humsci_basic/templates/components/pattern-vertical-link-card.html.twig +++ b/docroot/themes/humsci/humsci_basic/templates/components/pattern-vertical-link-card.html.twig @@ -1,4 +1,4 @@ -{{ attach_library('humsci_basic/linkedcards') }} +{{ attach_library('humsci_basic/linked-cards') }} {% include '@hs_layouts/vertical-link-card/vertical-link-card.html.twig' %} diff --git a/docroot/themes/humsci/humsci_basic/templates/menus/menu--main.html.twig b/docroot/themes/humsci/humsci_basic/templates/menus/menu--main.html.twig index 470cbd061..71a99c96c 100644 --- a/docroot/themes/humsci/humsci_basic/templates/menus/menu--main.html.twig +++ b/docroot/themes/humsci/humsci_basic/templates/menus/menu--main.html.twig @@ -15,15 +15,14 @@ */ #} -{{ attach_library('humsci_basic/mainmenu') }} +{{ attach_library('humsci_basic/main-menu') }} {% if use_hs_megamenu %} {# Twig megamenu attributes #} {% set attributes = attributes.addClass(['megamenu', 'js-megamenu']) %} {% set attributes = attributes.setAttribute('aria-label', 'main menu') %} {% include "@humsci_basic/menus-twig/secondary-menu.twig" %} - - {% else %} +{% else %} {# Legacy Drupal menu #} {% set attributes = attributes.addClass(['hb-main-nav', 'su-main-nav', 'hb-main-nav--is-still-loading']) %} {% set attributes = attributes.setAttribute('aria-label', 'main menu') %} diff --git a/docroot/themes/humsci/humsci_basic/templates/menus/menu--menu-block--main.html.twig b/docroot/themes/humsci/humsci_basic/templates/menus/menu--menu-block--main.html.twig index 5feaa5503..aa7c76df2 100644 --- a/docroot/themes/humsci/humsci_basic/templates/menus/menu--menu-block--main.html.twig +++ b/docroot/themes/humsci/humsci_basic/templates/menus/menu--menu-block--main.html.twig @@ -2,7 +2,7 @@ {# The main and only way it is used on the site now is to create secondary nav #} {%- import "@humsci_basic/menus/macros/secondary-nav-menu.twig" as menus -%} -{{ attach_library('humsci_basic/secondarymenu') }} +{{ attach_library('humsci_basic/secondary-menu') }} {% apply spaceless %} {% if items is iterable %} diff --git a/docroot/themes/humsci/humsci_basic/webpack.config.js b/docroot/themes/humsci/humsci_basic/webpack.config.js index 857cec1ac..efd4ffa0d 100644 --- a/docroot/themes/humsci/humsci_basic/webpack.config.js +++ b/docroot/themes/humsci/humsci_basic/webpack.config.js @@ -8,24 +8,24 @@ const srcDir = path.resolve(__dirname, 'src/js/'); const shared = { accordion: 'shared/accordion/accordion-toggle-all.js', addtocal: 'shared/addtocal/addtocal.js', - pagescrollanimations: 'shared/animation/page-scroll.js', - carouselslidesheight: 'shared/carousel-slides/carousel-slides-height.js', + 'page-scroll-animations': 'shared/animation/page-scroll.js', + 'carousel-slides-height': 'shared/carousel-slides/carousel-slides-height.js', editoria11y: 'shared/editoria11y/editoria11y.js', - equalheightgrid: 'shared/equal-height-grid/index.js', - linkedcards: 'shared/linked-cards/linked-cards.js', - maincontentfallback: 'shared/main-content-fallback/main-content-fallback.js', - videowithcaption: 'shared/media/video-with-caption.js', + 'equal-height-grid': 'shared/equal-height-grid/index.js', + 'linked-cards': 'shared/linked-cards/linked-cards.js', + 'main-content-fallback': 'shared/main-content-fallback/main-content-fallback.js', + 'video-with-caption': 'shared/media/video-with-caption.js', megamenu: 'shared/megamenu/index.js', - mainmenutoggle: 'shared/navigation/main-menu-toggle.js', - mainmenunestedtoggler: 'shared/navigation/main-menu-nested-toggler.js', - collapsemainmenu: 'shared/navigation/collapse-main-menu.js', - secondarytoggler: 'shared/navigation/secondary-toggler.js', + 'main-menu-toggle': 'shared/navigation/main-menu-toggle.js', + 'main-menu-nested-toggler': 'shared/navigation/main-menu-nested-toggler.js', + 'collapse-main-menu': 'shared/navigation/collapse-main-menu.js', + 'secondary-toggler': 'shared/navigation/secondary-toggler.js', colorbox: 'shared/photo-album/colorbox.js', - preferedreducedmotion: 'shared/prefered-reduced-motion/prefered-reduced-motion.js', + 'prefered-reduced-motion': 'shared/prefered-reduced-motion/prefered-reduced-motion.js', search: 'shared/search/search-expand.js', - tablescope: 'shared/tables/scope.js', - tablepattern: 'shared/tables/table-pattern.js', - tablewrap: 'shared/tables/wrap.js', + 'table-scope': 'shared/tables/scope.js', + 'table-pattern': 'shared/tables/table-pattern.js', + 'table-wrap': 'shared/tables/wrap.js', timeline: 'shared/timeline/expand-collapse-timeline.js', }; diff --git a/docroot/themes/humsci/su_humsci_gin_admin/su_humsci_gin_admin.theme b/docroot/themes/humsci/su_humsci_gin_admin/su_humsci_gin_admin.theme index 5192e1861..ac943199c 100644 --- a/docroot/themes/humsci/su_humsci_gin_admin/su_humsci_gin_admin.theme +++ b/docroot/themes/humsci/su_humsci_gin_admin/su_humsci_gin_admin.theme @@ -59,9 +59,9 @@ function su_humsci_gin_admin_preprocess(&$variables, $hook) { */ function su_humsci_gin_admin_preprocess_field(&$variables) { if ($variables['field_name'] == 'field_hs_text_area') { - $variables['#attached']['library'][] = 'humsci_basic/tablewrap'; - $variables['#attached']['library'][] = 'humsci_basic/tablescope'; - $variables['#attached']['library'][] = 'humsci_basic/videowithcaption'; + $variables['#attached']['library'][] = 'humsci_basic/table-wrap'; + $variables['#attached']['library'][] = 'humsci_basic/table-scope'; + $variables['#attached']['library'][] = 'humsci_basic/video-with-caption'; } } @@ -70,9 +70,9 @@ function su_humsci_gin_admin_preprocess_field(&$variables) { */ function su_humsci_gin_admin_preprocess_paragraph(&$variables) { $paragraph = $variables['paragraph']; - // Attach library to stanford gallery + // Attach library to stanford gallery. if ($paragraph->bundle() == 'stanford_gallery') { - $variables['#attached']['library'][] = 'humsci_basic/preferedreducedmotion'; + $variables['#attached']['library'][] = 'humsci_basic/prefered-reduced-motion'; $variables['#attached']['library'][] = 'humsci_basic/colorbox'; } } diff --git a/docroot/themes/humsci/su_humsci_gin_admin/templates/pattern/pattern-gradient-hero.html.twig b/docroot/themes/humsci/su_humsci_gin_admin/templates/pattern/pattern-gradient-hero.html.twig index e06d995fb..2e1a20a81 100644 --- a/docroot/themes/humsci/su_humsci_gin_admin/templates/pattern/pattern-gradient-hero.html.twig +++ b/docroot/themes/humsci/su_humsci_gin_admin/templates/pattern/pattern-gradient-hero.html.twig @@ -1,5 +1,5 @@ -{{ attach_library('humsci_basic/carouselslidesheight') }} -{{ attach_library('humsci_basic/preferedreducedmotion') }} +{{ attach_library('humsci_basic/carousel-slides-height') }} +{{ attach_library('humsci_basic/prefered-reduced-motion') }}
diff --git a/docroot/themes/humsci/su_humsci_gin_admin/templates/pattern/pattern-hero-text-overlay.html.twig b/docroot/themes/humsci/su_humsci_gin_admin/templates/pattern/pattern-hero-text-overlay.html.twig index f2dd33b90..f4c84d45c 100644 --- a/docroot/themes/humsci/su_humsci_gin_admin/templates/pattern/pattern-hero-text-overlay.html.twig +++ b/docroot/themes/humsci/su_humsci_gin_admin/templates/pattern/pattern-hero-text-overlay.html.twig @@ -1,5 +1,5 @@ -{{ attach_library('humsci_basic/carouselslidesheight') }} -{{ attach_library('humsci_basic/preferedreducedmotion') }} +{{ attach_library('humsci_basic/carousel-slides-height') }} +{{ attach_library('humsci_basic/prefered-reduced-motion') }}
diff --git a/docroot/themes/humsci/su_humsci_gin_admin/templates/pattern/pattern-spotlight.html.twig b/docroot/themes/humsci/su_humsci_gin_admin/templates/pattern/pattern-spotlight.html.twig index 734c9238c..f1a94870f 100644 --- a/docroot/themes/humsci/su_humsci_gin_admin/templates/pattern/pattern-spotlight.html.twig +++ b/docroot/themes/humsci/su_humsci_gin_admin/templates/pattern/pattern-spotlight.html.twig @@ -1,5 +1,5 @@ -{{ attach_library('humsci_basic/carouselslidesheight') }} -{{ attach_library('humsci_basic/preferedreducedmotion') }} +{{ attach_library('humsci_basic/carousel-slides-height') }} +{{ attach_library('humsci_basic/prefered-reduced-motion') }}
diff --git a/docroot/themes/humsci/su_humsci_gin_admin/templates/pattern/pattern-vertical-card.html.twig b/docroot/themes/humsci/su_humsci_gin_admin/templates/pattern/pattern-vertical-card.html.twig index c13b32d87..35e20e1f2 100644 --- a/docroot/themes/humsci/su_humsci_gin_admin/templates/pattern/pattern-vertical-card.html.twig +++ b/docroot/themes/humsci/su_humsci_gin_admin/templates/pattern/pattern-vertical-card.html.twig @@ -1,4 +1,4 @@ -{{ attach_library('humsci_basic/linkedcards') }} +{{ attach_library('humsci_basic/linked-cards') }}
diff --git a/docroot/themes/humsci/su_humsci_gin_admin/templates/pattern/pattern-vertical-link-card.html.twig b/docroot/themes/humsci/su_humsci_gin_admin/templates/pattern/pattern-vertical-link-card.html.twig index ca1132f18..aa1e1d48a 100644 --- a/docroot/themes/humsci/su_humsci_gin_admin/templates/pattern/pattern-vertical-link-card.html.twig +++ b/docroot/themes/humsci/su_humsci_gin_admin/templates/pattern/pattern-vertical-link-card.html.twig @@ -1,4 +1,4 @@ -{{ attach_library('humsci_basic/linkedcards') }} +{{ attach_library('humsci_basic/linked-cards') }}