mirror of
https://github.com/vercel/commerce.git
synced 2025-07-04 12:11:22 +00:00
🎨 styles: complete header hight light
:%s
This commit is contained in:
parent
53616185f2
commit
4d3ba63eaf
@ -1,8 +1,19 @@
|
|||||||
@import "../../../../../styles/utilities";
|
@import "../../../../../styles/utilities";
|
||||||
|
|
||||||
.headerHighLight {
|
.headerHighLight {
|
||||||
@apply flex justify-between items-center spacing-horizontal bg-primary;
|
@apply flex justify-between items-center spacing-horizontal bg-primary caption;
|
||||||
padding-top: 0.8rem;
|
padding-top: 0.8rem;
|
||||||
padding-bottom: 0.8rem;
|
padding-bottom: 0.8rem;
|
||||||
|
color: var(--white);
|
||||||
|
.menu {
|
||||||
|
@apply flex items-center list-none;
|
||||||
|
li {
|
||||||
|
&:not(:last-child) {
|
||||||
|
margin-right: 3.2rem;
|
||||||
|
}
|
||||||
|
a {
|
||||||
|
@appy no-underline;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -29,7 +29,7 @@ const HeaderHighLight = memo(({ }: Props) => {
|
|||||||
<div>
|
<div>
|
||||||
Free Shipping on order $49+ / Express $99+
|
Free Shipping on order $49+ / Express $99+
|
||||||
</div>
|
</div>
|
||||||
<div className="menu">
|
<ul className={s.menu}>
|
||||||
{
|
{
|
||||||
MENU.map(item => <li key={item.name}>
|
MENU.map(item => <li key={item.name}>
|
||||||
<Link href={item.link}>
|
<Link href={item.link}>
|
||||||
@ -40,7 +40,7 @@ const HeaderHighLight = memo(({ }: Props) => {
|
|||||||
|
|
||||||
</li>)
|
</li>)
|
||||||
}
|
}
|
||||||
</div>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user