mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
remove: remove link CollapseCommon
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import CollapseChild from './CollapseChild/CollapseChild'
|
import CollapseChild from './CollapseChild/CollapseChild'
|
||||||
|
|
||||||
interface CollapseCommonProps{
|
interface CollapseCommonProps{
|
||||||
data: {title: string, content: string, link: string}[],
|
data: {title: string, content: string}[],
|
||||||
}
|
}
|
||||||
|
|
||||||
const CollapseCommon = ({data}: CollapseCommonProps) => {
|
const CollapseCommon = ({data}: CollapseCommonProps) => {
|
||||||
@@ -9,7 +9,7 @@ const CollapseCommon = ({data}: CollapseCommonProps) => {
|
|||||||
<section>
|
<section>
|
||||||
{
|
{
|
||||||
data.map((item,index) =>
|
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>
|
</section>
|
||||||
|
@@ -1,6 +1,5 @@
|
|||||||
import { CollapseCommon, DateTime, HeadingCommon } from 'src/components/common'
|
import { CollapseCommon, DateTime, HeadingCommon } from 'src/components/common'
|
||||||
import s from './DeliveryAndPolicyContent.module.scss'
|
import s from './DeliveryAndPolicyContent.module.scss'
|
||||||
import { ROUTE } from 'src/utils/constanst.utils'
|
|
||||||
|
|
||||||
interface DeliveryAndPolicyContentProps{
|
interface DeliveryAndPolicyContentProps{
|
||||||
title?: string,
|
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.
|
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.`,
|
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",
|
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.
|
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.`,
|
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",
|
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.
|
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.`,
|
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",
|
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.
|
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.`,
|
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",
|
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.
|
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.`,
|
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`
|
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user