feat: DeliveryAndPolicyPage

This commit is contained in:
unknown 2021-09-07 22:27:24 +07:00
parent 003db789a0
commit 51a0a36974
5 changed files with 42 additions and 1 deletions

View File

@ -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'

View File

@ -0,0 +1,5 @@
.breadCrumb{
@apply absolute z-10;
padding-left: 3.2rem;
padding-top: 3rem;
}

View File

@ -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

View File

@ -0,0 +1,13 @@
import DeliveryAndPolicyBreadCrumb from "../DeliveryAndPolicyBreadCrumb/DeliveryAndPolicyBreadCrumb"
import DeliveryAndPolicyContent from "../DeliveryAndPolicyContent/DeliveryAndPolicyContent"
const DeliveryAndPolicyPage = () => {
return (
<>
<DeliveryAndPolicyBreadCrumb />
<DeliveryAndPolicyContent />
</>
)
}
export default DeliveryAndPolicyPage

View File

@ -1 +1,2 @@
export { default as DeliveryAndPolicyContent} from './DeliveryAndPolicyContent/DeliveryAndPolicyContent'
export { default as DeliveryAndPolicyContent } from './DeliveryAndPolicyContent/DeliveryAndPolicyContent'
export { default as DeliveryAndPolicyBreadCrumb } from './DeliveryAndPolicyBreadCrumb/DeliveryAndPolicyBreadCrumb'