mirror of
https://github.com/vercel/commerce.git
synced 2025-07-04 20:21: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%;
|
||||
margin-right: 1.2rem;
|
||||
}
|
||||
.conTent{
|
||||
.content{
|
||||
@apply font-logo sub-headline;
|
||||
font-size: var(--font-size);
|
||||
}
|
||||
|
@ -1,15 +1,11 @@
|
||||
import s from './Logo.module.scss'
|
||||
|
||||
interface Props {
|
||||
|
||||
}
|
||||
|
||||
const Logo = ({}: Props) => {
|
||||
const Logo = () => {
|
||||
return(
|
||||
<div className={s.logo}>
|
||||
<div className={s.eclipse}>
|
||||
</div>
|
||||
<div className={s.conTent}>
|
||||
<div className={s.content}>
|
||||
ONLINE GROCERY
|
||||
</div>
|
||||
</div>
|
||||
|
@ -2,15 +2,15 @@
|
||||
|
||||
.viewAll{
|
||||
display: flex;
|
||||
color: theme("colors.primary");
|
||||
color: var(--primary);
|
||||
.conTent{
|
||||
margin: 0.8rem 0.8rem 0.8rem 1.6rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
.vecTor{
|
||||
.vector{
|
||||
margin: 0.8rem 0rem 0.8rem 0rem;
|
||||
svg path{
|
||||
fill: theme("colors.primary");
|
||||
fill: var(--primary);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -14,7 +14,7 @@ const ViewAllItem = ({ link }: Props) => {
|
||||
View All
|
||||
</a>
|
||||
</Link>
|
||||
<div className={s.vecTor}>
|
||||
<div className={s.vector}>
|
||||
<IconVector />
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user