🎨 styles: product detail page

:%s
This commit is contained in:
lytrankieio123
2021-09-06 12:48:47 +07:00
parent 8712ae717d
commit 31d0ec1331
7 changed files with 9 additions and 143 deletions

View File

@@ -8,7 +8,6 @@
}
.img {
width: fit-content;
margin: auto;
margin-top: 0;
@screen sm-only {

View File

@@ -1,9 +1,9 @@
@import "../../../../../styles/utilities";
.recipeIngredient {
margin: 6rem auto;
padding: 6rem 0;
@screen md {
margin: 5.6rem auto;
padding: 5.6rem 0;
}
.top {
@apply flex justify-between items-center spacing-horizontal;

View File

@@ -2,8 +2,9 @@
.productInfoDetail {
@apply spacing-horizontal;
margin: 0 auto 4rem;
padding-bottom: 4rem;
@screen md {
@apply flex;
padding-bottom: 5.6rem;
}
}

View File

@@ -29,13 +29,14 @@ const ProductInfo = ({ }: Props) => {
<div className={s.actions}>
<QuanittyInput />
<div className={s.bottom}>
<ButtonCommon size='large'>{LANGUAGE.BUTTON_LABEL.BUY_NOW}</ButtonCommon>
<ButtonCommon size='large'>{LANGUAGE.BUTTON_LABEL.PREORDER}</ButtonCommon>
{/* <ButtonCommon size='large'>{LANGUAGE.BUTTON_LABEL.BUY_NOW}</ButtonCommon>
<ButtonCommon size='large' type='light'>
<span className={s.buttonWithIcon}>
<IconBuy /><span className={s.label}>{LANGUAGE.BUTTON_LABEL.ADD_TO_CARD}</span>
</span>
</ButtonCommon>
</ButtonCommon> */}
</div>
</div>
</section >

View File

@@ -2,7 +2,8 @@ export const LANGUAGE = {
BUTTON_LABEL: {
BUY_NOW: 'Buy now',
SHOP_NOW: 'Shop now',
ADD_TO_CARD: 'Add to Cart'
ADD_TO_CARD: 'Add to Cart',
PREORDER: 'Pre-Order Now',
},
PLACE_HOLDER: {
SEARCH: 'Search',