mirror of
https://github.com/vercel/commerce.git
synced 2025-07-04 04:01:21 +00:00
🎨 styles: complete header hight light
:%s
This commit is contained in:
parent
53616185f2
commit
4d3ba63eaf
@ -1,8 +1,19 @@
|
||||
@import "../../../../../styles/utilities";
|
||||
|
||||
.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-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>
|
||||
Free Shipping on order $49+ / Express $99+
|
||||
</div>
|
||||
<div className="menu">
|
||||
<ul className={s.menu}>
|
||||
{
|
||||
MENU.map(item => <li key={item.name}>
|
||||
<Link href={item.link}>
|
||||
@ -40,7 +40,7 @@ const HeaderHighLight = memo(({ }: Props) => {
|
||||
|
||||
</li>)
|
||||
}
|
||||
</div>
|
||||
</ul>
|
||||
</section>
|
||||
)
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user