Skip to content

Commit

Permalink
Docs(web): Switch sides of the icon in Breadcrumbs
Browse files Browse the repository at this point in the history
  * due to the intorduction of the BreacrumbsItem component in web-react
    and web-twig packages
  * semantically it is fine and works it the same way as before
  • Loading branch information
literat committed Oct 16, 2023
1 parent 3c9cf8c commit 9cfc538
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions packages/web/src/scss/components/Breadcrumbs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,15 @@ <h2 class="docs-Heading">Default</h2>
<ol>
<li class="d-none d-tablet-flex">
<a href="#rootUrl" class="link-primary link-underlined">Root</a>
<svg class="Icon" width="24" height="24">
<use xlink:href="/icons/svg/sprite.svg#chevron-right" />
</svg>
</li>
<li class="d-none d-tablet-flex">
<a href="#categoryUrl" class="link-primary link-underlined">Category</a>
<svg class="Icon" width="24" height="24">
<use xlink:href="/icons/svg/sprite.svg#chevron-right" />
</svg>
<a href="#categoryUrl" class="link-primary link-underlined">Category</a>
</li>
<li class="d-tablet-none">
<svg class="Icon" width="24" height="24">
Expand All @@ -20,23 +23,20 @@ <h2 class="docs-Heading">Default</h2>
<a href="#subcategoryUrl" class="link-primary link-underlined">Back</a>
</li>
<li class="d-none d-tablet-flex">
<a href="#subcategoryUrl" class="link-primary link-underlined">Subcategory</a>
<svg class="Icon" width="24" height="24">
<use xlink:href="/icons/svg/sprite.svg#chevron-right" />
</svg>
<a href="#subcategoryUrl" class="link-primary link-underlined">Subcategory</a>
</li>
<li class="d-none d-tablet-flex">
<svg class="Icon" width="24" height="24">
<use xlink:href="/icons/svg/sprite.svg#chevron-right" />
</svg>
<a href="#currentUrl" aria-current="page" class="link-secondary">Current page</a>
</li>
</ol>
</nav>
</section>

<!--
This code is a copy of the 'Default' section.
<!--
This code is a copy of the 'Default' section.
We need a visually identical demo to the Twig & React, where we have both the 'Default' and 'Custom' implementations.
-->
<section class="docs-Section">
Expand All @@ -45,12 +45,15 @@ <h2 class="docs-Heading">Custom</h2>
<ol>
<li class="d-none d-tablet-flex">
<a href="#rootUrl" class="link-primary link-underlined">Root</a>
<svg class="Icon" width="24" height="24">
<use xlink:href="/icons/svg/sprite.svg#chevron-right" />
</svg>
</li>
<li class="d-none d-tablet-flex">
<a href="#categoryUrl" class="link-primary link-underlined">Category</a>
<svg class="Icon" width="24" height="24">
<use xlink:href="/icons/svg/sprite.svg#chevron-right" />
</svg>
<a href="#categoryUrl" class="link-primary link-underlined">Category</a>
</li>
<li class="d-tablet-none">
<svg class="Icon" width="24" height="24">
Expand All @@ -59,15 +62,12 @@ <h2 class="docs-Heading">Custom</h2>
<a href="#subcategoryUrl" class="link-primary link-underlined">Back</a>
</li>
<li class="d-none d-tablet-flex">
<a href="#subcategoryUrl" class="link-primary link-underlined">Subcategory</a>
<svg class="Icon" width="24" height="24">
<use xlink:href="/icons/svg/sprite.svg#chevron-right" />
</svg>
<a href="#subcategoryUrl" class="link-primary link-underlined">Subcategory</a>
</li>
<li class="d-none d-tablet-flex">
<svg class="Icon" width="24" height="24">
<use xlink:href="/icons/svg/sprite.svg#chevron-right" />
</svg>
<a href="#currentUrl" aria-current="page" class="link-secondary">Current page</a>
</li>
</ol>
Expand Down

0 comments on commit 9cfc538

Please sign in to comment.