mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
made new hero component
This commit is contained in:
parent
3b7997b442
commit
330e233869
10 changed files with 321 additions and 15 deletions
|
@ -21,6 +21,7 @@ import { usePersistedState } from '~/utils/hooks/usePersistedState';
|
|||
import classNames from 'classnames';
|
||||
import { useFlowLayout } from '~/utils/hooks/flow/useFlowLayout';
|
||||
import { useFlowPagination } from '~/utils/hooks/flow/useFlowPagination';
|
||||
import { FlowSwiperHero } from '~/components/flow/FlowSwiperHero';
|
||||
|
||||
const FlowLayout: FC = () => {
|
||||
const { nodes, heroes, recent, updated, isLoading, search } = useShallowSelect(selectFlow);
|
||||
|
@ -59,7 +60,7 @@ const FlowLayout: FC = () => {
|
|||
<div className={classNames(styles.container, { [styles.fluid]: isFluid })}>
|
||||
<div className={styles.grid}>
|
||||
<div className={styles.hero}>
|
||||
<FlowHero heroes={heroes} />
|
||||
<FlowSwiperHero heroes={heroes} />
|
||||
</div>
|
||||
|
||||
<div className={styles.stamp}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue