1
0
Fork 0
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:
Fedor Katurov 2021-10-07 12:33:17 +07:00
parent 3b7997b442
commit 330e233869
10 changed files with 321 additions and 15 deletions

View file

@ -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}>