🎨 styles: banner home

:%s
This commit is contained in:
lytrankieio123 2021-08-26 14:20:54 +07:00
parent e1088bfb88
commit dfb524d45d
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ const Banner = memo(({ imgLink, title, subtitle, buttonLabel = LANGUAGE.BUTTON_L
return (
<div className={classNames({
[s.banner]: true,
[s.size]: true,
[s[size]]: true,
})}>
<div className={s.inner} style={{ backgroundImage: `url(${imgLink})` }}>
<div className={s.content}>

View File

@ -20,7 +20,7 @@ const HomeBanner = ({ }: Props) => {
title="Save 15% on your first order"
subtitle="Last call! Shop deep deals on 100+ bulk picks while you can."
imgLink={BannerImgRight.src}
type="small"
size="small"
/>
</div >
)