Skip to content

Commit

Permalink
501: Missing card-grid in dist/app-drupal causes components library e…
Browse files Browse the repository at this point in the history
…rror (#502)
  • Loading branch information
illepic authored Jan 1, 2019
1 parent 536770a commit cbad447
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
8 changes: 6 additions & 2 deletions apps/drupal/templates/layout/region--primary-menu.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,12 @@
] | join(' ') | trim %}

{% if content %}
{# The Primary Menu region requires our Nav wrapper, which we've removed from block--system-menu-block.html.twig #}
{# This was done to insure the content array matches what Bootstrap 4 expects - an unordered list representing our menu and the Search block #}
{#
The Primary Menu region requires our Nav wrapper, which we've removed from
block--system-menu-block.html.twig. This was done to ensure the content array
matches what Bootstrap 4 expects - an unordered list representing our menu and
the Search block.
#}
{% embed '@organisms/navbar/_navbar.twig' %}
{% set navbar_arialebelledby = 'block-particle-mainnavigation-menu' %}
{% set navbar_attributes = attributes.addClass(navbar_classes) %}
Expand Down
13 changes: 13 additions & 0 deletions source/default/_patterns/03-organisms/card-grid/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/**
* Card Grid
*/

import './_card-grid.twig';

export const name = 'card-grid';

export function disable() {}

export function enable() {}

export default enable;

0 comments on commit cbad447

Please sign in to comment.