commerce/pages/index.tsx
lytrankieio123 900c3633ed 🐛 bug: style home categories
:%s
2021-08-27 10:21:35 +07:00

34 lines
620 B
TypeScript

import { Layout } from 'src/components/common';
import { HomeCategories } from 'src/components/modules/home';
const dataTest = [{
text: 1
}, {
text: 2
}, {
text: 3
}, {
text: 4
}, {
text: 5
}, {
text: 6
}]
const test = (props: { text: string }) => <div className="h-64 bg-yellow-300">{props.text}</div>
export default function Home() {
return (
<>
{/* <CheckboxCommon defaultChecked={true}></CheckboxCommon>
<Author image={imgAuthor} name="Alessandro Del Piero"></Author>
<DateTime date="april 30,2021"></DateTime>*/}
<HomeCategories />
</>
)
}
Home.Layout = Layout