mirror of
https://github.com/vercel/commerce.git
synced 2025-07-04 20:21:21 +00:00
34 lines
620 B
TypeScript
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
|