mirror of
https://github.com/vercel/commerce.git
synced 2025-07-06 13:01:22 +00:00
🐛 bug: heading common
:%s
This commit is contained in:
parent
cd8b460cb2
commit
95224b3e81
@ -1,5 +1,9 @@
|
||||
import React from 'react'
|
||||
import { CollectionHeading, ProductCaroucel, ViewAllItem } from 'src/components/common'
|
||||
import {
|
||||
CollectionHeading,
|
||||
ProductCaroucel,
|
||||
ViewAllItem,
|
||||
} from 'src/components/common'
|
||||
import { ProductCardProps } from 'src/components/common/ProductCard/ProductCard'
|
||||
import s from './CollectionCarcoucel.module.scss'
|
||||
interface ColectionCarcoucelProps {
|
||||
@ -20,10 +24,13 @@ const ColectionCarcoucel = ({
|
||||
<div className={s.colectionCarcoucelWarpper}>
|
||||
<div className={s.top}>
|
||||
<div className={s.left}>
|
||||
<CollectionHeading headingText={title} subtitle={subTitle} />
|
||||
<CollectionHeading
|
||||
subtitle={subTitle}
|
||||
title={title}
|
||||
></CollectionHeading>
|
||||
</div>
|
||||
<div className={s.right}>
|
||||
<ViewAllItem/>
|
||||
<ViewAllItem />
|
||||
</div>
|
||||
</div>
|
||||
<div className={s.bot}>
|
||||
|
@ -16,7 +16,7 @@ const HomeRecipe = ({ data, itemKey, title }: HomeRecipeProps) => {
|
||||
<div className={s.homeRecipeWarpper}>
|
||||
<div className={s.top}>
|
||||
<div className={s.left}>
|
||||
<HeadingCommon headingText={title} />
|
||||
<HeadingCommon>{title}</HeadingCommon>
|
||||
</div>
|
||||
<div className={s.right}>
|
||||
<ViewAllItem />
|
||||
|
Loading…
x
Reference in New Issue
Block a user