-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6b802c4
commit 6a3b30f
Showing
5 changed files
with
64 additions
and
4 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
components/Layout/Subheader/Category/SubheaderCategory.stories.js
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import SubheaderCategory from './SubheaderCategory.twig'; | ||
|
||
export default { | ||
title: 'Design System/Layout/Subheader/Category' | ||
}; | ||
|
||
export const base = { | ||
render: (args) => SubheaderCategory(args), | ||
args: { | ||
title: 'Nom de la catégorie', | ||
description: | ||
'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor...' | ||
}, | ||
argTypes: {} | ||
}; |
15 changes: 15 additions & 0 deletions
15
components/Layout/Subheader/Category/SubheaderCategory.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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<div class='Subheader Subheader--category'> | ||
<div class='container mx-auto flex flex-col'> | ||
<h1 class='Subheader-title'>{{ title }}</h1> | ||
<div class='Subheader-description'> | ||
{{ description }} | ||
</div> | ||
<div class='Subheader-link underline'> | ||
<a href='#' class='link-large'>Lire la suite</a> | ||
</div> | ||
<div class='Subheader-info Subheader-info--category'> | ||
<div>16 produit(s)</div> | ||
{% include '../../../Molecules/Button/Button.twig' with {text: 'Filtrer & trier',icon_left:'filter', variant: 'secondary'} %} | ||
</div> | ||
</div> | ||
</div> |
2 changes: 1 addition & 1 deletion
2
components/Layout/Subheader/SearchResult/SubheaderSearch.stories.js
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
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
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