mirror of
https://github.com/vercel/commerce.git
synced 2025-07-19 10:51:23 +00:00
🔧 config: update
This commit is contained in:
parent
585f6a9c9b
commit
6259661977
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,6 +4,7 @@
|
|||||||
node_modules
|
node_modules
|
||||||
/.pnp
|
/.pnp
|
||||||
.pnp.js
|
.pnp.js
|
||||||
|
package-lock.json
|
||||||
|
|
||||||
# testing
|
# testing
|
||||||
/coverage
|
/coverage
|
||||||
|
@ -1,10 +1,34 @@
|
|||||||
|
import React, { MutableRefObject, useRef } from 'react';
|
||||||
import { HeadingCommon } from 'src/components/common'
|
import { HeadingCommon, CollectionHeading, ScrollToTop, ScrollTarget } from 'src/components/common'
|
||||||
|
|
||||||
export default function Home() {
|
export default function Home() {
|
||||||
|
const refScrollUp = useRef() as MutableRefObject<HTMLDivElement>;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<HeadingCommon textAlign="center" />
|
<ScrollTarget refScrollUp={refScrollUp} />
|
||||||
|
<HeadingCommon align="center" children="categories" />
|
||||||
|
<CollectionHeading type="highlight" children="fresh product todays" subtitle="Last call! Shop deep deals on 100+ bulk picks while you can." />
|
||||||
|
<CollectionHeading children="coffee bean" subtitle="Last call! Shop deep deals on 100+ bulk picks while you can." />
|
||||||
|
<CollectionHeading type="highlight" children="fresh product todays" subtitle="Last call! Shop deep deals on 100+ bulk picks while you can." />
|
||||||
|
<CollectionHeading children="coffee bean" subtitle="Last call! Shop deep deals on 100+ bulk picks while you can." />
|
||||||
|
<CollectionHeading type="highlight" children="fresh product todays" subtitle="Last call! Shop deep deals on 100+ bulk picks while you can." />
|
||||||
|
<CollectionHeading children="coffee bean" subtitle="Last call! Shop deep deals on 100+ bulk picks while you can." />
|
||||||
|
<CollectionHeading type="highlight" children="fresh product todays" subtitle="Last call! Shop deep deals on 100+ bulk picks while you can." />
|
||||||
|
<CollectionHeading children="coffee bean" subtitle="Last call! Shop deep deals on 100+ bulk picks while you can." />
|
||||||
|
<CollectionHeading type="highlight" children="fresh product todays" subtitle="Last call! Shop deep deals on 100+ bulk picks while you can." />
|
||||||
|
<CollectionHeading children="coffee bean" subtitle="Last call! Shop deep deals on 100+ bulk picks while you can." />
|
||||||
|
<CollectionHeading type="highlight" children="fresh product todays" subtitle="Last call! Shop deep deals on 100+ bulk picks while you can." />
|
||||||
|
<CollectionHeading children="coffee bean" subtitle="Last call! Shop deep deals on 100+ bulk picks while you can." />
|
||||||
|
<CollectionHeading type="highlight" children="fresh product todays" subtitle="Last call! Shop deep deals on 100+ bulk picks while you can." />
|
||||||
|
<CollectionHeading children="coffee bean" subtitle="Last call! Shop deep deals on 100+ bulk picks while you can." />
|
||||||
|
<CollectionHeading type="highlight" children="fresh product todays" subtitle="Last call! Shop deep deals on 100+ bulk picks while you can." />
|
||||||
|
<CollectionHeading children="coffee bean" subtitle="Last call! Shop deep deals on 100+ bulk picks while you can." />
|
||||||
|
<CollectionHeading type="highlight" children="fresh product todays" subtitle="Last call! Shop deep deals on 100+ bulk picks while you can." />
|
||||||
|
<CollectionHeading children="coffee bean" subtitle="Last call! Shop deep deals on 100+ bulk picks while you can." />
|
||||||
|
<CollectionHeading type="highlight" children="fresh product todays" subtitle="Last call! Shop deep deals on 100+ bulk picks while you can." />
|
||||||
|
<CollectionHeading children="coffee bean" subtitle="Last call! Shop deep deals on 100+ bulk picks while you can." />
|
||||||
|
<ScrollToTop target={refScrollUp} />
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
@ -9,3 +9,6 @@ export { default as ItemWishList} from './ItemWishList/ItemWishList'
|
|||||||
export { default as Logo} from './Logo/Logo'
|
export { default as Logo} from './Logo/Logo'
|
||||||
export { default as Inputcommon} from './InputCommon/InputCommon'
|
export { default as Inputcommon} from './InputCommon/InputCommon'
|
||||||
export { default as HeadingCommon } from './HeadingCommon/HeadingCommon'
|
export { default as HeadingCommon } from './HeadingCommon/HeadingCommon'
|
||||||
|
export { default as CollectionHeading } from './CollectionHeading/CollectionHeading'
|
||||||
|
export { default as ScrollToTop } from './ScrollToTop/ScrollToTop'
|
||||||
|
export { default as ScrollTarget } from './ScrollToTop/ScrollTarget'
|
@ -1 +1,2 @@
|
|||||||
export { default as IconBuy } from './IconBuy'
|
export { default as IconBuy } from './IconBuy'
|
||||||
|
export { default as ArrowUp } from './IconArrowUp'
|
||||||
|
@ -99,4 +99,9 @@
|
|||||||
.font-logo {
|
.font-logo {
|
||||||
font-family: var(--font-logo);
|
font-family: var(--font-logo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.collection-subtitle {
|
||||||
|
font-size: 1.6rem;
|
||||||
|
line-height: 2.4rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -2888,11 +2888,6 @@
|
|||||||
"resolved" "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz"
|
"resolved" "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz"
|
||||||
"version" "1.0.0"
|
"version" "1.0.0"
|
||||||
|
|
||||||
"fsevents@~2.3.1", "fsevents@~2.3.2":
|
|
||||||
"integrity" "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA=="
|
|
||||||
"resolved" "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz"
|
|
||||||
"version" "2.3.2"
|
|
||||||
|
|
||||||
"function-bind@^1.1.1":
|
"function-bind@^1.1.1":
|
||||||
"integrity" "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
|
"integrity" "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
|
||||||
"resolved" "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz"
|
"resolved" "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user