mirror of
https://github.com/vercel/commerce.git
synced 2025-07-04 12:11:22 +00:00
27 lines
899 B
TypeScript
27 lines
899 B
TypeScript
|
|
import { Banner, 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>
|
|
|
|
{/* <Banner title="test" sub imgLink="https://user-images.githubusercontent.com/76729908/130574371-3b75fa72-9552-4605-aba9-a4b31cd9dce7.png"/> */}
|
|
{/* demo */}
|
|
<div style={{ display: 'flex' }}>
|
|
<Inputcommon placeholder="Enter here" />
|
|
<InputSearch />
|
|
</div>
|
|
<ButtonCommon type='ghost' icon={<IconBuy />}>Button</ButtonCommon>
|
|
<ButtonIconBuy />
|
|
</>
|
|
)
|
|
}
|
|
|
|
Home.Layout = Layout
|