mirror of
https://github.com/vercel/commerce.git
synced 2025-07-21 19:51:22 +00:00
feat: DeliveryAndPolicyPage
This commit is contained in:
parent
003db789a0
commit
51a0a36974
@ -38,3 +38,4 @@ export { default as ImgWithLink} from './ImgWithLink/ImgWithLink'
|
||||
export { default as RecipeDetail} from './RecipeDetail/RecipeDetail'
|
||||
export { default as DrawerCommon} from './DrawerCommon/DrawerCommon'
|
||||
export { default as CartDrawer} from './CartDrawer/CartDrawer'
|
||||
export { default as BreadcrumbCommon} from './BreadcrumbCommon/BreadcrumbCommon'
|
@ -0,0 +1,5 @@
|
||||
.breadCrumb{
|
||||
@apply absolute z-10;
|
||||
padding-left: 3.2rem;
|
||||
padding-top: 3rem;
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
import { BreadcrumbCommon } from 'src/components/common'
|
||||
import s from './DeliveryAndPolicyBreadCrumb.module.scss'
|
||||
|
||||
const CRUMB_DATA = [
|
||||
{
|
||||
link: "/",
|
||||
name: "Home"
|
||||
},
|
||||
{
|
||||
link: "/blog",
|
||||
name: "Blog"
|
||||
}
|
||||
]
|
||||
const DeliveryAndPolicyBreadCrumb = () => {
|
||||
return (
|
||||
<section className={s.breadCrumb}>
|
||||
<BreadcrumbCommon crumbs={CRUMB_DATA}/>
|
||||
</section>
|
||||
)
|
||||
}
|
||||
export default DeliveryAndPolicyBreadCrumb
|
@ -0,0 +1,13 @@
|
||||
import DeliveryAndPolicyBreadCrumb from "../DeliveryAndPolicyBreadCrumb/DeliveryAndPolicyBreadCrumb"
|
||||
import DeliveryAndPolicyContent from "../DeliveryAndPolicyContent/DeliveryAndPolicyContent"
|
||||
|
||||
|
||||
const DeliveryAndPolicyPage = () => {
|
||||
return (
|
||||
<>
|
||||
<DeliveryAndPolicyBreadCrumb />
|
||||
<DeliveryAndPolicyContent />
|
||||
</>
|
||||
)
|
||||
}
|
||||
export default DeliveryAndPolicyPage
|
@ -1 +1,2 @@
|
||||
export { default as DeliveryAndPolicyContent} from './DeliveryAndPolicyContent/DeliveryAndPolicyContent'
|
||||
export { default as DeliveryAndPolicyContent } from './DeliveryAndPolicyContent/DeliveryAndPolicyContent'
|
||||
export { default as DeliveryAndPolicyBreadCrumb } from './DeliveryAndPolicyBreadCrumb/DeliveryAndPolicyBreadCrumb'
|
Loading…
x
Reference in New Issue
Block a user