-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Docs(web-twig): Add Breadcrumbs demo #DS-981
Breadcrumbs demo in web-twig is now same as demo in web
- Loading branch information
1 parent
1dfaa07
commit c7ae091
Showing
3 changed files
with
27 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 21 additions & 21 deletions
42
packages/web-twig/src/Resources/components/Breadcrumbs/stories/BreadcrumbsCustom.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
<Breadcrumbs> | ||
<ol> | ||
<li class="d-none d-tablet-flex"> | ||
<Link href="#rootUrl" color="primary" isUnderlined>Root</Link> | ||
</li> | ||
<li class="d-none d-tablet-flex"> | ||
<Icon name="chevron-right" /> | ||
<Link href="#categoryUrl" color="primary" isUnderlined>Category</Link> | ||
</li> | ||
<li class="d-tablet-none"> | ||
<Icon name="chevron-right" /> | ||
<Link href="#subcategoryUrl" color="primary" isUnderlined>Custom go back link</Link> | ||
</li> | ||
<li class="d-none d-tablet-flex"> | ||
<Icon name="chevron-right" /> | ||
<Link href="#subcategoryUrl" color="primary" isUnderlined>Subcategory</Link> | ||
</li> | ||
<li class="d-none d-tablet-flex"> | ||
<Icon name="chevron-right" /> | ||
<Link href="#currentUrl" color="secondary" aria-current="page">Current page</Link> | ||
</li> | ||
</ol> | ||
<ol> | ||
<li class="d-none d-tablet-flex"> | ||
<Link href="#rootUrl" color="primary" isUnderlined>Root</Link> | ||
</li> | ||
<li class="d-none d-tablet-flex"> | ||
<Icon name="chevron-right" /> | ||
<Link href="#categoryUrl" color="primary" isUnderlined>Category</Link> | ||
</li> | ||
<li class="d-tablet-none"> | ||
<Icon name="chevron-right" /> | ||
<Link href="#subcategoryUrl" color="primary" isUnderlined>Custom go back link</Link> | ||
</li> | ||
<li class="d-none d-tablet-flex"> | ||
<Icon name="chevron-right" /> | ||
<Link href="#subcategoryUrl" color="primary" isUnderlined>Subcategory</Link> | ||
</li> | ||
<li class="d-none d-tablet-flex"> | ||
<Icon name="chevron-right" /> | ||
<Link href="#currentUrl" color="secondary" aria-current="page">Current page</Link> | ||
</li> | ||
</ol> | ||
</Breadcrumbs> |
File renamed without changes.