enhance: UI header

This commit is contained in:
lytrankieio123
2021-09-07 14:25:10 +07:00
parent 974cb55cca
commit db4314090c
11 changed files with 67 additions and 28 deletions

View File

@@ -1,4 +1,5 @@
import { Layout } from '@components/common'
import { Layout } from "src/components/common"
export default function NotFound() {
return (
<div>

View File

@@ -1,34 +1,18 @@
import { Layout } from 'src/components/common';
import { HomeBanner, HomeCategories, HomeCollection, HomeCTA, HomeFeature, HomeRecipe, HomeSubscribe, HomeVideo } from 'src/components/modules/home';
import {SelectCommon} from 'src/components/common'
const OPTION_SORT = [
{
name: "By Name"
},
{
name: "Price (High to Low)"
},
{
name: "On Sale"
}
]
export default function Home() {
return (
<>
{/* <HomeBanner />
<HomeBanner/>
<HomeBanner />
<HomeFeature />
<HomeCategories />
<HomeCollection />
<HomeVideo />
<HomeCTA />
<HomeRecipe />
<HomeSubscribe /> */}
<SelectCommon option={OPTION_SORT}>Sort By</SelectCommon>
<SelectCommon option={OPTION_SORT} size="large" type="custom">Sort By</SelectCommon>
<HomeSubscribe />
{/* // todo: uncomment */}
{/* <ModalCreateUserInfo/> */}