mirror of
https://github.com/vercel/commerce.git
synced 2025-07-05 12:41:21 +00:00
♻️ enhan: refactor code logo, view all item
:%s
This commit is contained in:
parent
fa3853de3c
commit
aa5e68431d
@ -9,7 +9,7 @@
|
|||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
margin-right: 1.2rem;
|
margin-right: 1.2rem;
|
||||||
}
|
}
|
||||||
.conTent{
|
.content{
|
||||||
@apply font-logo sub-headline;
|
@apply font-logo sub-headline;
|
||||||
font-size: var(--font-size);
|
font-size: var(--font-size);
|
||||||
}
|
}
|
||||||
|
@ -1,15 +1,11 @@
|
|||||||
import s from './Logo.module.scss'
|
import s from './Logo.module.scss'
|
||||||
|
|
||||||
interface Props {
|
const Logo = () => {
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
const Logo = ({}: Props) => {
|
|
||||||
return(
|
return(
|
||||||
<div className={s.logo}>
|
<div className={s.logo}>
|
||||||
<div className={s.eclipse}>
|
<div className={s.eclipse}>
|
||||||
</div>
|
</div>
|
||||||
<div className={s.conTent}>
|
<div className={s.content}>
|
||||||
ONLINE GROCERY
|
ONLINE GROCERY
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -2,15 +2,15 @@
|
|||||||
|
|
||||||
.viewAll{
|
.viewAll{
|
||||||
display: flex;
|
display: flex;
|
||||||
color: theme("colors.primary");
|
color: var(--primary);
|
||||||
.conTent{
|
.conTent{
|
||||||
margin: 0.8rem 0.8rem 0.8rem 1.6rem;
|
margin: 0.8rem 0.8rem 0.8rem 1.6rem;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
.vecTor{
|
.vector{
|
||||||
margin: 0.8rem 0rem 0.8rem 0rem;
|
margin: 0.8rem 0rem 0.8rem 0rem;
|
||||||
svg path{
|
svg path{
|
||||||
fill: theme("colors.primary");
|
fill: var(--primary);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -14,7 +14,7 @@ const ViewAllItem = ({ link }: Props) => {
|
|||||||
View All
|
View All
|
||||||
</a>
|
</a>
|
||||||
</Link>
|
</Link>
|
||||||
<div className={s.vecTor}>
|
<div className={s.vector}>
|
||||||
<IconVector />
|
<IconVector />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user