mirror of
https://github.com/vercel/commerce.git
synced 2025-07-21 11:51:20 +00:00
remove: remove link CollapseCommon
This commit is contained in:
parent
d79e971bed
commit
69d5e64dea
@ -1,7 +1,7 @@
|
||||
import CollapseChild from './CollapseChild/CollapseChild'
|
||||
|
||||
interface CollapseCommonProps{
|
||||
data: {title: string, content: string, link: string}[],
|
||||
data: {title: string, content: string}[],
|
||||
}
|
||||
|
||||
const CollapseCommon = ({data}: CollapseCommonProps) => {
|
||||
@ -9,7 +9,7 @@ const CollapseCommon = ({data}: CollapseCommonProps) => {
|
||||
<section>
|
||||
{
|
||||
data.map((item,index) =>
|
||||
<CollapseChild key={`${item.title}-${index}`} title={item.title} content={item.content} link={item.link} />
|
||||
<CollapseChild key={`${item.title}-${index}`} title={item.title} content={item.content} />
|
||||
)
|
||||
}
|
||||
</section>
|
||||
|
@ -1,6 +1,5 @@
|
||||
import { CollapseCommon, DateTime, HeadingCommon } from 'src/components/common'
|
||||
import s from './DeliveryAndPolicyContent.module.scss'
|
||||
import { ROUTE } from 'src/utils/constanst.utils'
|
||||
|
||||
interface DeliveryAndPolicyContentProps{
|
||||
title?: string,
|
||||
@ -22,7 +21,6 @@ const DELIVERYANDPOLICY_DATA = [
|
||||
Some people aren’t into raw broccoli, but I love it! I always go for the raw broccoli on those vegetable platters that seem to be at every potluck/party you go to.
|
||||
|
||||
This is a simple broccoli salad: you have the bulk of it, raw broccoli; crunchy red onions for a bit of acidity and raw crunch, craisins for sweetness, almonds for a nutty counter point; and a sweet and tangy soy-rice vinegar-sesame dressing.`,
|
||||
link: `${ROUTE.PRIVACY_POLICY}/title`
|
||||
},
|
||||
{
|
||||
title: "This is a subtitle",
|
||||
@ -31,7 +29,6 @@ const DELIVERYANDPOLICY_DATA = [
|
||||
Some people aren’t into raw broccoli, but I love it! I always go for the raw broccoli on those vegetable platters that seem to be at every potluck/party you go to.
|
||||
|
||||
This is a simple broccoli salad: you have the bulk of it, raw broccoli; crunchy red onions for a bit of acidity and raw crunch, craisins for sweetness, almonds for a nutty counter point; and a sweet and tangy soy-rice vinegar-sesame dressing.`,
|
||||
link: `${ROUTE.PRIVACY_POLICY}/title`
|
||||
},
|
||||
{
|
||||
title: "This is a subtitle",
|
||||
@ -40,7 +37,6 @@ const DELIVERYANDPOLICY_DATA = [
|
||||
Some people aren’t into raw broccoli, but I love it! I always go for the raw broccoli on those vegetable platters that seem to be at every potluck/party you go to.
|
||||
|
||||
This is a simple broccoli salad: you have the bulk of it, raw broccoli; crunchy red onions for a bit of acidity and raw crunch, craisins for sweetness, almonds for a nutty counter point; and a sweet and tangy soy-rice vinegar-sesame dressing.`,
|
||||
link: `${ROUTE.PRIVACY_POLICY}/title`
|
||||
},
|
||||
{
|
||||
title: "This is a subtitle",
|
||||
@ -49,7 +45,6 @@ const DELIVERYANDPOLICY_DATA = [
|
||||
Some people aren’t into raw broccoli, but I love it! I always go for the raw broccoli on those vegetable platters that seem to be at every potluck/party you go to.
|
||||
|
||||
This is a simple broccoli salad: you have the bulk of it, raw broccoli; crunchy red onions for a bit of acidity and raw crunch, craisins for sweetness, almonds for a nutty counter point; and a sweet and tangy soy-rice vinegar-sesame dressing.`,
|
||||
link: `${ROUTE.PRIVACY_POLICY}/title`
|
||||
},
|
||||
{
|
||||
title: "This is a subtitle",
|
||||
@ -58,7 +53,6 @@ const DELIVERYANDPOLICY_DATA = [
|
||||
Some people aren’t into raw broccoli, but I love it! I always go for the raw broccoli on those vegetable platters that seem to be at every potluck/party you go to.
|
||||
|
||||
This is a simple broccoli salad: you have the bulk of it, raw broccoli; crunchy red onions for a bit of acidity and raw crunch, craisins for sweetness, almonds for a nutty counter point; and a sweet and tangy soy-rice vinegar-sesame dressing.`,
|
||||
link: `${ROUTE.PRIVACY_POLICY}/title`
|
||||
},
|
||||
]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user