mirror of
https://github.com/vercel/commerce.git
synced 2025-07-03 19:51:22 +00:00
26 lines
736 B
TypeScript
26 lines
736 B
TypeScript
|
|
import { ButtonCommon, ButtonIconBuy, Inputcommon, InputSearch, Layout } from 'src/components/common';
|
|
import { IconBuy } from 'src/components/icons';
|
|
export default function Home() {
|
|
return (
|
|
<>
|
|
<div>This is home page</div>
|
|
<p>Go to <code>pages/index.tsx</code> to get your hand dirty!</p>
|
|
<p>Go to <code>src/components</code> to make your awesome component!</p>
|
|
<p>Go to <code>src/styles</code> to find global styles!</p>
|
|
|
|
|
|
{/* demo */}
|
|
<div style={{ display: 'flex' }}>
|
|
<Inputcommon placeholder="Enter here" />
|
|
<InputSearch/>
|
|
</div>
|
|
|
|
<ButtonCommon type='ghost' icon={<IconBuy />}>Button</ButtonCommon>
|
|
<ButtonIconBuy/>
|
|
</>
|
|
)
|
|
}
|
|
|
|
Home.Layout = Layout
|