mirror of
https://github.com/vercel/commerce.git
synced 2025-07-05 12:41:21 +00:00
🎨 styles: banner home
:%s
This commit is contained in:
parent
e1088bfb88
commit
dfb524d45d
@ -20,7 +20,7 @@ const Banner = memo(({ imgLink, title, subtitle, buttonLabel = LANGUAGE.BUTTON_L
|
|||||||
return (
|
return (
|
||||||
<div className={classNames({
|
<div className={classNames({
|
||||||
[s.banner]: true,
|
[s.banner]: true,
|
||||||
[s.size]: true,
|
[s[size]]: true,
|
||||||
})}>
|
})}>
|
||||||
<div className={s.inner} style={{ backgroundImage: `url(${imgLink})` }}>
|
<div className={s.inner} style={{ backgroundImage: `url(${imgLink})` }}>
|
||||||
<div className={s.content}>
|
<div className={s.content}>
|
||||||
|
@ -20,7 +20,7 @@ const HomeBanner = ({ }: Props) => {
|
|||||||
title="Save 15% on your first order"
|
title="Save 15% on your first order"
|
||||||
subtitle="Last call! Shop deep deals on 100+ bulk picks while you can."
|
subtitle="Last call! Shop deep deals on 100+ bulk picks while you can."
|
||||||
imgLink={BannerImgRight.src}
|
imgLink={BannerImgRight.src}
|
||||||
type="small"
|
size="small"
|
||||||
/>
|
/>
|
||||||
</div >
|
</div >
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user