Skip to content
This repository has been archived by the owner on May 2, 2023. It is now read-only.

Commit

Permalink
fix(footer): refactor markup. (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
papegaill authored and planctus committed Sep 18, 2019
1 parent ae75a07 commit f645fb2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ exports[`EC - Footer Corporate renders correctly 1`] = `
</div>
</div>
</div>
<section
<div
class="ecl-footer__common"
>
<div
Expand Down Expand Up @@ -234,7 +234,7 @@ exports[`EC - Footer Corporate renders correctly 1`] = `
Contact
</a>
</div>
</section>
</div>
</footer>
`;

Expand Down Expand Up @@ -425,7 +425,7 @@ exports[`EC - Footer Corporate renders correctly with extra attributes 1`] = `
</div>
</div>
</div>
<section
<div
class="ecl-footer__common"
>
<div
Expand Down Expand Up @@ -474,7 +474,7 @@ exports[`EC - Footer Corporate renders correctly with extra attributes 1`] = `
Contact
</a>
</div>
</section>
</div>
</footer>
`;

Expand Down Expand Up @@ -663,7 +663,7 @@ exports[`EC - Footer Corporate renders correctly with extra class names 1`] = `
</div>
</div>
</div>
<section
<div
class="ecl-footer__common"
>
<div
Expand Down Expand Up @@ -712,7 +712,7 @@ exports[`EC - Footer Corporate renders correctly with extra class names 1`] = `
Contact
</a>
</div>
</section>
</div>
</footer>
`;

Expand Down Expand Up @@ -1019,7 +1019,7 @@ exports[`EC - Footer Custom renders correctly 1`] = `
</div>
</div>
</div>
<section
<div
class="ecl-footer__common"
>
<div
Expand Down Expand Up @@ -1068,7 +1068,7 @@ exports[`EC - Footer Custom renders correctly 1`] = `
Contact
</a>
</div>
</section>
</div>
</footer>
`;

Expand Down Expand Up @@ -1377,7 +1377,7 @@ exports[`EC - Footer Custom renders correctly with extra attributes 1`] = `
</div>
</div>
</div>
<section
<div
class="ecl-footer__common"
>
<div
Expand Down Expand Up @@ -1426,7 +1426,7 @@ exports[`EC - Footer Custom renders correctly with extra attributes 1`] = `
Contact
</a>
</div>
</section>
</div>
</footer>
`;

Expand Down Expand Up @@ -1733,7 +1733,7 @@ exports[`EC - Footer Custom renders correctly with extra class names 1`] = `
</div>
</div>
</div>
<section
<div
class="ecl-footer__common"
>
<div
Expand Down Expand Up @@ -1782,6 +1782,6 @@ exports[`EC - Footer Custom renders correctly with extra class names 1`] = `
Contact
</a>
</div>
</section>
</div>
</footer>
`;
4 changes: 2 additions & 2 deletions src/ec/packages/ec-component-footer/footer.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@
</div>

{# Common #}
<section class="ecl-footer__common">
<div class="ecl-footer__common">
<div class="ecl-container ecl-footer__common-container">
{% for item in _common %}
{% include '../ec-component-link/link.html.twig' with item|merge({
Expand All @@ -181,7 +181,7 @@
}) only %}
{% endfor %}
</div>
</section>
</div>
</footer>

{% endspaceless %}

0 comments on commit f645fb2

Please sign in to comment.