Skip to content

Commit

Permalink
fix storeinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
leanormandon committed Jun 11, 2024
1 parent fa396c5 commit 07730b1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions components/Organisms/Card/SelfPromotion/selfPromotion.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
@apply paragraph-2;
font-weight: 600;
color: var(--black);
margin-bottom: rem-convert(2px);
}

&-desc {
Expand Down
1 change: 1 addition & 0 deletions components/Organisms/Card/StoreInfo/StoreInfo.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export const Base = {
},
args: {
storeName: 'Nom du magasin',
displayHours: false,
address,
hours
}
Expand Down
4 changes: 2 additions & 2 deletions components/Organisms/Card/StoreInfo/StoreInfo.twig
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
<div>{{ address.zipCode }} {{ address.city }}</div>
</div>
<div class='lg:flex justify-between align-center'>
<button class='StoreInfo-hours'>{{ source("/icons/clock.svg") }}Horaires</button>
<button class='StoreInfo-hours'>{{ source("/icons/clock.svg") }}Horaires du magasin</button>
<div class='hidden lg:block'>
{% include '../../../Molecules/Button/Button.twig' with {text: 'Choisir ce magasin', classes:'Button--fill lg:Button--unfill'} %}
</div>
</div>
<div class='StoreInfo-hoursListing hidden'>
<div class='StoreInfo-hoursListing {% if not displayHours|default(false) %}hidden{% endif %}'>
{% for hour in hours %}
<div>{{ hour.day }}</div>
<div>{{ hour.hours }}</div>
Expand Down
3 changes: 3 additions & 0 deletions components/Organisms/Card/StoreInfo/storeInfo.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
max-width: rem-convert(540px);
background: var(--theme-lightest);
padding: rem-convert(24px);
border-radius: rem-convert(8px);

&-title {
color: var(--black);
@apply paragraph-2;
font-weight: 700;
margin-bottom: rem-convert(8px);
}
&-address {
@apply paragraph-2;
Expand All @@ -24,6 +26,7 @@
text-decoration: underline;
margin-top: rem-convert(10px);
margin-bottom: rem-convert(10px);
color: var(--black);
svg {
width: rem-convert(18px);
height: rem-convert(18px);
Expand Down

0 comments on commit 07730b1

Please sign in to comment.